Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXIconDict Class Reference

Icon dictionary. More...

#include <FXFileDict.h>

Inheritance diagram for FX::FXIconDict:

FX::FXDict FX::FXObject List of all members.

Public Member Functions

 FXIconDict (FXApp *a, const FXString &p=defaultIconPath)
FXAppgetApp () const
void setIconPath (const FXString &p)
FXString getIconPath () const
FXIconinsert (const FXchar *name)
FXIconremove (const FXchar *name)
FXIconfind (const FXchar *name)
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXIconDict ()

Static Public Attributes

const FXchar defaultIconPath []

Detailed Description

Icon dictionary.


Constructor & Destructor Documentation

FX::FXIconDict::FXIconDict FXApp a,
const FXString p = defaultIconPath
 

Construct an icon dictionary, with given path.

virtual FX::FXIconDict::~FXIconDict  )  [virtual]
 

Destructor.


Member Function Documentation

FXApp* FX::FXIconDict::getApp  )  const [inline]
 

Get application.

void FX::FXIconDict::setIconPath const FXString p  )  [inline]
 

Set icon search path.

FXString FX::FXIconDict::getIconPath  )  const [inline]
 

Return current icon search path.

FXIcon* FX::FXIconDict::insert const FXchar *  name  )  [inline]
 

Insert unique icon loaded from filename into dictionary.

FXIcon* FX::FXIconDict::remove const FXchar *  name  )  [inline]
 

Remove icon from dictionary.

Reimplemented from FX::FXDict.

FXIcon* FX::FXIconDict::find const FXchar *  name  )  [inline]
 

Find icon by name.

virtual void FX::FXIconDict::save FXStream store  )  const [virtual]
 

Save to stream.

Reimplemented from FX::FXObject.

virtual void FX::FXIconDict::load FXStream store  )  [virtual]
 

Load from stream.

Reimplemented from FX::FXObject.


Member Data Documentation

const FXchar FX::FXIconDict::defaultIconPath[] [static]
 

Default icon search path.

Copyright © 1997-2004 Jeroen van der Zijp