summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note_base.h
diff options
context:
space:
mode:
authorNil Geisweiller <ngeiswei@gmail.com>2015-11-29 13:57:04 +0200
committerRobin Gareus <robin@gareus.org>2015-12-22 04:52:50 +0100
commit591c9bf0d48643437ee74de99f9a9ae9d8d5a75b (patch)
tree77cbd283da4c716ab25d5d130b13b4879c2ac8ec /gtk2_ardour/note_base.h
parentdffa3861baeb837c41d0c3090923d28089c3e981 (diff)
Fix indentation of note_base (whitespace to tab)
Diffstat (limited to 'gtk2_ardour/note_base.h')
-rw-r--r--gtk2_ardour/note_base.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/note_base.h b/gtk2_ardour/note_base.h
index 1e94e709a3..059aa9dc8f 100644
--- a/gtk2_ardour/note_base.h
+++ b/gtk2_ardour/note_base.h
@@ -59,7 +59,7 @@ class NoteBase : public sigc::trackable
virtual ~NoteBase ();
void set_item (ArdourCanvas::Item *);
- ArdourCanvas::Item* item() const { return _item; }
+ ArdourCanvas::Item* item() const { return _item; }
virtual void show() = 0;
virtual void hide() = 0;
@@ -94,8 +94,8 @@ class NoteBase : public sigc::trackable
virtual ArdourCanvas::Coord x1 () const = 0;
virtual ArdourCanvas::Coord y1 () const = 0;
- float mouse_x_fraction() const { return _mouse_x_fraction; }
- float mouse_y_fraction() const { return _mouse_y_fraction; }
+ float mouse_x_fraction() const { return _mouse_x_fraction; }
+ float mouse_y_fraction() const { return _mouse_y_fraction; }
const boost::shared_ptr<NoteType> note() const { return _note; }
MidiRegionView& region_view() const { return _region; }
@@ -128,8 +128,8 @@ class NoteBase : public sigc::trackable
/// hue circle divided into 16 equal-looking parts, courtesy Thorsten Wilms
static const uint32_t midi_channel_colors[16];
- bool mouse_near_ends () const;
- virtual bool big_enough_to_trim () const;
+ bool mouse_near_ends () const;
+ virtual bool big_enough_to_trim () const;
protected:
enum State { None, Pressed, Dragging };
@@ -143,10 +143,10 @@ protected:
bool _own_note;
bool _selected;
bool _valid;
- float _mouse_x_fraction;
- float _mouse_y_fraction;
+ float _mouse_x_fraction;
+ float _mouse_y_fraction;
- void set_mouse_fractions (GdkEvent*);
+ void set_mouse_fractions (GdkEvent*);
private:
bool event_handler (GdkEvent *);