TV_IDM_ATVInfo.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_ATVInfo.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_ATVInfo.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_Background_ATVInfo_Prog = {
  37. &TV_BgColor_40, /* background color */
  38. NULL /*background bitmap id */
  39. };
  40. bg_t TV_IDC_Background_ATVInfo_Prog2 = {
  41. &TV_BgColor_40, /* background color */
  42. NULL /*background bitmap id */
  43. };
  44. bg_t TV_IDC_Background_ATVInfo_Other = {
  45. &TV_BgColor_26, /* background color */
  46. NULL /*background bitmap id */
  47. };
  48. bg_t TV_IDC_Background_ATVInfo_Other2 = {
  49. &TV_BgColor_26, /* background color */
  50. NULL /*background bitmap id */
  51. };
  52. bg_t TV_IDC_Background_ATVInfo_Other3 = {
  53. &TV_BgColor_26, /* background color */
  54. NULL /*background bitmap id */
  55. };
  56. border_t TV_IDC_Border_1 =
  57. {
  58. &TV_BgColor_41, /* background color */
  59. NULL, /*background bitmap id */
  60. 1
  61. };
  62. border_t TV_IDC_Border_2 =
  63. {
  64. &TV_BgColor_41, /* background color */
  65. NULL, /*background bitmap id */
  66. 1
  67. };
  68. border_t TV_IDC_Border_3 =
  69. {
  70. &TV_BgColor_41, /* background color */
  71. NULL, /*background bitmap id */
  72. 1
  73. };
  74. border_t TV_IDC_Border_4 =
  75. {
  76. &TV_BgColor_41, /* background color */
  77. NULL, /*background bitmap id */
  78. 1
  79. };
  80. border_t TV_IDC_Border_5 =
  81. {
  82. &TV_BgColor_41, /* background color */
  83. NULL, /*background bitmap id */
  84. 1
  85. };
  86. text_box_t TV_IDC_TextBox_ATVInfo_Input =
  87. {
  88. 0, /* Language name */
  89. &TV_BgColor_42, /* Bg color */
  90. &TV_TextColor_39, /* Text Color */
  91. {2,2,324,39}, /*Position of the text*/
  92. STRING_ID_INVALID, /* Fg string id */
  93. NULL, /* String */
  94. NULL, /* Marrquee */
  95. 0 /* Fix Char Width */
  96. };
  97. text_box_t TV_IDC_TextBox_ATVInfo_Prog =
  98. {
  99. 0, /* Language name */
  100. &TV_BgColor_42, /* Bg color */
  101. &TV_TextColor_39, /* Text Color */
  102. {2,41,324,39}, /*Position of the text*/
  103. STRING_ID_INVALID, /* Fg string id */
  104. NULL, /* String */
  105. NULL, /* Marrquee */
  106. 0 /* Fix Char Width */
  107. };
  108. text_box_t TV_IDC_TextBox_ATVInfo_SoundMode =
  109. {
  110. 0, /* Language name */
  111. &TV_BgColor_42, /* Bg color */
  112. &TV_TextColor_62, /* Text Color */
  113. {2,81,324,39}, /*Position of the text*/
  114. STRING_ID_INVALID, /* Fg string id */
  115. NULL, /* String */
  116. NULL, /* Marrquee */
  117. 0 /* Fix Char Width */
  118. };
  119. text_box_t TV_IDC_TextBox_ATVInfo_ColorSys =
  120. {
  121. 0, /* Language name */
  122. &TV_BgColor_42, /* Bg color */
  123. &TV_TextColor_39, /* Text Color */
  124. {2,121,324,39}, /*Position of the text*/
  125. STRING_ID_INVALID, /* Fg string id */
  126. NULL, /* String */
  127. NULL, /* Marrquee */
  128. 0 /* Fix Char Width */
  129. };
  130. text_box_t TV_IDC_TextBox_ATVInfo_Rating =
  131. {
  132. 0, /* Language name */
  133. &TV_BgColor_42, /* Bg color */
  134. &TV_TextColor_39, /* Text Color */
  135. {2,161,324,39}, /*Position of the text*/
  136. STRING_ID_INVALID, /* Fg string id */
  137. NULL, /* String */
  138. NULL, /* Marrquee */
  139. 0 /* Fix Char Width */
  140. };
  141. /* window controls */
  142. WinControl_t TV_IDM_ATVInfo_control[] = {
  143. {
  144. NULL, /* Handle to the control */
  145. CLASS_BACKGROUND, /* Type of the control */
  146. 0, /* Common Style of the widget */
  147. S_BG_COLOR, /* Particular Style of the widget */
  148. STATE_NORMAL, /* State of the control */
  149. {0, 0, 0, 0}, /* Font style for each state */
  150. 1, /* Start X position of the control */
  151. 1, /* Start Y position of the control */
  152. 326, /* Width of the control */
  153. 40, /* Height of the control */
  154. 255, /* Region index */
  155. (PVOID)&TV_IDC_Background_ATVInfo_Prog, /* Pointer to its specific param */
  156. NULL, /* Pointer to a child control list */
  157. },
  158. {
  159. NULL, /* Handle to the control */
  160. CLASS_BACKGROUND, /* Type of the control */
  161. 0, /* Common Style of the widget */
  162. S_BG_COLOR, /* Particular Style of the widget */
  163. STATE_NORMAL, /* State of the control */
  164. {0, 0, 0, 0}, /* Font style for each state */
  165. 1, /* Start X position of the control */
  166. 41, /* Start Y position of the control */
  167. 326, /* Width of the control */
  168. 40, /* Height of the control */
  169. 255, /* Region index */
  170. (PVOID)&TV_IDC_Background_ATVInfo_Prog2, /* Pointer to its specific param */
  171. NULL, /* Pointer to a child control list */
  172. },
  173. {
  174. NULL, /* Handle to the control */
  175. CLASS_BACKGROUND, /* Type of the control */
  176. 0, /* Common Style of the widget */
  177. S_BG_COLOR, /* Particular Style of the widget */
  178. STATE_FOCUSED, /* State of the control */
  179. {0, 0, 0, 0}, /* Font style for each state */
  180. 1, /* Start X position of the control */
  181. 81, /* Start Y position of the control */
  182. 326, /* Width of the control */
  183. 40, /* Height of the control */
  184. 255, /* Region index */
  185. (PVOID)&TV_IDC_Background_ATVInfo_Other, /* Pointer to its specific param */
  186. NULL, /* Pointer to a child control list */
  187. },
  188. {
  189. NULL, /* Handle to the control */
  190. CLASS_BACKGROUND, /* Type of the control */
  191. 0, /* Common Style of the widget */
  192. S_BG_COLOR, /* Particular Style of the widget */
  193. STATE_CLICKED, /* State of the control */
  194. {0, 0, 0, 0}, /* Font style for each state */
  195. 1, /* Start X position of the control */
  196. 121, /* Start Y position of the control */
  197. 326, /* Width of the control */
  198. 40, /* Height of the control */
  199. 255, /* Region index */
  200. (PVOID)&TV_IDC_Background_ATVInfo_Other2, /* Pointer to its specific param */
  201. NULL, /* Pointer to a child control list */
  202. },
  203. {
  204. NULL, /* Handle to the control */
  205. CLASS_BACKGROUND, /* Type of the control */
  206. 0, /* Common Style of the widget */
  207. S_BG_COLOR, /* Particular Style of the widget */
  208. STATE_CLICKED, /* State of the control */
  209. {0, 0, 0, 0}, /* Font style for each state */
  210. 1, /* Start X position of the control */
  211. 161, /* Start Y position of the control */
  212. 326, /* Width of the control */
  213. 40, /* Height of the control */
  214. 255, /* Region index */
  215. (PVOID)&TV_IDC_Background_ATVInfo_Other3, /* Pointer to its specific param */
  216. NULL, /* Pointer to a child control list */
  217. },
  218. {
  219. NULL, /* Handle to the control */
  220. CLASS_BORDER, /* Type of the control */
  221. 0, /* Common Style of the widget */
  222. 0, /* Particular Style of the widget */
  223. STATE_CLICKED, /* State of the control */
  224. {0, 0, 0, 0}, /* Font style for each state */
  225. 0, /* Start X position of the control */
  226. 0, /* Start Y position of the control */
  227. 328, /* Width of the control */
  228. 40, /* Height of the control */
  229. 255, /* Region index */
  230. (PVOID)&TV_IDC_Border_1, /* Pointer to its specific param */
  231. NULL, /* Pointer to a child control list */
  232. },
  233. {
  234. NULL, /* Handle to the control */
  235. CLASS_BORDER, /* Type of the control */
  236. 0, /* Common Style of the widget */
  237. 0, /* Particular Style of the widget */
  238. STATE_CLICKED, /* State of the control */
  239. {0, 0, 0, 0}, /* Font style for each state */
  240. 0, /* Start X position of the control */
  241. 0, /* Start Y position of the control */
  242. 328, /* Width of the control */
  243. 82, /* Height of the control */
  244. 255, /* Region index */
  245. (PVOID)&TV_IDC_Border_2, /* Pointer to its specific param */
  246. NULL, /* Pointer to a child control list */
  247. },
  248. {
  249. NULL, /* Handle to the control */
  250. CLASS_BORDER, /* Type of the control */
  251. 0, /* Common Style of the widget */
  252. 0, /* Particular Style of the widget */
  253. STATE_CLICKED, /* State of the control */
  254. {0, 0, 0, 0}, /* Font style for each state */
  255. 0, /* Start X position of the control */
  256. 0, /* Start Y position of the control */
  257. 328, /* Width of the control */
  258. 122, /* Height of the control */
  259. 255, /* Region index */
  260. (PVOID)&TV_IDC_Border_3, /* Pointer to its specific param */
  261. NULL, /* Pointer to a child control list */
  262. },
  263. {
  264. NULL, /* Handle to the control */
  265. CLASS_BORDER, /* Type of the control */
  266. 0, /* Common Style of the widget */
  267. 0, /* Particular Style of the widget */
  268. STATE_CLICKED, /* State of the control */
  269. {0, 0, 0, 0}, /* Font style for each state */
  270. 0, /* Start X position of the control */
  271. 0, /* Start Y position of the control */
  272. 328, /* Width of the control */
  273. 162, /* Height of the control */
  274. 255, /* Region index */
  275. (PVOID)&TV_IDC_Border_4, /* Pointer to its specific param */
  276. NULL, /* Pointer to a child control list */
  277. },
  278. {
  279. NULL, /* Handle to the control */
  280. CLASS_BORDER, /* Type of the control */
  281. 0, /* Common Style of the widget */
  282. 0, /* Particular Style of the widget */
  283. STATE_CLICKED, /* State of the control */
  284. {0, 0, 0, 0}, /* Font style for each state */
  285. 0, /* Start X position of the control */
  286. 0, /* Start Y position of the control */
  287. 328, /* Width of the control */
  288. 202, /* Height of the control */
  289. 255, /* Region index */
  290. (PVOID)&TV_IDC_Border_5, /* Pointer to its specific param */
  291. NULL, /* Pointer to a child control list */
  292. },
  293. {
  294. NULL, /* Handle to the control */
  295. CLASS_TEXT, /* Type of the control */
  296. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  297. 0, /* Particular Style of the widget */
  298. STATE_NORMAL, /* State of the control */
  299. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  300. 2, /* Start X position of the control */
  301. 2, /* Start Y position of the control */
  302. 324, /* Width of the control */
  303. 39, /* Height of the control */
  304. 255, /* Region index */
  305. (PVOID)&TV_IDC_TextBox_ATVInfo_Input, /* Pointer to its specific param */
  306. NULL, /* Pointer to a child control list */
  307. },
  308. {
  309. NULL, /* Handle to the control */
  310. CLASS_TEXT, /* Type of the control */
  311. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  312. 0, /* Particular Style of the widget */
  313. STATE_NORMAL, /* State of the control */
  314. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  315. 2, /* Start X position of the control */
  316. 41, /* Start Y position of the control */
  317. 324, /* Width of the control */
  318. 39, /* Height of the control */
  319. 255, /* Region index */
  320. (PVOID)&TV_IDC_TextBox_ATVInfo_Prog, /* Pointer to its specific param */
  321. NULL, /* Pointer to a child control list */
  322. },
  323. {
  324. NULL, /* Handle to the control */
  325. CLASS_TEXT, /* Type of the control */
  326. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  327. 0, /* Particular Style of the widget */
  328. STATE_CLICKED, /* State of the control */
  329. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  330. 2, /* Start X position of the control */
  331. 81, /* Start Y position of the control */
  332. 324, /* Width of the control */
  333. 39, /* Height of the control */
  334. 255, /* Region index */
  335. (PVOID)&TV_IDC_TextBox_ATVInfo_SoundMode, /* Pointer to its specific param */
  336. NULL, /* Pointer to a child control list */
  337. },
  338. {
  339. NULL, /* Handle to the control */
  340. CLASS_TEXT, /* Type of the control */
  341. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  342. 0, /* Particular Style of the widget */
  343. STATE_CLICKED, /* State of the control */
  344. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  345. 2, /* Start X position of the control */
  346. 121, /* Start Y position of the control */
  347. 324, /* Width of the control */
  348. 39, /* Height of the control */
  349. 255, /* Region index */
  350. (PVOID)&TV_IDC_TextBox_ATVInfo_ColorSys, /* Pointer to its specific param */
  351. NULL, /* Pointer to a child control list */
  352. },
  353. {
  354. NULL, /* Handle to the control */
  355. CLASS_TEXT, /* Type of the control */
  356. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  357. 0, /* Particular Style of the widget */
  358. STATE_CLICKED, /* State of the control */
  359. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  360. 2, /* Start X position of the control */
  361. 161, /* Start Y position of the control */
  362. 324, /* Width of the control */
  363. 39, /* Height of the control */
  364. 255, /* Region index */
  365. (PVOID)&TV_IDC_TextBox_ATVInfo_Rating, /* Pointer to its specific param */
  366. NULL, /* Pointer to a child control list */
  367. },
  368. };
  369. /* applet structure */
  370. STRUCT_APPLET TV_IDM_ATVInfo_applet = {
  371. 0, /* Current Focus Item */
  372. sizeof(TV_IDM_ATVInfo_control) / sizeof(TV_IDM_ATVInfo_control[0]), /* Number of controls */
  373. (WinControl_t*)TV_IDM_ATVInfo_control, /* Pointer to an array of a control list */
  374. };
  375. /* window structure */
  376. WinControl_t TV_IDM_ATVInfo_window= {
  377. NULL, /* Handle to the control */
  378. CLASS_WINDOW, /* Type of the control */
  379. 0, /* Style of the control */
  380. 0,
  381. WIN_NORMAL, /* State of the control */
  382. {0, 0, 0, 0}, /* State of the control */
  383. 850, /* Start X position of the control */
  384. 0, /* Start Y position of the control */
  385. 328, /* Width of the control */
  386. 202, /* Height of the control */
  387. 1, /* Region index */
  388. NULL, /* Pointer to its specific param */
  389. (PVOID)&TV_IDM_ATVInfo_applet, /* Pointer to a child control list */
  390. };