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

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

Detailed Description

Class to contain custom settings for current application.


Constructor & Destructor Documentation

MGUI::CUSTOMUI::~CUSTOMUI (  ) 

Destructor.


Member Function Documentation

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

Determine if specified component is "enabled".

Parameters:
icid Interface component ID
static void MGUI::CUSTOMUI::RegisterWidget ( Widget  w,
ICID  icid 
) [static]

Register widget for dynamic customization (X only).

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

Set whether component enabled.

Parameters:
icid Interface component ID
enabled State to set
static void MGUI::CUSTOMUI::SetFileDefault ( bool  reread  )  [static]

Set to use standard default files.

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

static 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().

static 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 Sun Oct 7 21:35:40 2012 for TNTsdk 2012 by  doxygen 1.6.1