Motoko::ThemeSkin Class Reference

Class with all the skins of a theme. More...

#include <Appearance.h>

List of all members.

Public Member Functions

 ThemeSkin ()
 ThemeSkin (const ThemeSkin &obj)
virtual ThemeSkinoperator= (const ThemeSkin &obj)
 ~ThemeSkin ()
int Load (const char *fileDPF, const char *fileXML="skinconfig.xml")
 Load a theme.
void Free (void)
 Unload the skins.
ControlSkinGetSkin (const char *name)
 Get a pointer to a skin.
const char * GetName (void)
 Get the name of the theme.
void SetName (const char *val)
 Set the name of the theme.


Detailed Description

Class with all the skins of a theme.


Constructor & Destructor Documentation

Motoko::ThemeSkin::ThemeSkin (  ) 

ThemeSkin constructor.

Motoko::ThemeSkin::ThemeSkin ( const ThemeSkin obj  ) 

ThemeSkin copy constructor.

Motoko::ThemeSkin::~ThemeSkin (  ) 

ThemeSkin destructor.


Member Function Documentation

void Motoko::ThemeSkin::Free ( void   ) 

Unload the skins.

See also:
Load().

ControlSkin * Motoko::ThemeSkin::GetSkin ( const char *  name  ) 

Get a pointer to a skin.

Parameters:
name Name of the skin.
Returns:
If no error a pointer to the skin, else NULL.

int Motoko::ThemeSkin::Load ( const char *  fileDPF,
const char *  fileXML = "skinconfig.xml" 
)

Load a theme.

Parameters:
fileDPF File with the theme.
fileXML File with the parameters.
See also:
Free().
Returns:
If no error 0, else an error code.

ThemeSkin & Motoko::ThemeSkin::operator= ( const ThemeSkin obj  )  [virtual]

ThemeSkin operator =.


The documentation for this class was generated from the following files:
Generated on Mon Jul 17 18:33:49 2006 for Motoko by  doxygen 1.4.7