/*
- Copyright (C) 2008 Paul Davis
+ Copyright (C) 2008 Paul Davis
+ Author: Audan Holland ??
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Color();
Color(double _r, double _g, double _b);
inline void set(const Color& c);
-
+
double r;
double g;
double b;
};
+ sigc::signal<void,uint8_t> AddNoteSelection;
+ sigc::signal<void,uint8_t> ToggleNoteSelection;
+ sigc::signal<void,uint8_t> ExtendNoteSelection;
+
private:
static Color white;
static Color white_highlight;
void send_note_on(uint8_t note);
void send_note_off(uint8_t note);
+ void reset_clicked_note(uint8_t, bool invalidate = true);
+
MidiStreamView& _view;
uint8_t _event[3];
uint8_t _clicked_note;
double _grab_y;
bool _dragging;
-
+
double _note_height;
double _black_note_width;
};