#include "precompiled.h"
#include "GUI.h"
#include "GUIManager.h"
#include "maths/Matrix3D.h"
#include "ps/Parser.h"
#include "ps/CLogger.h"
#include "GUItypes.h"
Go to the source code of this file.
|
template<> |
bool | __ParseString< bool > (const CStrW &Value, bool &Output) |
|
template<> |
bool | __ParseString< int > (const CStrW &Value, int &Output) |
|
template<> |
bool | __ParseString< float > (const CStrW &Value, float &Output) |
|
template<> |
bool | __ParseString< CRect > (const CStrW &Value, CRect &Output) |
|
template<> |
bool | __ParseString< CClientArea > (const CStrW &Value, CClientArea &Output) |
|
template<> |
bool | __ParseString< CColor > (const CStrW &Value, CColor &Output) |
|
template<> |
bool | __ParseString< CSize > (const CStrW &Value, CSize &Output) |
|
template<> |
bool | __ParseString< CPos > (const CStrW &Value, CPos &Output) |
|
template<> |
bool | __ParseString< EAlign > (const CStrW &Value, EAlign &Output) |
|
template<> |
bool | __ParseString< EVAlign > (const CStrW &Value, EVAlign &Output) |
|
template<> |
bool | __ParseString< CGUIString > (const CStrW &Value, CGUIString &Output) |
|
template<> |
bool | __ParseString< CStr > (const CStrW &Value, CStr &Output) |
|
template<> |
bool | __ParseString< CStrW > (const CStrW &Value, CStrW &Output) |
|
template<> |
bool | __ParseString< CGUISpriteInstance > (const CStrW &Value, CGUISpriteInstance &Output) |
|
template<> |
bool | __ParseString< CGUIList > (const CStrW &Value, CGUIList &Output) |
|
CMatrix3D | GetDefaultGuiMatrix () |
|
template<typename T > |
bool | IsBoolTrue (const T &) |
|
template<> |
bool | IsBoolTrue< bool > (const bool &v) |
|
#define GUITYPE_IGNORE_CGUISpriteInstance |
Value:template<>
void CheckType<T>(
const IGUIObject* obj,
const CStr& setting) { \
std::map<CStr, SGUISetting>::const_iterator it = obj->m_Settings.find(setting); \
if (it == obj->m_Settings.end() || it->second.m_Type != GUIST_##
T) \
{ \
} \
}
Base settings, all objects possess these settings in their m_BaseSettings Instructions can be found i...
#define T(string_literal)
#define DEBUG_DISPLAY_ERROR(description)
Definition at line 413 of file GUIutil.cpp.
Value:
static PSRETURN GetSetting(const IGUIObject *pObject, const CStr &Setting, T &Value)
Retrieves a setting by name from object pointer.
Base settings, all objects possess these settings in their m_BaseSettings Instructions can be found i...
#define T(string_literal)
static PSRETURN SetSetting(IGUIObject *pObject, const CStr &Setting, const T &Value, const bool &SkipMessage=false)
Sets a value by name using a real datatype as input.
static PSRETURN GetSettingPointer(const IGUIObject *pObject, const CStr &Setting, T *&Value)
Definition at line 413 of file GUIutil.cpp.
template<>
bool __ParseString< bool > |
( |
const CStrW & |
Value, |
|
|
bool & |
Output |
|
) |
| |
template<>
bool __ParseString< CStr > |
( |
const CStrW & |
Value, |
|
|
CStr & |
Output |
|
) |
| |
template<>
bool __ParseString< CStrW > |
( |
const CStrW & |
Value, |
|
|
CStrW & |
Output |
|
) |
| |
template<>
bool __ParseString< float > |
( |
const CStrW & |
Value, |
|
|
float & |
Output |
|
) |
| |
template<typename T >
bool IsBoolTrue |
( |
const T & |
| ) |
|