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
|
|
@ -76,8 +76,8 @@ bool key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev);
|
|||
bool emulate_key_event (Gtk::Widget*, unsigned int);
|
||||
|
||||
Glib::RefPtr<Gdk::Pixbuf> get_xpm (std::string);
|
||||
std::string get_icon_path (const char*);
|
||||
Glib::RefPtr<Gdk::Pixbuf> get_icon (const char*);
|
||||
std::string get_icon_path (const char*, std::string icon_set = std::string());
|
||||
Glib::RefPtr<Gdk::Pixbuf> get_icon (const char*, std::string icon_set = std::string());
|
||||
static std::map<std::string, Glib::RefPtr<Gdk::Pixbuf> > xpm_map;
|
||||
const char* const *get_xpm_data (std::string path);
|
||||
std::string longest (std::vector<std::string>&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue