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

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

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

revision 2840 by schoenebeck, Sun Jan 4 18:36:42 2015 UTC revision 2841 by persson, Sun Aug 30 10:00:49 2015 UTC
# Line 87  protected: Line 87  protected:
87      Gtk::SpinButton spinbutton;      Gtk::SpinButton spinbutton;
88      Gtk::HBox box;      Gtk::HBox box;
89    
90      int round_to_int(double x) {      static int round_to_int(double x) {
91          return int(x < 0.0 ? x - 0.5 : x + 0.5);          return int(x < 0.0 ? x - 0.5 : x + 0.5);
92      }      }
93  public:  public:
# Line 449  private: Line 449  private:
449    
450      void get_key_range(NoteEntry* eKeyRangeLow,      void get_key_range(NoteEntry* eKeyRangeLow,
451                         NoteEntry* eKeyRangeHigh,                         NoteEntry* eKeyRangeHigh,
452                         gig::range_t M::* range) {                         gig::range_t M::* range) const {
453          eKeyRangeLow->set_value((m->*range).low);          eKeyRangeLow->set_value((m->*range).low);
454          eKeyRangeHigh->set_value((m->*range).high);          eKeyRangeHigh->set_value((m->*range).high);
455      }      }

Legend:
Removed from v.2840  
changed lines
  Added in v.2841

  ViewVC Help
Powered by ViewVC