|
|
@@ -62,32 +62,8 @@ namespace BansheeEngine
|
|
|
class BS_ED_EXPORT WinPlatformInfoRTTI : public RTTIType <WinPlatformInfo, PlatformInfo, WinPlatformInfoRTTI>
|
|
|
{
|
|
|
private:
|
|
|
- HTexture& getIcon16(WinPlatformInfo* obj) { return obj->icon16; }
|
|
|
- void setIcon16(WinPlatformInfo* obj, HTexture& val) { obj->icon16 = val; }
|
|
|
-
|
|
|
- HTexture& getIcon32(WinPlatformInfo* obj) { return obj->icon32; }
|
|
|
- void setIcon32(WinPlatformInfo* obj, HTexture& val) { obj->icon32 = val; }
|
|
|
-
|
|
|
- HTexture& getIcon48(WinPlatformInfo* obj) { return obj->icon48; }
|
|
|
- void setIcon48(WinPlatformInfo* obj, HTexture& val) { obj->icon48 = val; }
|
|
|
-
|
|
|
- HTexture& getIcon64(WinPlatformInfo* obj) { return obj->icon64; }
|
|
|
- void setIcon64(WinPlatformInfo* obj, HTexture& val) { obj->icon64 = val; }
|
|
|
-
|
|
|
- HTexture& getIcon96(WinPlatformInfo* obj) { return obj->icon96; }
|
|
|
- void setIcon96(WinPlatformInfo* obj, HTexture& val) { obj->icon96 = val; }
|
|
|
-
|
|
|
- HTexture& getIcon128(WinPlatformInfo* obj) { return obj->icon128; }
|
|
|
- void setIcon128(WinPlatformInfo* obj, HTexture& val) { obj->icon128 = val; }
|
|
|
-
|
|
|
- HTexture& getIcon192(WinPlatformInfo* obj) { return obj->icon192; }
|
|
|
- void setIcon192(WinPlatformInfo* obj, HTexture& val) { obj->icon192 = val; }
|
|
|
-
|
|
|
- HTexture& getIcon256(WinPlatformInfo* obj) { return obj->icon256; }
|
|
|
- void setIcon256(WinPlatformInfo* obj, HTexture& val) { obj->icon256 = val; }
|
|
|
-
|
|
|
- HTexture& getTaskbarIcon(WinPlatformInfo* obj) { return obj->taskbarIcon; }
|
|
|
- void setTaskbarIcon(WinPlatformInfo* obj, HTexture& val) { obj->taskbarIcon = val; }
|
|
|
+ HTexture& getIcon(WinPlatformInfo* obj) { return obj->icon; }
|
|
|
+ void setIcon(WinPlatformInfo* obj, HTexture& val) { obj->icon = val; }
|
|
|
|
|
|
WString& getTitlebarText(WinPlatformInfo* obj) { return obj->titlebarText; }
|
|
|
void setTitlebarText(WinPlatformInfo* obj, WString& val) { obj->titlebarText = val; }
|
|
|
@@ -95,15 +71,7 @@ namespace BansheeEngine
|
|
|
public:
|
|
|
WinPlatformInfoRTTI()
|
|
|
{
|
|
|
- addReflectableField("icon16", 1, &WinPlatformInfoRTTI::getIcon16, &WinPlatformInfoRTTI::setIcon16);
|
|
|
- addReflectableField("icon32", 2, &WinPlatformInfoRTTI::getIcon32, &WinPlatformInfoRTTI::setIcon32);
|
|
|
- addReflectableField("icon48", 3, &WinPlatformInfoRTTI::getIcon48, &WinPlatformInfoRTTI::setIcon48);
|
|
|
- addReflectableField("icon64", 4, &WinPlatformInfoRTTI::getIcon64, &WinPlatformInfoRTTI::setIcon64);
|
|
|
- addReflectableField("icon96", 5, &WinPlatformInfoRTTI::getIcon96, &WinPlatformInfoRTTI::setIcon96);
|
|
|
- addReflectableField("icon128", 6, &WinPlatformInfoRTTI::getIcon128, &WinPlatformInfoRTTI::setIcon128);
|
|
|
- addReflectableField("icon192", 7, &WinPlatformInfoRTTI::getIcon192, &WinPlatformInfoRTTI::setIcon192);
|
|
|
- addReflectableField("icon256", 8, &WinPlatformInfoRTTI::getIcon256, &WinPlatformInfoRTTI::setIcon256);
|
|
|
- addReflectableField("taskbarIcon", 9, &WinPlatformInfoRTTI::getTaskbarIcon, &WinPlatformInfoRTTI::setTaskbarIcon);
|
|
|
+ addReflectableField("icon", 9, &WinPlatformInfoRTTI::getIcon, &WinPlatformInfoRTTI::setIcon);
|
|
|
addPlainField("titlebarText", 10, &WinPlatformInfoRTTI::getTitlebarText, &WinPlatformInfoRTTI::setTitlebarText);
|
|
|
}
|
|
|
|