#include <iconmanager.h>
Public Member Functions | |
bool | create_from_file (const Glib::ustring &file) |
Create icons sets from file. | |
Gtk::StockID | lookup_from_set (const Glib::ustring &str) |
Look up a stock ID based on icon set string. | |
Private Member Functions | |
void | create_icon_sets (const IconMap &icons) |
Create complete icon sets for given icons. | |
Private Attributes | |
SetMap | m_DefaultSets |
Default icon sets. |
Since the editor uses a set of custom icons, this class is needed to simplify handling the stock IDs and looking up specific icons.
bool IconManager::create_from_file | ( | const Glib::ustring & | file | ) |
Create icons sets from file.
file | The path to the resource file |
Gtk::StockID IconManager::lookup_from_set | ( | const Glib::ustring & | str | ) |
Look up a stock ID based on icon set string.
str | ID of a particular icons set |
void IconManager::create_icon_sets | ( | const IconMap & | icons | ) | [private] |
Create complete icon sets for given icons.
icons | The map of icons to generate a set for |