TV_IDM_LcnMultChnDetect.c 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_LcnMultChnDetect.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_LcnMultChnDetect.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_MultChnListDetect_BG = {
  37. &TV_BgColor_152, /* background color */
  38. NULL /*background bitmap id */
  39. };
  40. border_t TV_IDC_MultChnListDetect_Border =
  41. {
  42. &TV_BgColor_153, /* background color */
  43. NULL, /*background bitmap id */
  44. 2
  45. };
  46. btn_text_t TV_IDC_MultChnListDetect_Text_Button_Title = {
  47. {0,0,430,47}, /* Positon of the button */
  48. &TV_BgColor_6, /* Bg color */
  49. &TV_BgIcon_8, /* Bg icon */
  50. 9, /* Side size */
  51. 0, /* Fix Char Width */
  52. &TV_TextColor_83, /* Text Color */
  53. {0,0,430,47}, /*Position of the text*/
  54. STRING_ID_INVALID, /* Fg string id */
  55. NULL /* Marrquee */
  56. };
  57. text_box_t TV_IDC_MultChnListDetect_Text_title =
  58. {
  59. 0, /* Language name */
  60. &TV_BgColor_6, /* Bg color */
  61. &TV_TextColor_170, /* Text Color */
  62. {0,7,428,30}, /*Position of the text*/
  63. TV_IDS_String_Multi_channelList_detect, /* Fg string id */
  64. NULL, /* String */
  65. NULL, /* Marrquee */
  66. 0 /* Fix Char Width */
  67. };
  68. text_box_t TV_IDC_MultChnListDetect_Text =
  69. {
  70. 0, /* Language name */
  71. &TV_BgColor_6, /* Bg color */
  72. &TV_TextColor_171, /* Text Color */
  73. {2,59,428,30}, /*Position of the text*/
  74. TV_IDS_String_Please_select_a_prefered_list, /* Fg string id */
  75. NULL, /* String */
  76. NULL, /* Marrquee */
  77. 0 /* Fix Char Width */
  78. };
  79. border_t TV_IDC_MultChnListDetect_Border2 =
  80. {
  81. &TV_BgColor_154, /* background color */
  82. NULL, /*background bitmap id */
  83. 1
  84. };
  85. WinControl_t TV_IDC_MultChnListDetect_ListView_control[] = {
  86. {
  87. NULL, /* Handle to the control */
  88. CLASS_BORDER, /* Type of the control */
  89. 0, /* Common Style of the widget */
  90. 0, /* Particular Style of the widget */
  91. STATE_FOCUSED, /* State of the control */
  92. {0, 0, 0, 0}, /* Font style for each state */
  93. 24, /* Start X position of the control */
  94. 104, /* Start Y position of the control */
  95. 390, /* Width of the control */
  96. 120, /* Height of the control */
  97. 255, /* Region index */
  98. (PVOID)&TV_IDC_MultChnListDetect_Border2, /* Pointer to its specific param */
  99. NULL, /* Pointer to a child control list */
  100. },
  101. };
  102. /* applet structure */
  103. STRUCT_APPLET TV_IDC_MultChnListDetect_ListView_applet = {
  104. 0, /* Current Focus Item */
  105. sizeof(TV_IDC_MultChnListDetect_ListView_control) / sizeof(TV_IDC_MultChnListDetect_ListView_control[0]), /* Number of controls */
  106. TV_IDC_MultChnListDetect_ListView_control, /* Pointer to an array of a control list */
  107. };
  108. list_color_t TV_IDC_MultChnListDetect_ListView_listcolor =
  109. {
  110. {234,234,234,228}, /* Bg color for odd items */
  111. {213,213,213,220}, /* Bg color for even items */
  112. {0,153,203,255}, /* Bg color for the focused item */
  113. {255,0,255,0} /* Bg color for the clicked item */
  114. };
  115. listview_t TV_IDC_MultChnListDetect_ListView =
  116. {
  117. &TV_IDC_MultChnListDetect_ListView_listcolor,
  118. ICON_ID_INVALID, /* Icon to show on the focused item */
  119. ICON_ID_INVALID, /* Icon to show on the clicked item */
  120. 0, /* Side size */
  121. {24, 104, 390, 24}, /* First item pos */
  122. {24,104,390,24}, /* Focus color pos */
  123. {24,104,390,24}, /* Focus icon pos */
  124. {24,104,390,24}, /*Position of the text*/
  125. 0, /* Offset related */
  126. &TV_TextColor_172, /* Fg color */
  127. NULL, /* Fg string id */
  128. NULL, /* Dynamic string text */
  129. 0, /* Space */
  130. 5, /* Page item count */
  131. 0, /* Total item count */
  132. 0, /* First list index */
  133. 0, /* Focused item index */
  134. 0, /* Click item index */
  135. 0, /* Fix Char Width */
  136. NULL, /* Marrquee */
  137. NULL, /* Disabled items */
  138. };
  139. btn_mix_t TV_IDC_MultChnListDetect_Move = {
  140. {10,259,184,30}, /* Positon of the button */
  141. &TV_BgColor_155, /* Bg color */
  142. NULL, /* Bg icon */
  143. 0, /* Side size */
  144. 0, /* Fix Char Width */
  145. &TV_TextColor_52, /* Text Color */
  146. TV_IDS_String_Move, /* Fg string id */
  147. TV_IDB_guide_move_1bmp,
  148. {77,259,112,30}, /* Pos of the fg string */
  149. {11,263,59,24}, /* Pos of the fg icon */
  150. NULL /* Marrquee */
  151. };
  152. btn_mix_t TV_IDC_MultChnListDetect_OK = {
  153. {210,259,218,30}, /* Positon of the button */
  154. &TV_BgColor_155, /* Bg color */
  155. NULL, /* Bg icon */
  156. 0, /* Side size */
  157. 0, /* Fix Char Width */
  158. &TV_TextColor_52, /* Text Color */
  159. TV_IDS_String_Select, /* Fg string id */
  160. TV_IDB_guide_enter_okbmp,
  161. {274,259,154,30}, /* Pos of the fg string */
  162. {211,263,59,24}, /* Pos of the fg icon */
  163. NULL /* Marrquee */
  164. };
  165. /* window controls */
  166. WinControl_t TV_IDM_LcnMultChnDetect_control[] = {
  167. {
  168. NULL, /* Handle to the control */
  169. CLASS_BACKGROUND, /* Type of the control */
  170. 0, /* Common Style of the widget */
  171. S_BG_COLOR, /* Particular Style of the widget */
  172. STATE_NORMAL, /* State of the control */
  173. {0, 0, 0, 0}, /* Font style for each state */
  174. 0, /* Start X position of the control */
  175. 1, /* Start Y position of the control */
  176. 430, /* Width of the control */
  177. 299, /* Height of the control */
  178. 255, /* Region index */
  179. (PVOID)&TV_IDC_MultChnListDetect_BG, /* Pointer to its specific param */
  180. NULL, /* Pointer to a child control list */
  181. },
  182. {
  183. NULL, /* Handle to the control */
  184. CLASS_BORDER, /* Type of the control */
  185. 0, /* Common Style of the widget */
  186. 0, /* Particular Style of the widget */
  187. STATE_NORMAL, /* State of the control */
  188. {0, 0, 0, 0}, /* Font style for each state */
  189. 0, /* Start X position of the control */
  190. 0, /* Start Y position of the control */
  191. 430, /* Width of the control */
  192. 300, /* Height of the control */
  193. 255, /* Region index */
  194. (PVOID)&TV_IDC_MultChnListDetect_Border, /* Pointer to its specific param */
  195. NULL, /* Pointer to a child control list */
  196. },
  197. {
  198. NULL, /* Handle to the control */
  199. CLASS_BUTTON, /* Type of the control */
  200. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  201. S_BTN_TEXT, /* Particular Style of the widget */
  202. STATE_NORMAL, /* State of the control */
  203. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  204. 0, /* Start X position of the control */
  205. 0, /* Start Y position of the control */
  206. 430, /* Width of the control */
  207. 47, /* Height of the control */
  208. 255, /* Region index */
  209. (PVOID)&TV_IDC_MultChnListDetect_Text_Button_Title, /* Pointer to its specific param */
  210. NULL, /* Pointer to a child control list */
  211. },
  212. {
  213. NULL, /* Handle to the control */
  214. CLASS_TEXT, /* Type of the control */
  215. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_FONT_MARQUEE, /* Common Style of the widget */
  216. 0, /* Particular Style of the widget */
  217. STATE_NORMAL, /* State of the control */
  218. {TV_Small, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  219. 0, /* Start X position of the control */
  220. 7, /* Start Y position of the control */
  221. 428, /* Width of the control */
  222. 30, /* Height of the control */
  223. 255, /* Region index */
  224. (PVOID)&TV_IDC_MultChnListDetect_Text_title, /* Pointer to its specific param */
  225. NULL, /* Pointer to a child control list */
  226. },
  227. {
  228. NULL, /* Handle to the control */
  229. CLASS_TEXT, /* Type of the control */
  230. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_FONT_MARQUEE, /* Common Style of the widget */
  231. 0, /* Particular Style of the widget */
  232. STATE_NORMAL, /* State of the control */
  233. {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  234. 2, /* Start X position of the control */
  235. 59, /* Start Y position of the control */
  236. 428, /* Width of the control */
  237. 30, /* Height of the control */
  238. 255, /* Region index */
  239. (PVOID)&TV_IDC_MultChnListDetect_Text, /* Pointer to its specific param */
  240. NULL, /* Pointer to a child control list */
  241. },
  242. {
  243. NULL, /* Handle to the control */
  244. CLASS_LISTVIEW, /* Type of the control */
  245. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_FONT_MARQUEE, /* Common Style of the widget */
  246. S_LIST_ROLLBACK|S_LIST_ONEBYONE, /* Particular Style of the widget */
  247. STATE_FOCUSED, /* State of the control */
  248. {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  249. 24, /* Start X position of the control */
  250. 104, /* Start Y position of the control */
  251. 390, /* Width of the control */
  252. 120, /* Height of the control */
  253. 255, /* Region index */
  254. (PVOID)&TV_IDC_MultChnListDetect_ListView, /* Pointer to its specific param */
  255. (PVOID)&TV_IDC_MultChnListDetect_ListView_applet, /* Pointer to a child control list */
  256. },
  257. {
  258. NULL, /* Handle to the control */
  259. CLASS_BUTTON, /* Type of the control */
  260. CS_FONT_LEFT|CS_FONT_V_TOP, /* Common Style of the widget */
  261. S_BTN_MIX, /* Particular Style of the widget */
  262. STATE_NORMAL, /* State of the control */
  263. {TV_Small, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  264. 10, /* Start X position of the control */
  265. 259, /* Start Y position of the control */
  266. 184, /* Width of the control */
  267. 30, /* Height of the control */
  268. 255, /* Region index */
  269. (PVOID)&TV_IDC_MultChnListDetect_Move, /* Pointer to its specific param */
  270. NULL, /* Pointer to a child control list */
  271. },
  272. {
  273. NULL, /* Handle to the control */
  274. CLASS_BUTTON, /* Type of the control */
  275. CS_FONT_LEFT|CS_FONT_V_TOP, /* Common Style of the widget */
  276. S_BTN_MIX, /* Particular Style of the widget */
  277. STATE_NORMAL, /* State of the control */
  278. {TV_Small, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  279. 210, /* Start X position of the control */
  280. 259, /* Start Y position of the control */
  281. 218, /* Width of the control */
  282. 30, /* Height of the control */
  283. 255, /* Region index */
  284. (PVOID)&TV_IDC_MultChnListDetect_OK, /* Pointer to its specific param */
  285. NULL, /* Pointer to a child control list */
  286. },
  287. };
  288. /* applet structure */
  289. STRUCT_APPLET TV_IDM_LcnMultChnDetect_applet = {
  290. 0, /* Current Focus Item */
  291. sizeof(TV_IDM_LcnMultChnDetect_control) / sizeof(TV_IDM_LcnMultChnDetect_control[0]), /* Number of controls */
  292. (WinControl_t*)TV_IDM_LcnMultChnDetect_control, /* Pointer to an array of a control list */
  293. };
  294. /* window structure */
  295. WinControl_t TV_IDM_LcnMultChnDetect_window= {
  296. NULL, /* Handle to the control */
  297. CLASS_POPUP, /* Type of the control */
  298. CAPTURE, /* Style of the control */
  299. 0,
  300. WIN_NORMAL, /* State of the control */
  301. {0, 0, 0, 0}, /* State of the control */
  302. 393, /* Start X position of the control */
  303. 217, /* Start Y position of the control */
  304. 430, /* Width of the control */
  305. 300, /* Height of the control */
  306. 1, /* Region index */
  307. NULL, /* Pointer to its specific param */
  308. (PVOID)&TV_IDM_LcnMultChnDetect_applet, /* Pointer to a child control list */
  309. };