10#ifndef GUIPROPERTIES__H_
11#define GUIPROPERTIES__H_
15#include "GUISubject.h"
18#include "GUIComponentManager.h"
21#define GETPROPHDL CGUIComponentManager::GetInstance().GetProperties()
41#ifdef GUILIANI_STREAM_GUI
50#ifdef GUILIANI_WRITE_GUI
67 const eC_Int iPropertyValue);
77 const eC_UInt uiPropertyValue);
87 const eC_Float fPropertyValue);
97 const eC_String& rkStr);
107 const eC_Bool bPropertyValue);
221 } GUI_GlobalProperties_t;
250 GUI_GlobalProperties_t* m_pkGUIPropertyTable;
253 eC_UInt m_uiGUIPropertyTableSize;
256 eC_String m_kPropertyFilename;
Helper Macros in Guiliani
GlobalProperty_t
List of property resource ids.
Definition: GUIPropertyResource.h:67
central component-manager
Definition: GUIComponentManager.h:62
GUI base class for any Guiliani application.
Definition: GUI.h:39
Observer Base class for Observer-Design-Pattern within Guiliani.
Definition: GUIObserver.h:28
This class allows for the global customisation of controls without the need to derive specialised obj...
Definition: GUIProperties.h:28
GlobalProperty_t AddDynamicProperty(const CGUIValue &kPropertyValue)
eC_Bool GetGlobalBoolProperty(const GlobalProperty_t ePropertyID) const
void SetGlobalColorProperty(const GlobalProperty_t ePropertyID, const eC_UInt uiPropertyValue)
const eC_String GetGlobalTextProperty(const GlobalProperty_t ePropertyID) const
eC_String GetPropertyFilename() const
void SetGlobalTextProperty(const GlobalProperty_t ePropertyID, const eC_String &rkStr)
void SetGlobalProperty(const GlobalProperty_t ePropertyID, const CGUIValue &kPropertyValue)
static void DeleteInstance()
void SetGlobalFloatProperty(const GlobalProperty_t ePropertyID, const eC_Float fPropertyValue)
static void CreateInstance()
void SetGlobalBoolProperty(const GlobalProperty_t ePropertyID, const eC_Bool bPropertyValue)
void SetGlobalProperty(const GlobalProperty_t ePropertyID, const CGUIValue &kPropertyValue, const CGUIValue::GUIValue_t &eType)
eC_UInt GetNOFProperties() const
void SetGlobalIntegerProperty(const GlobalProperty_t ePropertyID, const eC_Int iPropertyValue)
void ReadGlobalPropertiesFromFile(const eC_String &kPath)
void RemoveDynamicProperty(const GlobalProperty_t eID)
eC_UInt GetGlobalColorProperty(const GlobalProperty_t ePropertyID) const
void RemoveObserver(const GlobalProperty_t ePropertyID, CGUIObserver *pObserver)
void WriteGlobalPropertiesToFile(const eC_String &kPath) const
eC_Float GetGlobalFloatProperty(const GlobalProperty_t ePropertyID) const
const CGUIValue & GetGlobalProperty(const GlobalProperty_t ePropertyID) const
eC_Int GetGlobalIntegerProperty(const GlobalProperty_t ePropertyID) const
Subject Base class for Observer-Design-Pattern within Guiliani.
Definition: GUISubject.h:34
CGUIValue stores a single value in one specific type.
Definition: GUIValue.h:25
GUIValue_t
This enumeration indicates the type (format) of the CGUIValue.
Definition: GUIValue.h:29
void AddObserver(const GlobalProperty_t ePropertyID, CGUIObserver *pObserver)