resource.h 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. //stamp:0ce5aac06867e556
  2. /*<------------------------------------------------------------------------------------------------->*/
  3. /*该文件由uiresbuilder生成,请不要手动修改*/
  4. /*<------------------------------------------------------------------------------------------------->*/
  5. #pragma once
  6. #include <res.mgr/snamedvalue.h>
  7. #define ROBJ_IN_CPP \
  8. namespace SOUI \
  9. {\
  10. const _R R;\
  11. const _UIRES UIRES;\
  12. }
  13. namespace SOUI
  14. {
  15. class _UIRES{
  16. public:
  17. class _UIDEF{
  18. public:
  19. _UIDEF(){
  20. XML_INIT = _T("UIDEF:XML_INIT");
  21. }
  22. const TCHAR * XML_INIT;
  23. }UIDEF;
  24. class _LAYOUT{
  25. public:
  26. _LAYOUT(){
  27. XML_MAINWND = _T("LAYOUT:XML_MAINWND");
  28. XML_LOGIN = _T("LAYOUT:XML_LOGIN");
  29. tabtype_control = _T("LAYOUT:tabtype_control");
  30. }
  31. const TCHAR * XML_MAINWND;
  32. const TCHAR * XML_LOGIN;
  33. const TCHAR * tabtype_control;
  34. }LAYOUT;
  35. class _values{
  36. public:
  37. _values(){
  38. string = _T("values:string");
  39. color = _T("values:color");
  40. skin = _T("values:skin");
  41. }
  42. const TCHAR * string;
  43. const TCHAR * color;
  44. const TCHAR * skin;
  45. }values;
  46. class _IMG{
  47. public:
  48. _IMG(){
  49. bg_login_png = _T("IMG:bg-login_png");
  50. bg_home_png = _T("IMG:bg-home_png");
  51. bg_user_png = _T("IMG:bg-user_png");
  52. ID_DEF_VSCROLL = _T("IMG:ID_DEF_VSCROLL");
  53. btn_border = _T("IMG:btn-border");
  54. bg_user = _T("IMG:bg-user");
  55. line_2 = _T("IMG:line-2");
  56. user = _T("IMG:user");
  57. password = _T("IMG:password");
  58. tyte_selection = _T("IMG:tyte_selection");
  59. }
  60. const TCHAR * bg_login_png;
  61. const TCHAR * bg_home_png;
  62. const TCHAR * bg_user_png;
  63. const TCHAR * ID_DEF_VSCROLL;
  64. const TCHAR * btn_border;
  65. const TCHAR * bg_user;
  66. const TCHAR * line_2;
  67. const TCHAR * user;
  68. const TCHAR * password;
  69. const TCHAR * tyte_selection;
  70. }IMG;
  71. class _ICON{
  72. public:
  73. _ICON(){
  74. ICON_LOGO = _T("ICON:ICON_LOGO");
  75. }
  76. const TCHAR * ICON_LOGO;
  77. }ICON;
  78. class _SMENU{
  79. public:
  80. _SMENU(){
  81. menu_tray = _T("SMENU:menu_tray");
  82. }
  83. const TCHAR * menu_tray;
  84. }SMENU;
  85. };
  86. const SNamedID::NAMEDVALUE namedXmlID[]={
  87. {L"_name_start",65535},
  88. {L"btn_close",65536},
  89. {L"con",65541},
  90. {L"edit_password",65538},
  91. {L"edit_username",65537},
  92. {L"nodeclass",65540},
  93. {L"onlogin",65539} };
  94. class _R{
  95. public:
  96. class _name{
  97. public:
  98. _name(){
  99. _name_start = namedXmlID[0].strName;
  100. btn_close = namedXmlID[1].strName;
  101. con = namedXmlID[2].strName;
  102. edit_password = namedXmlID[3].strName;
  103. edit_username = namedXmlID[4].strName;
  104. nodeclass = namedXmlID[5].strName;
  105. onlogin = namedXmlID[6].strName;
  106. }
  107. const wchar_t * _name_start;
  108. const wchar_t * btn_close;
  109. const wchar_t * con;
  110. const wchar_t * edit_password;
  111. const wchar_t * edit_username;
  112. const wchar_t * nodeclass;
  113. const wchar_t * onlogin;
  114. }name;
  115. class _id{
  116. public:
  117. const static int _name_start = 65535;
  118. const static int btn_close = 65536;
  119. const static int con = 65541;
  120. const static int edit_password = 65538;
  121. const static int edit_username = 65537;
  122. const static int nodeclass = 65540;
  123. const static int onlogin = 65539;
  124. }id;
  125. class _string{
  126. public:
  127. const static int title = 0;
  128. const static int ver = 1;
  129. }string;
  130. class _color{
  131. public:
  132. const static int blue = 0;
  133. const static int gray = 1;
  134. const static int green = 2;
  135. const static int red = 3;
  136. const static int white = 4;
  137. }color;
  138. };
  139. #ifdef R_IN_CPP
  140. extern const _R R;
  141. extern const _UIRES UIRES;
  142. #else
  143. extern const __declspec(selectany) _R & R = _R();
  144. extern const __declspec(selectany) _UIRES & UIRES = _UIRES();
  145. #endif//R_IN_CPP
  146. }