TV_IDM_VersionMenu.c 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_VersionMenu.c
  4. * @brief menu resource
  5. * Generator Version 6.3.1.2
  6. * Source File Name and Date
  7. *
  8. *
  9. * @note Copyright (c) 2016-2018, T1 Technologies Inc., Taiwan Branch.
  10. * All rights reserved.
  11. *
  12. * This software is copyrighted by and is the property of T1 Technologies
  13. * Inc., Taiwan Branch. All rights are reserved by T1 Technologies Inc.,
  14. * Taiwan Branch. This software may only be used in accordance with the
  15. * corresponding license agreement. Any unauthorized use, duplication,
  16. * distribution, or disclosure of this software is expressly forbidden.
  17. *
  18. * This Copyright notice MUST not be removed or modified without prior
  19. * written consent of T1 Technologies Inc., Taiwan Branch.
  20. *
  21. * T1 Technologies Inc., Taiwan Branch. reserves the right to modify this
  22. * software without notice.
  23. *
  24. * T1 Technologies Inc., Taiwan Branch.
  25. * Rm.8, 6F., No.1, Taiyuan 2nd St., Zhubei City, Hsinchu County 302,
  26. * Taiwan, R.O.C.
  27. *
  28. ***************************************************************/
  29. #include "gui_eng/gui_engine.h"
  30. #include "TV_icon_info.h"
  31. #include "TV_color_info.h"
  32. #include "TV_bitmap_config.h"
  33. #include "TV_strid.h"
  34. #include "TV_IDM_VersionMenu.h"
  35. #include "TV_font_style_define.h"
  36. list_color_t TV_IDC_ListView_Version_SW_listcolor =
  37. {
  38. {213,213,213,0}, /* Bg color for odd items */
  39. {234,234,234,0}, /* Bg color for even items */
  40. {213,213,213,0}, /* Bg color for the focused item */
  41. {234,234,234,0} /* Bg color for the clicked item */
  42. };
  43. listview_t TV_IDC_ListView_Version_SW =
  44. {
  45. &TV_IDC_ListView_Version_SW_listcolor,
  46. ICON_ID_INVALID, /* Icon to show on the focused item */
  47. ICON_ID_INVALID, /* Icon to show on the clicked item */
  48. 0, /* Side size */
  49. {446, 195, 320, 47}, /* First item pos */
  50. {446,195,120,20}, /* Focus color pos */
  51. {508,195,58,20}, /* Focus icon pos */
  52. {446,195,320,47}, /*Position of the text*/
  53. 0, /* Offset related */
  54. &TV_TextColor_69, /* Fg color */
  55. NULL, /* Fg string id */
  56. NULL, /* Dynamic string text */
  57. 0, /* Space */
  58. 5, /* Page item count */
  59. 0, /* Total item count */
  60. 0, /* First list index */
  61. 0, /* Focused item index */
  62. 0, /* Click item index */
  63. 0, /* Fix Char Width */
  64. NULL, /* Marrquee */
  65. NULL, /* Disabled items */
  66. };
  67. btn_text_t TV_IDC_Button_Version_Line = {
  68. {774,150,8,370}, /* Positon of the button */
  69. &TV_BgColor_60, /* Bg color */
  70. NULL, /* Bg icon */
  71. 0, /* Side size */
  72. 0, /* Fix Char Width */
  73. &TV_TextColor_79, /* Text Color */
  74. {774,150,8,370}, /*Position of the text*/
  75. STRING_ID_INVALID, /* Fg string id */
  76. NULL /* Marrquee */
  77. };
  78. text_box_t TV_IDC_TextBox_BoardName =
  79. {
  80. 0, /* Language name */
  81. &TV_BgColor_61, /* Bg color */
  82. &TV_TextColor_80, /* Text Color */
  83. {800,195,320,47}, /*Position of the text*/
  84. STRING_ID_INVALID, /* Fg string id */
  85. NULL, /* String */
  86. NULL, /* Marrquee */
  87. 0 /* Fix Char Width */
  88. };
  89. text_box_t TV_IDC_TextBox_PanelName =
  90. {
  91. 0, /* Language name */
  92. &TV_BgColor_62, /* Bg color */
  93. &TV_TextColor_80, /* Text Color */
  94. {800,242,320,47}, /*Position of the text*/
  95. STRING_ID_INVALID, /* Fg string id */
  96. NULL, /* String */
  97. NULL, /* Marrquee */
  98. 0 /* Fix Char Width */
  99. };
  100. text_box_t TV_IDC_TextBox_BuildDate =
  101. {
  102. 0, /* Language name */
  103. &TV_BgColor_63, /* Bg color */
  104. &TV_TextColor_80, /* Text Color */
  105. {800,289,320,47}, /*Position of the text*/
  106. STRING_ID_INVALID, /* Fg string id */
  107. NULL, /* String */
  108. NULL, /* Marrquee */
  109. 0 /* Fix Char Width */
  110. };
  111. text_box_t TV_IDC_TextBox_BuildTime =
  112. {
  113. 0, /* Language name */
  114. &TV_BgColor_62, /* Bg color */
  115. &TV_TextColor_80, /* Text Color */
  116. {800,337,320,46}, /*Position of the text*/
  117. STRING_ID_INVALID, /* Fg string id */
  118. NULL, /* String */
  119. NULL, /* Marrquee */
  120. 0 /* Fix Char Width */
  121. };
  122. text_box_t TV_IDC_TextBox_SWVersion =
  123. {
  124. 0, /* Language name */
  125. &TV_BgColor_63, /* Bg color */
  126. &TV_TextColor_80, /* Text Color */
  127. {800,383,320,47}, /*Position of the text*/
  128. STRING_ID_INVALID, /* Fg string id */
  129. NULL, /* String */
  130. NULL, /* Marrquee */
  131. 0 /* Fix Char Width */
  132. };
  133. /* window controls */
  134. WinControl_t TV_IDM_VersionMenu_control[] = {
  135. {
  136. NULL, /* Handle to the control */
  137. CLASS_LISTVIEW, /* Type of the control */
  138. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  139. 0, /* Particular Style of the widget */
  140. STATE_FOCUSED, /* State of the control */
  141. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  142. 446, /* Start X position of the control */
  143. 195, /* Start Y position of the control */
  144. 320, /* Width of the control */
  145. 237, /* Height of the control */
  146. 255, /* Region index */
  147. (PVOID)&TV_IDC_ListView_Version_SW, /* Pointer to its specific param */
  148. NULL, /* Pointer to a child control list */
  149. },
  150. {
  151. NULL, /* Handle to the control */
  152. CLASS_BUTTON, /* Type of the control */
  153. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  154. S_BTN_TEXT, /* Particular Style of the widget */
  155. STATE_NORMAL, /* State of the control */
  156. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  157. 774, /* Start X position of the control */
  158. 150, /* Start Y position of the control */
  159. 8, /* Width of the control */
  160. 370, /* Height of the control */
  161. 255, /* Region index */
  162. (PVOID)&TV_IDC_Button_Version_Line, /* Pointer to its specific param */
  163. NULL, /* Pointer to a child control list */
  164. },
  165. {
  166. NULL, /* Handle to the control */
  167. CLASS_TEXT, /* Type of the control */
  168. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  169. 0, /* Particular Style of the widget */
  170. STATE_NORMAL, /* State of the control */
  171. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  172. 800, /* Start X position of the control */
  173. 195, /* Start Y position of the control */
  174. 320, /* Width of the control */
  175. 47, /* Height of the control */
  176. 255, /* Region index */
  177. (PVOID)&TV_IDC_TextBox_BoardName, /* Pointer to its specific param */
  178. NULL, /* Pointer to a child control list */
  179. },
  180. {
  181. NULL, /* Handle to the control */
  182. CLASS_TEXT, /* Type of the control */
  183. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  184. 0, /* Particular Style of the widget */
  185. STATE_NORMAL, /* State of the control */
  186. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  187. 800, /* Start X position of the control */
  188. 242, /* Start Y position of the control */
  189. 320, /* Width of the control */
  190. 48, /* Height of the control */
  191. 255, /* Region index */
  192. (PVOID)&TV_IDC_TextBox_PanelName, /* Pointer to its specific param */
  193. NULL, /* Pointer to a child control list */
  194. },
  195. {
  196. NULL, /* Handle to the control */
  197. CLASS_TEXT, /* Type of the control */
  198. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  199. 0, /* Particular Style of the widget */
  200. STATE_NORMAL, /* State of the control */
  201. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  202. 800, /* Start X position of the control */
  203. 289, /* Start Y position of the control */
  204. 320, /* Width of the control */
  205. 47, /* Height of the control */
  206. 255, /* Region index */
  207. (PVOID)&TV_IDC_TextBox_BuildDate, /* Pointer to its specific param */
  208. NULL, /* Pointer to a child control list */
  209. },
  210. {
  211. NULL, /* Handle to the control */
  212. CLASS_TEXT, /* Type of the control */
  213. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  214. 0, /* Particular Style of the widget */
  215. STATE_NORMAL, /* State of the control */
  216. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  217. 800, /* Start X position of the control */
  218. 337, /* Start Y position of the control */
  219. 320, /* Width of the control */
  220. 46, /* Height of the control */
  221. 255, /* Region index */
  222. (PVOID)&TV_IDC_TextBox_BuildTime, /* Pointer to its specific param */
  223. NULL, /* Pointer to a child control list */
  224. },
  225. {
  226. NULL, /* Handle to the control */
  227. CLASS_TEXT, /* Type of the control */
  228. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  229. 0, /* Particular Style of the widget */
  230. STATE_NORMAL, /* State of the control */
  231. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  232. 800, /* Start X position of the control */
  233. 383, /* Start Y position of the control */
  234. 320, /* Width of the control */
  235. 47, /* Height of the control */
  236. 255, /* Region index */
  237. (PVOID)&TV_IDC_TextBox_SWVersion, /* Pointer to its specific param */
  238. NULL, /* Pointer to a child control list */
  239. },
  240. };
  241. /* applet structure */
  242. STRUCT_APPLET TV_IDM_VersionMenu_applet = {
  243. 0, /* Current Focus Item */
  244. sizeof(TV_IDM_VersionMenu_control) / sizeof(TV_IDM_VersionMenu_control[0]), /* Number of controls */
  245. (WinControl_t*)TV_IDM_VersionMenu_control, /* Pointer to an array of a control list */
  246. };
  247. /* window structure */
  248. WinControl_t TV_IDM_VersionMenu_window= {
  249. NULL, /* Handle to the control */
  250. CLASS_WINDOW, /* Type of the control */
  251. 0, /* Style of the control */
  252. 0,
  253. WIN_NORMAL, /* State of the control */
  254. {0, 0, 0, 0}, /* State of the control */
  255. 0, /* Start X position of the control */
  256. 0, /* Start Y position of the control */
  257. 1216, /* Width of the control */
  258. 660, /* Height of the control */
  259. 1, /* Region index */
  260. NULL, /* Pointer to its specific param */
  261. (PVOID)&TV_IDM_VersionMenu_applet, /* Pointer to a child control list */
  262. };