mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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:
parent
eca6c9f998
commit
d59d26b89a
6 changed files with 158 additions and 33 deletions
|
|
@ -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__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue