MGUI::CUSTOMUI Class Reference

Class to contain custom settings for current application. More...

#include <mgui/customui.h>

List of all members.

Public Member Functions

 ~CUSTOMUI ()

Static Public Member Functions

bool IsComponentEnabled (ICID icid)
void RegisterWidget (Widget w, ICID icid)
void SetComponentEnabled (ICID icid, bool enabled)
void SetFileDefault (bool reread)
ERRVALUE SetFilePath (const FILEPATH &filepath, bool reread)
ERRVALUE WriteSettings ()


Detailed Description

Class to contain custom settings for current application.

Definition at line 36 of file customui.h.


Constructor & Destructor Documentation

MGUI::CUSTOMUI::~CUSTOMUI  ) 
 

Destructor.


Member Function Documentation

bool MGUI::CUSTOMUI::IsComponentEnabled ICID  icid  )  [static]
 

Determine if specified component is "enabled".

Parameters:
icid  Interface component ID

void MGUI::CUSTOMUI::RegisterWidget Widget  w,
ICID  icid
[static]
 

Register widget for dynamic customization (X only).

void MGUI::CUSTOMUI::SetComponentEnabled ICID  icid,
bool  enabled
[static]
 

Set whether component enabled.

Parameters:
icid  Interface component ID
enabled  State to set

void MGUI::CUSTOMUI::SetFileDefault bool  reread  )  [static]
 

Set to use standard default files.

This will re-read the settings if necessary and update controls.

ERRVALUE MGUI::CUSTOMUI::SetFilePath const FILEPATH filepath,
bool  reread
[static]
 

Set to use specified file for settings.

This will read the settings if necessary and update controls. If file does not exist no settings will be changed. Settings may be subsequently written to the specified file using WriteSettings().

ERRVALUE MGUI::CUSTOMUI::WriteSettings  )  [static]
 

Write settings to current 'user' file if necessary.


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:29:52 2006 for TNTsdk by  doxygen 1.3.8-20040913