IconManager Class Reference

Class that is responsible for managing custom icons. More...

#include <iconmanager.h>

List of all members.

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.


Detailed Description

Class that is responsible for managing custom icons.

Since the editor uses a set of custom icons, this class is needed to simplify handling the stock IDs and looking up specific icons.


Member Function Documentation

bool IconManager::create_from_file ( const Glib::ustring &  file  ) 

Create icons sets from file.

Parameters:
file The path to the resource file
Returns:
true if there were no errors, false otherwise

Gtk::StockID IconManager::lookup_from_set ( const Glib::ustring &  str  ) 

Look up a stock ID based on icon set string.

Parameters:
str ID of a particular icons set
Returns:
The stock ID of that icon

void IconManager::create_icon_sets ( const IconMap &  icons  )  [private]

Create complete icon sets for given icons.

Parameters:
icons The map of icons to generate a set for


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:18 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3