Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::gui::laf::chameleon::ChameleonLaF Class Reference

Inheritance diagram for ONE::gui::laf::chameleon::ChameleonLaF:

Inheritance graph
[legend]
List of all members.

Detailed Description

the main C7n LaF class

See the ONE::gui::laf::chameleon namespace documentation for details.

Author:
Daniel Seibert


Public Member Functions

 ChameleonLaF (const std::string &path, const std::string &file)
std::string getName () const
 accesses the LaF's name
void install (GuiManager *gm)
 installs the LaF specific rules with the GuiManager.
 ~ChameleonLaF ()


Constructor & Destructor Documentation

ONE::gui::laf::chameleon::ChameleonLaF::ChameleonLaF const std::string &  path,
const std::string &  file
 

Parameters:
path the path to the directory that contains the theme and texture files
file the theme file name so that path+file makes the full path to the theme file

ONE::gui::laf::chameleon::ChameleonLaF::~ChameleonLaF  ) 
 


Member Function Documentation

std::string ONE::gui::laf::chameleon::ChameleonLaF::getName  )  const [virtual]
 

accesses the LaF's name

This function is intended for applications that allow LaF switching via GUI widgets. The name given to the LaF should be short and descriptive.

Returns:
the LaF's name

Implements ONE::gui::LookAndFeel.

void ONE::gui::laf::chameleon::ChameleonLaF::install GuiManager gm  )  [virtual]
 

installs the LaF specific rules with the GuiManager.

This function is invoked by the gui manager when GuiManager::setLookAndFeel() is called. It should not be called manually. Note that the LaF implementation is responsible for deleting all simple pointers installed in the GuiManager.

Parameters:
gm the gui manager

Implements ONE::gui::LookAndFeel.


Generated on Wed Sep 7 19:03:22 2005 for ONEngine by  doxygen 1.4.3