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

This commit is contained in:
Paul Davis 2014-06-10 12:38:31 -04:00
parent eca6c9f998
commit d59d26b89a
6 changed files with 158 additions and 33 deletions

View file

@ -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__ */