diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 12:38:31 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-10 14:39:28 -0400 |
commit | d59d26b89a875d226e8d7405d75c17c331fc6a0a (patch) | |
tree | 5eeee798eb68549dbf70da5a43c8f8a2acc0e0cd /gtk2_ardour/mouse_cursors.h | |
parent | eca6c9f998feb70c606577f33446c907e0749c73 (diff) |
change ::get_icon_path() and ::get_icon() to accept an "icon set" name to provide ability to use different sets of icons; use when creating MouseCursors
Diffstat (limited to 'gtk2_ardour/mouse_cursors.h')
-rw-r--r-- | gtk2_ardour/mouse_cursors.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/mouse_cursors.h b/gtk2_ardour/mouse_cursors.h index bf93e1ad78..a6b54b62a5 100644 --- a/gtk2_ardour/mouse_cursors.h +++ b/gtk2_ardour/mouse_cursors.h @@ -30,6 +30,9 @@ class MouseCursors public: MouseCursors (); + void set_cursor_set (const std::string& name); + std::string cursor_set() const { return _cursor_set; } + Gdk::Cursor* cross_hair; Gdk::Cursor* trimmer; Gdk::Cursor* right_side_trim; @@ -66,6 +69,11 @@ public: Gdk::Cursor* move; Gdk::Cursor* expand_left_right; Gdk::Cursor* expand_up_down; + + private: + std::string _cursor_set; + void drop_all (); + }; #endif /* __gtk2_ardour_mouse_cursors__ */ |