mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
add extra (default-ed) argument to ::get_icon_path() to allow it to be used to look for icon-related but non-image files
This commit is contained in:
parent
9b1cd13706
commit
233d2e8530
2 changed files with 7 additions and 4 deletions
|
|
@ -80,7 +80,7 @@ bool emulate_key_event (Gtk::Widget*, unsigned int);
|
|||
|
||||
Glib::RefPtr<Gdk::Pixbuf> get_xpm (std::string);
|
||||
std::vector<std::string> get_icon_sets ();
|
||||
std::string get_icon_path (const char*, std::string icon_set = std::string());
|
||||
std::string get_icon_path (const char*, std::string icon_set = std::string(), bool is_image = true);
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue