Class to contain custom settings for current application. More...
#include <mgui/customui.h>
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 () |
Class to contain custom settings for current application.
| MGUI::CUSTOMUI::~CUSTOMUI | ( | ) |
Destructor.
| static bool MGUI::CUSTOMUI::IsComponentEnabled | ( | ICID | icid | ) | [static] |
Determine if specified component is "enabled".
| icid | Interface component ID |
Register widget for dynamic customization (X only).
| static void MGUI::CUSTOMUI::SetComponentEnabled | ( | ICID | icid, | |
| bool | enabled | |||
| ) | [static] |
Set whether component enabled.
| 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.
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.
1.6.1