TV_IDM_SystemInfo.c 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_SystemInfo.c
  4. * @brief menu resource
  5. * Generator Version 6.2.32.662
  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_SystemInfo.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_Background_MainPage_Line111 = {
  37. &TV_BG_7_bg_color, /* background color */
  38. NULL /*background bitmap id */
  39. };
  40. bg_t TV_IDC_Background_MainPage_Line211 = {
  41. &TV_BG_19_bg_color, /* background color */
  42. NULL /*background bitmap id */
  43. };
  44. bg_t TV_IDC_Background_MainPage_Line311 = {
  45. &TV_BG_7_bg_color, /* background color */
  46. NULL /*background bitmap id */
  47. };
  48. bg_t TV_IDC_Background_MainPage_Line411 = {
  49. &TV_BG_19_bg_color, /* background color */
  50. NULL /*background bitmap id */
  51. };
  52. bg_t TV_IDC_Background_MainPage_Line511 = {
  53. &TV_BG_7_bg_color, /* background color */
  54. NULL /*background bitmap id */
  55. };
  56. bg_t TV_IDC_Background_MainPage_Line611 = {
  57. &TV_BG_19_bg_color, /* background color */
  58. NULL /*background bitmap id */
  59. };
  60. bg_t TV_IDC_Background_MainPage_Line711 = {
  61. &TV_BG_7_bg_color, /* background color */
  62. NULL /*background bitmap id */
  63. };
  64. bg_t TV_IDC_Background_MainPage_Line811 = {
  65. &TV_BG_19_bg_color, /* background color */
  66. NULL /*background bitmap id */
  67. };
  68. bg_t TV_IDC_Background_MainPage_Line911 = {
  69. &TV_BG_7_bg_color, /* background color */
  70. NULL /*background bitmap id */
  71. };
  72. bg_t TV_IDC_Background_MainPage_Line1011 = {
  73. &TV_BG_19_bg_color, /* background color */
  74. NULL /*background bitmap id */
  75. };
  76. String_id_t TV_IDC_ListView_SystemInfo_string[] =
  77. {
  78. TV_IDS_String_Model,
  79. TV_IDS_String_OADVersion,
  80. TV_IDS_String_SoftwareVersionEx,
  81. TV_IDS_String_UsedTime,
  82. TV_IDS_String_CustomerSupport,
  83. TV_IDS_String_Hotline,
  84. TV_IDS_String_Email,
  85. TV_IDS_String_Homepage,
  86. STRING_LAST
  87. };
  88. list_color_t TV_IDC_ListView_SystemInfo_listcolor =
  89. {
  90. {255, 255, 255, 0}, /* Bg color for odd items */
  91. {255, 255, 255, 0}, /* Bg color for even items */
  92. {255, 255, 255, 0}, /* Bg color for the focused item */
  93. {255, 255, 255, 0} /* Bg color for the clicked item */
  94. };
  95. listview_t TV_IDC_ListView_SystemInfo =
  96. {
  97. &TV_IDC_ListView_SystemInfo_listcolor,
  98. ICON_ID_INVALID, /* Icon to show on the focused item */
  99. ICON_ID_INVALID, /* Icon to show on the clicked item */
  100. 0, /* Side size */
  101. {13, 45, 251, 48}, /* First item pos */
  102. {13,46,120,20}, /* Focus color pos */
  103. {75,46,58,20}, /* Focus icon pos */
  104. {13,45,251,40}, /*Position of the text*/
  105. 0, /* Offset related */
  106. &TV_140_text_color, /* Fg color */
  107. TV_IDC_ListView_SystemInfo_string, /* Fg string id */
  108. NULL, /* Dynamic string text */
  109. 0, /* Space */
  110. 8, /* Page item count */
  111. 8, /* Total item count */
  112. 0, /* First list index */
  113. 0, /* Focused item index */
  114. 0, /* Click item index */
  115. 0, /* Fix Char Width */
  116. NULL, /* Marrquee */
  117. NULL, /* Disabled items */
  118. };
  119. text_box_t TV_IDC_TextBox_Model =
  120. {
  121. 0, /* Language name */
  122. &TV_BG_42_bg_color, /* Bg color */
  123. &TV_119_text_color, /* Text Color */
  124. {271,42,410,40}, /*Position of the text*/
  125. TV_IDS_String_System_Info, /* Fg string id */
  126. NULL, /* String */
  127. NULL, /* Marrquee */
  128. 0 /* Fix Char Width */
  129. };
  130. text_box_t TV_IDC_TextBox_OAD =
  131. {
  132. 0, /* Language name */
  133. &TV_BG_42_bg_color, /* Bg color */
  134. &TV_119_text_color, /* Text Color */
  135. {270,89,410,40}, /*Position of the text*/
  136. TV_IDS_String_System_Info, /* Fg string id */
  137. NULL, /* String */
  138. NULL, /* Marrquee */
  139. 0 /* Fix Char Width */
  140. };
  141. text_box_t TV_IDC_TextBox_Software =
  142. {
  143. 0, /* Language name */
  144. &TV_BG_42_bg_color, /* Bg color */
  145. &TV_119_text_color, /* Text Color */
  146. {270,137,410,40}, /*Position of the text*/
  147. TV_IDS_String_System_Info, /* Fg string id */
  148. NULL, /* String */
  149. NULL, /* Marrquee */
  150. 0 /* Fix Char Width */
  151. };
  152. text_box_t TV_IDC_TextBox_Time =
  153. {
  154. 0, /* Language name */
  155. &TV_BG_42_bg_color, /* Bg color */
  156. &TV_119_text_color, /* Text Color */
  157. {271,183,410,40}, /*Position of the text*/
  158. TV_IDS_String_System_Info, /* Fg string id */
  159. NULL, /* String */
  160. NULL, /* Marrquee */
  161. 0 /* Fix Char Width */
  162. };
  163. text_box_t TV_IDC_TextBox_Hotline =
  164. {
  165. 0, /* Language name */
  166. &TV_BG_42_bg_color, /* Bg color */
  167. &TV_119_text_color, /* Text Color */
  168. {271,287,410,40}, /*Position of the text*/
  169. TV_IDS_String_System_Info, /* Fg string id */
  170. NULL, /* String */
  171. NULL, /* Marrquee */
  172. 0 /* Fix Char Width */
  173. };
  174. text_box_t TV_IDC_TextBox_Email =
  175. {
  176. 0, /* Language name */
  177. &TV_BG_42_bg_color, /* Bg color */
  178. &TV_119_text_color, /* Text Color */
  179. {271,335,410,40}, /*Position of the text*/
  180. TV_IDS_String_System_Info, /* Fg string id */
  181. NULL, /* String */
  182. NULL, /* Marrquee */
  183. 0 /* Fix Char Width */
  184. };
  185. text_box_t TV_IDC_TextBox_Homepage =
  186. {
  187. 0, /* Language name */
  188. &TV_BG_42_bg_color, /* Bg color */
  189. &TV_119_text_color, /* Text Color */
  190. {271,385,410,40}, /*Position of the text*/
  191. TV_IDS_String_System_Info, /* Fg string id */
  192. NULL, /* String */
  193. NULL, /* Marrquee */
  194. 0 /* Fix Char Width */
  195. };
  196. /* window controls */
  197. WinControl_t TV_IDM_SystemInfo_control[] = {
  198. {
  199. NULL, /* Handle to the control */
  200. CLASS_BACKGROUND, /* Type of the control */
  201. 0, /* Common Style of the widget */
  202. S_BG_COLOR, /* Particular Style of the widget */
  203. STATE_NORMAL, /* State of the control */
  204. {0, 0, 0, 0}, /* Font style for each state */
  205. 0, /* Start X position of the control */
  206. 0, /* Start Y position of the control */
  207. 746, /* Width of the control */
  208. 42, /* Height of the control */
  209. 255, /* Region index */
  210. (PVOID)&TV_IDC_Background_MainPage_Line111, /* Pointer to its specific param */
  211. NULL, /* Pointer to a child control list */
  212. },
  213. {
  214. NULL, /* Handle to the control */
  215. CLASS_BACKGROUND, /* Type of the control */
  216. 0, /* Common Style of the widget */
  217. S_BG_COLOR, /* Particular Style of the widget */
  218. STATE_NORMAL, /* State of the control */
  219. {0, 0, 0, 0}, /* Font style for each state */
  220. 0, /* Start X position of the control */
  221. 42, /* Start Y position of the control */
  222. 746, /* Width of the control */
  223. 47, /* Height of the control */
  224. 255, /* Region index */
  225. (PVOID)&TV_IDC_Background_MainPage_Line211, /* Pointer to its specific param */
  226. NULL, /* Pointer to a child control list */
  227. },
  228. {
  229. NULL, /* Handle to the control */
  230. CLASS_BACKGROUND, /* Type of the control */
  231. 0, /* Common Style of the widget */
  232. S_BG_COLOR, /* Particular Style of the widget */
  233. STATE_NORMAL, /* State of the control */
  234. {0, 0, 0, 0}, /* Font style for each state */
  235. 0, /* Start X position of the control */
  236. 89, /* Start Y position of the control */
  237. 746, /* Width of the control */
  238. 47, /* Height of the control */
  239. 255, /* Region index */
  240. (PVOID)&TV_IDC_Background_MainPage_Line311, /* Pointer to its specific param */
  241. NULL, /* Pointer to a child control list */
  242. },
  243. {
  244. NULL, /* Handle to the control */
  245. CLASS_BACKGROUND, /* Type of the control */
  246. 0, /* Common Style of the widget */
  247. S_BG_COLOR, /* Particular Style of the widget */
  248. STATE_NORMAL, /* State of the control */
  249. {0, 0, 0, 0}, /* Font style for each state */
  250. 0, /* Start X position of the control */
  251. 136, /* Start Y position of the control */
  252. 746, /* Width of the control */
  253. 47, /* Height of the control */
  254. 255, /* Region index */
  255. (PVOID)&TV_IDC_Background_MainPage_Line411, /* Pointer to its specific param */
  256. NULL, /* Pointer to a child control list */
  257. },
  258. {
  259. NULL, /* Handle to the control */
  260. CLASS_BACKGROUND, /* Type of the control */
  261. 0, /* Common Style of the widget */
  262. S_BG_COLOR, /* Particular Style of the widget */
  263. STATE_NORMAL, /* State of the control */
  264. {0, 0, 0, 0}, /* Font style for each state */
  265. 0, /* Start X position of the control */
  266. 183, /* Start Y position of the control */
  267. 746, /* Width of the control */
  268. 47, /* Height of the control */
  269. 255, /* Region index */
  270. (PVOID)&TV_IDC_Background_MainPage_Line511, /* Pointer to its specific param */
  271. NULL, /* Pointer to a child control list */
  272. },
  273. {
  274. NULL, /* Handle to the control */
  275. CLASS_BACKGROUND, /* Type of the control */
  276. 0, /* Common Style of the widget */
  277. S_BG_COLOR, /* Particular Style of the widget */
  278. STATE_NORMAL, /* State of the control */
  279. {0, 0, 0, 0}, /* Font style for each state */
  280. 0, /* Start X position of the control */
  281. 230, /* Start Y position of the control */
  282. 746, /* Width of the control */
  283. 47, /* Height of the control */
  284. 255, /* Region index */
  285. (PVOID)&TV_IDC_Background_MainPage_Line611, /* Pointer to its specific param */
  286. NULL, /* Pointer to a child control list */
  287. },
  288. {
  289. NULL, /* Handle to the control */
  290. CLASS_BACKGROUND, /* Type of the control */
  291. 0, /* Common Style of the widget */
  292. S_BG_COLOR, /* Particular Style of the widget */
  293. STATE_NORMAL, /* State of the control */
  294. {0, 0, 0, 0}, /* Font style for each state */
  295. 0, /* Start X position of the control */
  296. 277, /* Start Y position of the control */
  297. 746, /* Width of the control */
  298. 47, /* Height of the control */
  299. 255, /* Region index */
  300. (PVOID)&TV_IDC_Background_MainPage_Line711, /* Pointer to its specific param */
  301. NULL, /* Pointer to a child control list */
  302. },
  303. {
  304. NULL, /* Handle to the control */
  305. CLASS_BACKGROUND, /* Type of the control */
  306. 0, /* Common Style of the widget */
  307. S_BG_COLOR, /* Particular Style of the widget */
  308. STATE_NORMAL, /* State of the control */
  309. {0, 0, 0, 0}, /* Font style for each state */
  310. 0, /* Start X position of the control */
  311. 324, /* Start Y position of the control */
  312. 746, /* Width of the control */
  313. 47, /* Height of the control */
  314. 255, /* Region index */
  315. (PVOID)&TV_IDC_Background_MainPage_Line811, /* Pointer to its specific param */
  316. NULL, /* Pointer to a child control list */
  317. },
  318. {
  319. NULL, /* Handle to the control */
  320. CLASS_BACKGROUND, /* Type of the control */
  321. 0, /* Common Style of the widget */
  322. S_BG_COLOR, /* Particular Style of the widget */
  323. STATE_NORMAL, /* State of the control */
  324. {0, 0, 0, 0}, /* Font style for each state */
  325. 0, /* Start X position of the control */
  326. 371, /* Start Y position of the control */
  327. 746, /* Width of the control */
  328. 47, /* Height of the control */
  329. 255, /* Region index */
  330. (PVOID)&TV_IDC_Background_MainPage_Line911, /* Pointer to its specific param */
  331. NULL, /* Pointer to a child control list */
  332. },
  333. {
  334. NULL, /* Handle to the control */
  335. CLASS_BACKGROUND, /* Type of the control */
  336. 0, /* Common Style of the widget */
  337. S_BG_COLOR, /* Particular Style of the widget */
  338. STATE_NORMAL, /* State of the control */
  339. {0, 0, 0, 0}, /* Font style for each state */
  340. 0, /* Start X position of the control */
  341. 418, /* Start Y position of the control */
  342. 746, /* Width of the control */
  343. 42, /* Height of the control */
  344. 255, /* Region index */
  345. (PVOID)&TV_IDC_Background_MainPage_Line1011, /* Pointer to its specific param */
  346. NULL, /* Pointer to a child control list */
  347. },
  348. {
  349. NULL, /* Handle to the control */
  350. CLASS_LISTVIEW, /* Type of the control */
  351. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  352. S_LIST_ROLLBACK, /* Particular Style of the widget */
  353. STATE_FOCUSED, /* State of the control */
  354. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  355. 13, /* Start X position of the control */
  356. 45, /* Start Y position of the control */
  357. 251, /* Width of the control */
  358. 412, /* Height of the control */
  359. 255, /* Region index */
  360. (PVOID)&TV_IDC_ListView_SystemInfo, /* Pointer to its specific param */
  361. NULL, /* Pointer to a child control list */
  362. },
  363. {
  364. NULL, /* Handle to the control */
  365. CLASS_TEXT, /* Type of the control */
  366. CS_FONT_LEFT|CS_FONT_V_BOTTOM, /* Common Style of the widget */
  367. 0, /* Particular Style of the widget */
  368. STATE_NORMAL, /* State of the control */
  369. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  370. 270, /* Start X position of the control */
  371. 42, /* Start Y position of the control */
  372. 411, /* Width of the control */
  373. 41, /* Height of the control */
  374. 255, /* Region index */
  375. (PVOID)&TV_IDC_TextBox_Model, /* Pointer to its specific param */
  376. NULL, /* Pointer to a child control list */
  377. },
  378. {
  379. NULL, /* Handle to the control */
  380. CLASS_TEXT, /* Type of the control */
  381. CS_FONT_LEFT|CS_FONT_V_BOTTOM, /* Common Style of the widget */
  382. 0, /* Particular Style of the widget */
  383. STATE_NORMAL, /* State of the control */
  384. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  385. 270, /* Start X position of the control */
  386. 89, /* Start Y position of the control */
  387. 411, /* Width of the control */
  388. 41, /* Height of the control */
  389. 255, /* Region index */
  390. (PVOID)&TV_IDC_TextBox_OAD, /* Pointer to its specific param */
  391. NULL, /* Pointer to a child control list */
  392. },
  393. {
  394. NULL, /* Handle to the control */
  395. CLASS_TEXT, /* Type of the control */
  396. CS_FONT_LEFT|CS_FONT_V_BOTTOM, /* Common Style of the widget */
  397. 0, /* Particular Style of the widget */
  398. STATE_NORMAL, /* State of the control */
  399. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  400. 270, /* Start X position of the control */
  401. 137, /* Start Y position of the control */
  402. 411, /* Width of the control */
  403. 41, /* Height of the control */
  404. 255, /* Region index */
  405. (PVOID)&TV_IDC_TextBox_Software, /* Pointer to its specific param */
  406. NULL, /* Pointer to a child control list */
  407. },
  408. {
  409. NULL, /* Handle to the control */
  410. CLASS_TEXT, /* Type of the control */
  411. CS_FONT_LEFT|CS_FONT_V_BOTTOM, /* Common Style of the widget */
  412. 0, /* Particular Style of the widget */
  413. STATE_NORMAL, /* State of the control */
  414. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  415. 270, /* Start X position of the control */
  416. 183, /* Start Y position of the control */
  417. 411, /* Width of the control */
  418. 41, /* Height of the control */
  419. 255, /* Region index */
  420. (PVOID)&TV_IDC_TextBox_Time, /* Pointer to its specific param */
  421. NULL, /* Pointer to a child control list */
  422. },
  423. {
  424. NULL, /* Handle to the control */
  425. CLASS_TEXT, /* Type of the control */
  426. CS_FONT_LEFT|CS_FONT_V_BOTTOM, /* Common Style of the widget */
  427. 0, /* Particular Style of the widget */
  428. STATE_NORMAL, /* State of the control */
  429. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  430. 270, /* Start X position of the control */
  431. 287, /* Start Y position of the control */
  432. 411, /* Width of the control */
  433. 41, /* Height of the control */
  434. 255, /* Region index */
  435. (PVOID)&TV_IDC_TextBox_Hotline, /* Pointer to its specific param */
  436. NULL, /* Pointer to a child control list */
  437. },
  438. {
  439. NULL, /* Handle to the control */
  440. CLASS_TEXT, /* Type of the control */
  441. CS_FONT_LEFT|CS_FONT_V_BOTTOM, /* Common Style of the widget */
  442. 0, /* Particular Style of the widget */
  443. STATE_NORMAL, /* State of the control */
  444. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  445. 270, /* Start X position of the control */
  446. 335, /* Start Y position of the control */
  447. 411, /* Width of the control */
  448. 41, /* Height of the control */
  449. 255, /* Region index */
  450. (PVOID)&TV_IDC_TextBox_Email, /* Pointer to its specific param */
  451. NULL, /* Pointer to a child control list */
  452. },
  453. {
  454. NULL, /* Handle to the control */
  455. CLASS_TEXT, /* Type of the control */
  456. CS_FONT_LEFT|CS_FONT_V_BOTTOM, /* Common Style of the widget */
  457. 0, /* Particular Style of the widget */
  458. STATE_NORMAL, /* State of the control */
  459. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  460. 270, /* Start X position of the control */
  461. 382, /* Start Y position of the control */
  462. 411, /* Width of the control */
  463. 43, /* Height of the control */
  464. 255, /* Region index */
  465. (PVOID)&TV_IDC_TextBox_Homepage, /* Pointer to its specific param */
  466. NULL, /* Pointer to a child control list */
  467. },
  468. };
  469. /* applet structure */
  470. STRUCT_APPLET TV_IDM_SystemInfo_applet = {
  471. 0, /* Current Focus Item */
  472. sizeof(TV_IDM_SystemInfo_control) / sizeof(TV_IDM_SystemInfo_control[0]), /* Number of controls */
  473. (WinControl_t*)TV_IDM_SystemInfo_control, /* Pointer to an array of a control list */
  474. };
  475. /* window structure */
  476. WinControl_t TV_IDM_SystemInfo_window= {
  477. NULL, /* Handle to the control */
  478. CLASS_POPUP, /* Type of the control */
  479. CAPTURE, /* Style of the control */
  480. 0,
  481. WIN_NORMAL, /* State of the control */
  482. {0, 0, 0, 0}, /* State of the control */
  483. 404, /* Start X position of the control */
  484. 106, /* Start Y position of the control */
  485. 806, /* Width of the control */
  486. 517, /* Height of the control */
  487. 1, /* Region index */
  488. NULL, /* Pointer to its specific param */
  489. (PVOID)&TV_IDM_SystemInfo_applet, /* Pointer to a child control list */
  490. };