projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow to send immediate PC messages without closing the dialog.
[ardour.git]
/
gtk2_ardour
/
editor_cursors.h
diff --git
a/gtk2_ardour/editor_cursors.h
b/gtk2_ardour/editor_cursors.h
index 50958d1ac02235ca5745cd189f38a98f501d6b59..f6d4997690d42d7be8ddb6bc3a8e6ef9155d43a3 100644
(file)
--- a/
gtk2_ardour/editor_cursors.h
+++ b/
gtk2_ardour/editor_cursors.h
@@
-17,6
+17,9
@@
*/
*/
+#ifndef __gtk_ardour_editor_cursors_h__
+#define __gtk_ardour_editor_cursors_h__
+
#include "pbd/signals.h"
#include "ardour/types.h"
#include "pbd/signals.h"
#include "ardour/types.h"
@@
-26,17
+29,19
@@
class Editor;
class Editor;
-class EditorCursor {
- public:
- EditorCursor (Editor&, bool (Editor::*)(GdkEvent*,ArdourCanvas::Item*));
- ~EditorCursor ();
+class EditorCursor
+{
+public:
+ EditorCursor (Editor&, bool (Editor::*)(GdkEvent*,ArdourCanvas::Item*));
+ EditorCursor (Editor&);
+ ~EditorCursor ();
void set_position (framepos_t);
void show ();
void hide ();
void set_position (framepos_t);
void show ();
void hide ();
- void set_color (
ArdourCanvas
::Color);
+ void set_color (
Gtkmm2ext
::Color);
void set_sensitive (bool);
framepos_t current_frame () const {
void set_sensitive (bool);
framepos_t current_frame () const {
@@
-49,9
+54,10
@@
class EditorCursor {
PBD::Signal1<void, framepos_t> PositionChanged;
PBD::Signal1<void, framepos_t> PositionChanged;
- private:
+private:
Editor& _editor;
ArdourCanvas::Arrow* _track_canvas_item;
framepos_t _current_frame;
Editor& _editor;
ArdourCanvas::Arrow* _track_canvas_item;
framepos_t _current_frame;
- double _length;
};
};
+
+#endif // __gtk_ardour_editor_cursors_h__