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

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

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

revision 2246 by persson, Fri Aug 19 10:55:41 2011 UTC revision 2841 by persson, Sun Aug 30 10:00:49 2015 UTC
# Line 1  Line 1 
1  /*                                                         -*- c++ -*-  /*                                                         -*- c++ -*-
2   * Copyright (C) 2006-2011 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 47  public: Line 47  public:
47      void update(gig::Instrument* instrument);      void update(gig::Instrument* instrument);
48      gig::Region* first();      gig::Region* first();
49      gig::Region* next();      gig::Region* next();
50      bool operator() (gig::Region* x, gig::Region* y) {      bool operator() (gig::Region* x, gig::Region* y) const {
51          return x->KeyRange.low < y->KeyRange.low;          return x->KeyRange.low < y->KeyRange.low;
52      }      }
53  };  };
# Line 73  public: Line 73  public:
73      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();      sigc::signal<void, int/*key*/, int/*velocity*/>& signal_keyboard_key_released();
74    
75      gig::Region* get_region() { return region; }      gig::Region* get_region() { return region; }
76        void set_region(gig::Region* region);
77    
78      void on_note_on_event(int key, int velocity);      void on_note_on_event(int key, int velocity);
79      void on_note_off_event(int key, int velocity);      void on_note_off_event(int key, int velocity);

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

  ViewVC Help
Powered by ViewVC