Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/GUItypes.h
Show All 19 Lines | |||||
for a variety of types (to avoid repeating the list of types in half a dozen | for a variety of types (to avoid repeating the list of types in half a dozen | ||||
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. | ||||
*/ | */ | ||||
#ifndef GUITYPE_IGNORE_COPYABLE | |||||
TYPE(bool) | TYPE(bool) | ||||
TYPE(i32) | TYPE(i32) | ||||
TYPE(u32) | TYPE(u32) | ||||
TYPE(float) | TYPE(float) | ||||
TYPE(CGUIColor) | TYPE(CGUIColor) | ||||
TYPE(CClientArea) | |||||
TYPE(CGUIString) | |||||
#ifndef GUITYPE_IGNORE_CGUISpriteInstance | |||||
TYPE(CGUISpriteInstance) | |||||
#endif | |||||
TYPE(CStr) | TYPE(CStr) | ||||
TYPE(CStrW) | TYPE(CStrW) | ||||
TYPE(EAlign) | TYPE(EAlign) | ||||
TYPE(EVAlign) | TYPE(EVAlign) | ||||
TYPE(CPos) | TYPE(CPos) | ||||
#endif | |||||
#ifndef GUITYPE_IGNORE_NONCOPYABLE | |||||
TYPE(CClientArea) | |||||
TYPE(CGUIList) | TYPE(CGUIList) | ||||
TYPE(CGUISeries) | TYPE(CGUISeries) | ||||
TYPE(CGUISpriteInstance) | |||||
TYPE(CGUIString) | |||||
#endif |
Wildfire Games · Phabricator