Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/GUItypes.h
Show All 20 Lines | |||||
places, and to make it much easier to add a new type). Just do | places, and to make it much easier to add a new type). Just do | ||||
#define TYPE(T) your_code_involving_T; | #define TYPE(T) your_code_involving_T; | ||||
#include "GUItypes.h" | #include "GUItypes.h" | ||||
#undef TYPE | #undef TYPE | ||||
to handle every possible type. | to handle every possible type. | ||||
*/ | */ | ||||
TYPE(bool) | TYPE(bool) | ||||
TYPE(int) | TYPE(i32) | ||||
TYPE(uint) | TYPE(u32) | ||||
TYPE(float) | TYPE(float) | ||||
TYPE(CGUIColor) | TYPE(CGUIColor) | ||||
TYPE(CClientArea) | TYPE(CClientArea) | ||||
TYPE(CGUIString) | TYPE(CGUIString) | ||||
#ifndef GUITYPE_IGNORE_CGUISpriteInstance | #ifndef GUITYPE_IGNORE_CGUISpriteInstance | ||||
TYPE(CGUISpriteInstance) | TYPE(CGUISpriteInstance) | ||||
#endif | #endif | ||||
TYPE(CStr) | TYPE(CStr) | ||||
TYPE(CStrW) | TYPE(CStrW) | ||||
TYPE(EAlign) | TYPE(EAlign) | ||||
TYPE(EVAlign) | TYPE(EVAlign) | ||||
TYPE(CPos) | TYPE(CPos) | ||||
TYPE(CGUIList) | TYPE(CGUIList) | ||||
TYPE(CGUISeries) | TYPE(CGUISeries) |
Wildfire Games · Phabricator