TV_IDM_NativeGame.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_NativeGame.c
  4. * @brief menu resource
  5. * Generator Version 6.2.49.696
  6. * Source File Name and Date
  7. *
  8. *
  9. * @note Copyright (c) 2006-2008, Sunplus Technology Co., Ltd.
  10. * All rights reserved.
  11. *
  12. * This software is copyrighted by and is the property of Sunplus
  13. * Technology Co., Ltd. All rights are reserved by Sunplus Technology
  14. * Co., Ltd. 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 Sunplus Technology Co., Ltd.
  20. *
  21. * Sunplus Technology Co., Ltd. reserves the right to modify this
  22. * software without notice.
  23. *
  24. * Sunplus Technology Co., Ltd.
  25. * 19, Innovation First Road, Science-Based Industrial Park,
  26. * Hsin-Chu, 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_NativeGame.h"
  35. #include "TV_font_style_define.h"
  36. btn_text_t TV_IDC_NativeGame_Title = {
  37. {0,0,500,47}, /* Positon of the button */
  38. &TV_BG_13_bg_color, /* Bg color */
  39. &TV_BG_8_bg_icon, /* Bg icon */
  40. 9, /* Side size */
  41. 0, /* Fix Char Width */
  42. &TV_14_text_color, /* Text Color */
  43. {0,0,500,47}, /*Position of the text*/
  44. TV_IDS_String_NativeGame, /* Fg string id */
  45. NULL /* Marrquee */
  46. };
  47. list_color_t TV_IDC_NativeGame_List_listcolor =
  48. {
  49. {234,234,234,228}, /* Bg color for odd items */
  50. {213,213,213,220}, /* Bg color for even items */
  51. {255,0,255,0}, /* Bg color for the focused item */
  52. {255,0,255,0} /* Bg color for the clicked item */
  53. };
  54. listview_t TV_IDC_NativeGame_List =
  55. {
  56. &TV_IDC_NativeGame_List_listcolor,
  57. TV_IDB_cursorbmp, /* Icon to show on the focused item */
  58. ICON_ID_INVALID, /* Icon to show on the clicked item */
  59. 6, /* Side size */
  60. {0, 47, 488, 46}, /* First item pos */
  61. {0,47,488,46}, /* Focus color pos */
  62. {0,47,488,46}, /* Focus icon pos */
  63. {10,47,468,46}, /*Position of the text*/
  64. 0, /* Offset related */
  65. &TV_11_text_color, /* Fg color */
  66. NULL, /* Fg string id */
  67. NULL, /* Dynamic string text */
  68. 0, /* Space */
  69. 10, /* Page item count */
  70. 0, /* Total item count */
  71. 0, /* First list index */
  72. 0, /* Focused item index */
  73. 0, /* Click item index */
  74. 0, /* Fix Char Width */
  75. NULL, /* Marrquee */
  76. NULL, /* Disabled items */
  77. };
  78. bg_t TV_IDC_NativeGame_BG = {
  79. &TV_BG_79_bg_color, /* background color */
  80. NULL /*background bitmap id */
  81. };
  82. border_t TV_IDC_NativeGame_Border =
  83. {
  84. &TV_BG_13_bg_color, /* background color */
  85. NULL, /*background bitmap id */
  86. 1
  87. };
  88. WinControl_t TV_IDC_NativeGame_ScrollBar_control[] = {
  89. {
  90. NULL, /* Handle to the control */
  91. CLASS_BORDER, /* Type of the control */
  92. 0, /* Common Style of the widget */
  93. 0, /* Particular Style of the widget */
  94. STATE_NORMAL, /* State of the control */
  95. {0, 0, 0, 0}, /* Font style for each state */
  96. 488, /* Start X position of the control */
  97. 47, /* Start Y position of the control */
  98. 12, /* Width of the control */
  99. 460, /* Height of the control */
  100. 255, /* Region index */
  101. (PVOID)&TV_IDC_NativeGame_Border, /* Pointer to its specific param */
  102. NULL, /* Pointer to a child control list */
  103. },
  104. };
  105. /* applet structure */
  106. STRUCT_APPLET TV_IDC_NativeGame_ScrollBar_applet = {
  107. 0, /* Current Focus Item */
  108. sizeof(TV_IDC_NativeGame_ScrollBar_control) / sizeof(TV_IDC_NativeGame_ScrollBar_control[0]), /* Number of controls */
  109. TV_IDC_NativeGame_ScrollBar_control, /* Pointer to an array of a control list */
  110. };
  111. prog_color_t TV_IDC_NativeGame_ScrollBar_color =
  112. {
  113. {47,43,71,255},
  114. {213,213,213,220},
  115. {47,43,71,255},
  116. {213,213,213,220},
  117. {47,43,71,255},
  118. {213,213,213,220},
  119. {47,43,71,255},
  120. {213,213,213,220}
  121. };
  122. scroll_basic_t TV_IDC_NativeGame_ScrollBar =
  123. {
  124. {491,50,6,454}, /* Positon of the bar */
  125. 20, /* Max value */
  126. 2, /* Page Count */
  127. 0, /* Current value */
  128. 3, /* Slider Size */
  129. &TV_IDC_NativeGame_ScrollBar_color, /* Bar color */
  130. };
  131. icon_t TV_IDC_NativeGame_BottomLeft =
  132. {
  133. &TV_BG_4_bg_icon
  134. };
  135. icon_t TV_IDC_NativeGame_BottomMid =
  136. {
  137. &TV_BG_3_bg_icon
  138. };
  139. icon_t TV_IDC_NativeGame_BottomRight =
  140. {
  141. &TV_BG_4_bg_icon
  142. };
  143. icon_t TV_IDC_NativeGame_PicMove =
  144. {
  145. &TV_BG_6_bg_icon
  146. };
  147. text_box_t TV_IDC_NativeGame_TextMove =
  148. {
  149. 0, /* Language name */
  150. &TV_BG_0_bg_color, /* Bg color */
  151. &TV_12_text_color, /* Text Color */
  152. {150,507,80,47}, /*Position of the text*/
  153. TV_IDS_String_Move, /* Fg string id */
  154. NULL, /* String */
  155. NULL, /* Marrquee */
  156. 0 /* Fix Char Width */
  157. };
  158. icon_t TV_IDC_NativeGame_PicEnter =
  159. {
  160. &TV_BG_7_bg_icon
  161. };
  162. text_box_t TV_IDC_NativeGame_TextEnter =
  163. {
  164. 0, /* Language name */
  165. &TV_BG_15_bg_color, /* Bg color */
  166. &TV_274_text_color, /* Text Color */
  167. {355,507,80,47}, /*Position of the text*/
  168. TV_IDS_String_Enter, /* Fg string id */
  169. NULL, /* String */
  170. NULL, /* Marrquee */
  171. 0 /* Fix Char Width */
  172. };
  173. /* window controls */
  174. WinControl_t TV_IDM_NativeGame_control[] = {
  175. {
  176. NULL, /* Handle to the control */
  177. CLASS_BUTTON, /* Type of the control */
  178. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  179. S_BTN_TEXT, /* Particular Style of the widget */
  180. STATE_NORMAL, /* State of the control */
  181. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  182. 0, /* Start X position of the control */
  183. 0, /* Start Y position of the control */
  184. 500, /* Width of the control */
  185. 47, /* Height of the control */
  186. 255, /* Region index */
  187. (PVOID)&TV_IDC_NativeGame_Title, /* Pointer to its specific param */
  188. NULL, /* Pointer to a child control list */
  189. },
  190. {
  191. NULL, /* Handle to the control */
  192. CLASS_LISTVIEW, /* Type of the control */
  193. CS_FONT_LEFT|CS_FONT_V_CENTER|CS_SIDE_H|CS_FONT_MARQUEE, /* Common Style of the widget */
  194. S_LIST_ROLLBACK|S_LIST_ONEBYONE, /* Particular Style of the widget */
  195. STATE_FOCUSED, /* State of the control */
  196. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  197. 0, /* Start X position of the control */
  198. 47, /* Start Y position of the control */
  199. 488, /* Width of the control */
  200. 460, /* Height of the control */
  201. 255, /* Region index */
  202. (PVOID)&TV_IDC_NativeGame_List, /* Pointer to its specific param */
  203. NULL, /* Pointer to a child control list */
  204. },
  205. {
  206. NULL, /* Handle to the control */
  207. CLASS_BACKGROUND, /* Type of the control */
  208. 0, /* Common Style of the widget */
  209. S_BG_COLOR, /* Particular Style of the widget */
  210. STATE_NORMAL, /* State of the control */
  211. {0, 0, 0, 0}, /* Font style for each state */
  212. 488, /* Start X position of the control */
  213. 47, /* Start Y position of the control */
  214. 12, /* Width of the control */
  215. 460, /* Height of the control */
  216. 255, /* Region index */
  217. (PVOID)&TV_IDC_NativeGame_BG, /* Pointer to its specific param */
  218. NULL, /* Pointer to a child control list */
  219. },
  220. {
  221. NULL, /* Handle to the control */
  222. CLASS_SCROLL, /* Type of the control */
  223. CS_CTR_V|CS_SIDE_V, /* Common Style of the widget */
  224. S_SCROLL_BASIC, /* Particular Style of the widget */
  225. STATE_NORMAL, /* State of the control */
  226. {0, 0, 0, 0}, /* Font style for each state */
  227. 488, /* Start X position of the control */
  228. 47, /* Start Y position of the control */
  229. 12, /* Width of the control */
  230. 460, /* Height of the control */
  231. 255, /* Region index */
  232. (PVOID)&TV_IDC_NativeGame_ScrollBar, /* Pointer to its specific param */
  233. (PVOID)&TV_IDC_NativeGame_ScrollBar_applet, /* Pointer to a child control list */
  234. },
  235. {
  236. NULL, /* Handle to the control */
  237. CLASS_ICON, /* Type of the control */
  238. 0, /* Common Style of the widget */
  239. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  240. STATE_NORMAL, /* State of the control */
  241. {0, 0, 0, 0}, /* Font style for each state */
  242. 0, /* Start X position of the control */
  243. 507, /* Start Y position of the control */
  244. 50, /* Width of the control */
  245. 47, /* Height of the control */
  246. 255, /* Region index */
  247. (PVOID)&TV_IDC_NativeGame_BottomLeft, /* Pointer to its specific param */
  248. NULL, /* Pointer to a child control list */
  249. },
  250. {
  251. NULL, /* Handle to the control */
  252. CLASS_ICON, /* Type of the control */
  253. CS_PIC_REPEAT, /* Common Style of the widget */
  254. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  255. STATE_NORMAL, /* State of the control */
  256. {0, 0, 0, 0}, /* Font style for each state */
  257. 50, /* Start X position of the control */
  258. 507, /* Start Y position of the control */
  259. 400, /* Width of the control */
  260. 47, /* Height of the control */
  261. 255, /* Region index */
  262. (PVOID)&TV_IDC_NativeGame_BottomMid, /* Pointer to its specific param */
  263. NULL, /* Pointer to a child control list */
  264. },
  265. {
  266. NULL, /* Handle to the control */
  267. CLASS_ICON, /* Type of the control */
  268. 0, /* Common Style of the widget */
  269. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  270. STATE_NORMAL, /* State of the control */
  271. {0, 0, 0, 0}, /* Font style for each state */
  272. 450, /* Start X position of the control */
  273. 507, /* Start Y position of the control */
  274. 50, /* Width of the control */
  275. 47, /* Height of the control */
  276. 255, /* Region index */
  277. (PVOID)&TV_IDC_NativeGame_BottomRight, /* Pointer to its specific param */
  278. NULL, /* Pointer to a child control list */
  279. },
  280. {
  281. NULL, /* Handle to the control */
  282. CLASS_ICON, /* Type of the control */
  283. 0, /* Common Style of the widget */
  284. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  285. STATE_NORMAL, /* State of the control */
  286. {0, 0, 0, 0}, /* Font style for each state */
  287. 83, /* Start X position of the control */
  288. 507, /* Start Y position of the control */
  289. 59, /* Width of the control */
  290. 47, /* Height of the control */
  291. 255, /* Region index */
  292. (PVOID)&TV_IDC_NativeGame_PicMove, /* Pointer to its specific param */
  293. NULL, /* Pointer to a child control list */
  294. },
  295. {
  296. NULL, /* Handle to the control */
  297. CLASS_TEXT, /* Type of the control */
  298. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  299. 0, /* Particular Style of the widget */
  300. STATE_NORMAL, /* State of the control */
  301. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  302. 150, /* Start X position of the control */
  303. 507, /* Start Y position of the control */
  304. 80, /* Width of the control */
  305. 47, /* Height of the control */
  306. 255, /* Region index */
  307. (PVOID)&TV_IDC_NativeGame_TextMove, /* Pointer to its specific param */
  308. NULL, /* Pointer to a child control list */
  309. },
  310. {
  311. NULL, /* Handle to the control */
  312. CLASS_ICON, /* Type of the control */
  313. 0, /* Common Style of the widget */
  314. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  315. STATE_NORMAL, /* State of the control */
  316. {0, 0, 0, 0}, /* Font style for each state */
  317. 276, /* Start X position of the control */
  318. 507, /* Start Y position of the control */
  319. 71, /* Width of the control */
  320. 47, /* Height of the control */
  321. 255, /* Region index */
  322. (PVOID)&TV_IDC_NativeGame_PicEnter, /* Pointer to its specific param */
  323. NULL, /* Pointer to a child control list */
  324. },
  325. {
  326. NULL, /* Handle to the control */
  327. CLASS_TEXT, /* Type of the control */
  328. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  329. 0, /* Particular Style of the widget */
  330. STATE_NORMAL, /* State of the control */
  331. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  332. 355, /* Start X position of the control */
  333. 507, /* Start Y position of the control */
  334. 80, /* Width of the control */
  335. 47, /* Height of the control */
  336. 255, /* Region index */
  337. (PVOID)&TV_IDC_NativeGame_TextEnter, /* Pointer to its specific param */
  338. NULL, /* Pointer to a child control list */
  339. },
  340. };
  341. /* applet structure */
  342. STRUCT_APPLET TV_IDM_NativeGame_applet = {
  343. 0, /* Current Focus Item */
  344. sizeof(TV_IDM_NativeGame_control) / sizeof(TV_IDM_NativeGame_control[0]), /* Number of controls */
  345. (WinControl_t*)TV_IDM_NativeGame_control, /* Pointer to an array of a control list */
  346. };
  347. /* window structure */
  348. WinControl_t TV_IDM_NativeGame_window= {
  349. NULL, /* Handle to the control */
  350. CLASS_WINDOW, /* Type of the control */
  351. 0, /* Style of the control */
  352. 0,
  353. WIN_NORMAL, /* State of the control */
  354. {0, 0, 0, 0}, /* State of the control */
  355. 402, /* Start X position of the control */
  356. 48, /* Start Y position of the control */
  357. 500, /* Width of the control */
  358. 554, /* Height of the control */
  359. 1, /* Region index */
  360. NULL, /* Pointer to its specific param */
  361. (PVOID)&TV_IDM_NativeGame_applet, /* Pointer to a child control list */
  362. };