/[svn]/gigedit/trunk/src/gigedit/dimregionedit.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/dimregionedit.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2392 by persson, Mon Jan 7 20:41:16 2013 UTC revision 2690 by schoenebeck, Sun Jan 4 18:36:42 2015 UTC
# Line 1  Line 1 
1  /*                                                         -*- c++ -*-  /*                                                         -*- c++ -*-
2   * Copyright (C) 2006-2013 Andreas Persson   * Copyright (C) 2006-2015 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 22  Line 22 
22    
23  #include <gig.h>  #include <gig.h>
24    
25    #include <cairomm/context.h>
26  #include <gtkmm/drawingarea.h>  #include <gtkmm/drawingarea.h>
27  #include <gtkmm/entry.h>  #include <gtkmm/entry.h>
28  #include <gtkmm/label.h>  #include <gtkmm/label.h>
# Line 63  protected: Line 64  protected:
64    
65  private:  private:
66      gig::DimensionRegion* dimreg;      gig::DimensionRegion* dimreg;
67        void draw_one_curve(const Cairo::RefPtr<Cairo::Context>& cr,
68                            const gig::DimensionRegion* d,
69                            bool sensitive);
70  };  };
71    
72  class DimRegionEdit : public Gtk::Notebook  class DimRegionEdit : public Gtk::Notebook
# Line 71  public: Line 75  public:
75      DimRegionEdit();      DimRegionEdit();
76      virtual ~DimRegionEdit();      virtual ~DimRegionEdit();
77      void set_dim_region(gig::DimensionRegion* d);      void set_dim_region(gig::DimensionRegion* d);
78      bool set_sample(gig::Sample* sample);      bool set_sample(gig::Sample* sample, bool copy_sample_unity, bool copy_sample_tune, bool copy_sample_loop);
79      Gtk::Entry* wSample;      Gtk::Entry* wSample;
80      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_to_be_changed();      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_to_be_changed();
81      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_changed();      sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_changed();
# Line 179  protected: Line 183  protected:
183      BoolEntry eMSDecode;      BoolEntry eMSDecode;
184      NumEntryTemp<uint16_t> eSampleStartOffset;      NumEntryTemp<uint16_t> eSampleStartOffset;
185      NoteEntry eUnityNote;      NoteEntry eUnityNote;
186        ReadOnlyLabelWidget eSampleFormatInfo;
187        ReadOnlyLabelWidget eSampleID;
188      NumEntryTemp<int16_t> eFineTune;      NumEntryTemp<int16_t> eFineTune;
189      NumEntryGain eGain;      NumEntryGain eGain;
190      BoolEntryPlus6 eGainPlus6;      BoolEntryPlus6 eGainPlus6;

Legend:
Removed from v.2392  
changed lines
  Added in v.2690

  ViewVC Help
Powered by ViewVC