37 typedef FXDictionaryOf<FXIcon> FXIconDictionary;
68 static const FXchar defaultIconPath[];
94 FXIcon* insert(
const FXchar* name);
106 void remove(
const FXchar* name);
115 virtual void save(
FXStream& store)
const;
An icon source is a class that loads an icon of any type.
Definition: FXIconSource.h:47
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
FXchar * text()
Get text contents as pointer.
Definition: FXString.h:119
FXApp * getApp() const
Get application.
Definition: FXIconCache.h:79
FXIcon * find(const FXchar *name) const
Find icon by name, return NULL if no icon found in cache.
Definition: FXIconCache.h:100
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
TYPE *& at(const FXchar *ky)
Return reference to slot assocated with given key.
Definition: FXDictionaryOf.h:47
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
const FXString & getIconPath() const
Return the current icon search paths.
Definition: FXIconCache.h:91
void setIconPath(const FXString &p)
Set the icon search paths.
Definition: FXIconCache.h:88
void setIconSource(FXIconSource *src)
Change icon source.
Definition: FXIconCache.h:82
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
FXIcon * insert(const FXString &name)
Insert icon into cache, load it from file if not already cached.
Definition: FXIconCache.h:97
The Icon Cache manages a collection of icons.
Definition: FXIconCache.h:53
FXIcon * find(const FXString &name) const
Find icon by name, return NULL if no icon found in cache.
Definition: FXIconCache.h:103
FXIconSource * getIconSource() const
Return icon source.
Definition: FXIconCache.h:85
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42