TV_IDM_Language.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_Language.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_Language.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_LanguageBackgroundC = {
  37. &TV_BgColor_19, /* background color */
  38. NULL /*background bitmap id */
  39. };
  40. border_t TV_IDC_Border =
  41. {
  42. &TV_BgColor_20, /* background color */
  43. NULL, /*background bitmap id */
  44. 1
  45. };
  46. String_id_t TV_IDC_GroupButton_string[] =
  47. {
  48. STRING_ID_INVALID,
  49. STRING_ID_INVALID,
  50. STRING_ID_INVALID,
  51. STRING_LAST
  52. };
  53. btng_text_t TV_IDC_GroupButton =
  54. {
  55. &TV_BgColor_21, /* Bg color */
  56. NULL, /* Bg icon */
  57. 0, /* Side size */
  58. {1, 44, 106, 70}, /* Pos of the first item */
  59. {11,44,86,70}, /*Position of the text*/
  60. 0, /* Offset related */
  61. &TV_TextColor_16, /* Fg color */
  62. TV_IDC_GroupButton_string, /* Fg string id */
  63. 0, /* Space */
  64. 3, /* Page item count */
  65. 3, /* Total item count */
  66. 0, /* First button index */
  67. 1, /* Focused item index */
  68. 0, /* Click item index */
  69. 0, /* Fix Char Width */
  70. NULL, /* Marrquee */
  71. NULL /* Disabled iterms */
  72. };
  73. btn_text_t TV_IDC_Button_ArrowL01 = {
  74. {2,77,11,11}, /* Positon of the button */
  75. &TV_BgColor_2, /* Bg color */
  76. &TV_BgIcon_19, /* Bg icon */
  77. 0, /* Side size */
  78. 0, /* Fix Char Width */
  79. &TV_TextColor_0, /* Text Color */
  80. {2,77,11,11}, /*Position of the text*/
  81. STRING_ID_INVALID, /* Fg string id */
  82. NULL /* Marrquee */
  83. };
  84. btn_text_t TV_IDC_Button_ArrowR01 = {
  85. {305,77,11,11}, /* Positon of the button */
  86. &TV_BgColor_2, /* Bg color */
  87. &TV_BgIcon_19, /* Bg icon */
  88. 0, /* Side size */
  89. 0, /* Fix Char Width */
  90. &TV_TextColor_0, /* Text Color */
  91. {305,77,11,11}, /*Position of the text*/
  92. STRING_ID_INVALID, /* Fg string id */
  93. NULL /* Marrquee */
  94. };
  95. btn_text_t TV_IDC_Button51 = {
  96. {14,5,308,27}, /* Positon of the button */
  97. &TV_BgColor_2, /* Bg color */
  98. NULL, /* Bg icon */
  99. 0, /* Side size */
  100. 0, /* Fix Char Width */
  101. &TV_TextColor_9, /* Text Color */
  102. {14,5,159,27}, /*Position of the text*/
  103. TV_IDS_String_OSDLanguage, /* Fg string id */
  104. NULL /* Marrquee */
  105. };
  106. bg_t TV_IDC_Background_Language_Menu = {
  107. &TV_BgColor_3, /* background color */
  108. &TV_BgIcon_4 /*background bitmap id */
  109. };
  110. WinControl_t TV_IDC_Button_Language_Menu_control[] = {
  111. {
  112. NULL, /* Handle to the control */
  113. CLASS_BACKGROUND, /* Type of the control */
  114. 0, /* Common Style of the widget */
  115. S_BG_PICTURE, /* Particular Style of the widget */
  116. STATE_NORMAL, /* State of the control */
  117. {0, 0, 0, 0}, /* Font style for each state */
  118. 165, /* Start X position of the control */
  119. 129, /* Start Y position of the control */
  120. 22, /* Width of the control */
  121. 21, /* Height of the control */
  122. 255, /* Region index */
  123. (PVOID)&TV_IDC_Background_Language_Menu, /* Pointer to its specific param */
  124. NULL, /* Pointer to a child control list */
  125. },
  126. };
  127. /* applet structure */
  128. STRUCT_APPLET TV_IDC_Button_Language_Menu_applet = {
  129. 0, /* Current Focus Item */
  130. sizeof(TV_IDC_Button_Language_Menu_control) / sizeof(TV_IDC_Button_Language_Menu_control[0]), /* Number of controls */
  131. TV_IDC_Button_Language_Menu_control, /* Pointer to an array of a control list */
  132. };
  133. btn_text_t TV_IDC_Button_Language_Menu = {
  134. {159,127,113,30}, /* Positon of the button */
  135. &TV_BgColor_0, /* Bg color */
  136. NULL, /* Bg icon */
  137. 0, /* Side size */
  138. 0, /* Fix Char Width */
  139. &TV_TextColor_3, /* Text Color */
  140. {203,127,69,30}, /*Position of the text*/
  141. TV_IDS_String_MENU, /* Fg string id */
  142. NULL /* Marrquee */
  143. };
  144. bg_t TV_IDC_ChnMgr_Pic_enter1 = {
  145. &TV_BgColor_3, /* background color */
  146. &TV_BgIcon_1 /*background bitmap id */
  147. };
  148. WinControl_t TV_IDC_ChnMgr_TextBox_rename1_control[] = {
  149. {
  150. NULL, /* Handle to the control */
  151. CLASS_BACKGROUND, /* Type of the control */
  152. 0, /* Common Style of the widget */
  153. S_BG_PICTURE, /* Particular Style of the widget */
  154. STATE_NORMAL, /* State of the control */
  155. {0, 0, 0, 0}, /* Font style for each state */
  156. 22, /* Start X position of the control */
  157. 127, /* Start Y position of the control */
  158. 37, /* Width of the control */
  159. 30, /* Height of the control */
  160. 255, /* Region index */
  161. (PVOID)&TV_IDC_ChnMgr_Pic_enter1, /* Pointer to its specific param */
  162. NULL, /* Pointer to a child control list */
  163. },
  164. };
  165. /* applet structure */
  166. STRUCT_APPLET TV_IDC_ChnMgr_TextBox_rename1_applet = {
  167. 0, /* Current Focus Item */
  168. sizeof(TV_IDC_ChnMgr_TextBox_rename1_control) / sizeof(TV_IDC_ChnMgr_TextBox_rename1_control[0]), /* Number of controls */
  169. TV_IDC_ChnMgr_TextBox_rename1_control, /* Pointer to an array of a control list */
  170. };
  171. btn_text_t TV_IDC_ChnMgr_TextBox_rename1 = {
  172. {19,127,123,33}, /* Positon of the button */
  173. &TV_BgColor_0, /* Bg color */
  174. NULL, /* Bg icon */
  175. 0, /* Side size */
  176. 0, /* Fix Char Width */
  177. &TV_TextColor_3, /* Text Color */
  178. {67,127,75,30}, /*Position of the text*/
  179. TV_IDS_String_Enter, /* Fg string id */
  180. NULL /* Marrquee */
  181. };
  182. /* window controls */
  183. WinControl_t TV_IDM_Language_control[] = {
  184. {
  185. NULL, /* Handle to the control */
  186. CLASS_BACKGROUND, /* Type of the control */
  187. 0, /* Common Style of the widget */
  188. S_BG_COLOR, /* Particular Style of the widget */
  189. STATE_NORMAL, /* State of the control */
  190. {0, 0, 0, 0}, /* Font style for each state */
  191. 0, /* Start X position of the control */
  192. 0, /* Start Y position of the control */
  193. 320, /* Width of the control */
  194. 160, /* Height of the control */
  195. 255, /* Region index */
  196. (PVOID)&TV_IDC_LanguageBackgroundC, /* Pointer to its specific param */
  197. NULL, /* Pointer to a child control list */
  198. },
  199. {
  200. NULL, /* Handle to the control */
  201. CLASS_BORDER, /* Type of the control */
  202. 0, /* Common Style of the widget */
  203. 0, /* Particular Style of the widget */
  204. STATE_NORMAL, /* State of the control */
  205. {0, 0, 0, 0}, /* Font style for each state */
  206. 0, /* Start X position of the control */
  207. 43, /* Start Y position of the control */
  208. 320, /* Width of the control */
  209. 72, /* Height of the control */
  210. 255, /* Region index */
  211. (PVOID)&TV_IDC_Border, /* Pointer to its specific param */
  212. NULL, /* Pointer to a child control list */
  213. },
  214. {
  215. NULL, /* Handle to the control */
  216. CLASS_BUTTON_GROUP, /* Type of the control */
  217. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_CTR_H, /* Common Style of the widget */
  218. S_BTN_TEXT|S_BTNG_ROLLBACK, /* Particular Style of the widget */
  219. STATE_FOCUSED, /* State of the control */
  220. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  221. 1, /* Start X position of the control */
  222. 44, /* Start Y position of the control */
  223. 318, /* Width of the control */
  224. 70, /* Height of the control */
  225. 255, /* Region index */
  226. (PVOID)&TV_IDC_GroupButton, /* Pointer to its specific param */
  227. NULL, /* Pointer to a child control list */
  228. },
  229. {
  230. NULL, /* Handle to the control */
  231. CLASS_BUTTON, /* Type of the control */
  232. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  233. S_BTN_TEXT, /* Particular Style of the widget */
  234. STATE_FOCUSED, /* State of the control */
  235. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  236. 2, /* Start X position of the control */
  237. 77, /* Start Y position of the control */
  238. 11, /* Width of the control */
  239. 11, /* Height of the control */
  240. 255, /* Region index */
  241. (PVOID)&TV_IDC_Button_ArrowL01, /* Pointer to its specific param */
  242. NULL, /* Pointer to a child control list */
  243. },
  244. {
  245. NULL, /* Handle to the control */
  246. CLASS_BUTTON, /* Type of the control */
  247. CS_PIC_MIRROR|CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  248. S_BTN_TEXT, /* Particular Style of the widget */
  249. STATE_FOCUSED, /* State of the control */
  250. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  251. 305, /* Start X position of the control */
  252. 77, /* Start Y position of the control */
  253. 11, /* Width of the control */
  254. 11, /* Height of the control */
  255. 255, /* Region index */
  256. (PVOID)&TV_IDC_Button_ArrowR01, /* Pointer to its specific param */
  257. NULL, /* Pointer to a child control list */
  258. },
  259. {
  260. NULL, /* Handle to the control */
  261. CLASS_BUTTON, /* Type of the control */
  262. CS_FONT_LEFT|CS_FONT_V_TOP, /* Common Style of the widget */
  263. S_BTN_TEXT, /* Particular Style of the widget */
  264. STATE_NORMAL, /* State of the control */
  265. {TV_Standard, TV_Standard, TV_Large, TV_Large}, /* Font style for each state */
  266. 14, /* Start X position of the control */
  267. 5, /* Start Y position of the control */
  268. 308, /* Width of the control */
  269. 27, /* Height of the control */
  270. 255, /* Region index */
  271. (PVOID)&TV_IDC_Button51, /* Pointer to its specific param */
  272. NULL, /* Pointer to a child control list */
  273. },
  274. {
  275. NULL, /* Handle to the control */
  276. CLASS_BUTTON, /* Type of the control */
  277. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  278. S_BTN_TEXT, /* Particular Style of the widget */
  279. STATE_NORMAL, /* State of the control */
  280. {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  281. 155, /* Start X position of the control */
  282. 127, /* Start Y position of the control */
  283. 117, /* Width of the control */
  284. 30, /* Height of the control */
  285. 255, /* Region index */
  286. (PVOID)&TV_IDC_Button_Language_Menu, /* Pointer to its specific param */
  287. (PVOID)&TV_IDC_Button_Language_Menu_applet, /* Pointer to a child control list */
  288. },
  289. {
  290. NULL, /* Handle to the control */
  291. CLASS_BUTTON, /* Type of the control */
  292. CS_PIC_REPEAT|CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  293. S_BTN_TEXT, /* Particular Style of the widget */
  294. STATE_NORMAL, /* State of the control */
  295. {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  296. 19, /* Start X position of the control */
  297. 127, /* Start Y position of the control */
  298. 123, /* Width of the control */
  299. 33, /* Height of the control */
  300. 255, /* Region index */
  301. (PVOID)&TV_IDC_ChnMgr_TextBox_rename1, /* Pointer to its specific param */
  302. (PVOID)&TV_IDC_ChnMgr_TextBox_rename1_applet, /* Pointer to a child control list */
  303. },
  304. };
  305. /* applet structure */
  306. STRUCT_APPLET TV_IDM_Language_applet = {
  307. 0, /* Current Focus Item */
  308. sizeof(TV_IDM_Language_control) / sizeof(TV_IDM_Language_control[0]), /* Number of controls */
  309. (WinControl_t*)TV_IDM_Language_control, /* Pointer to an array of a control list */
  310. };
  311. /* window structure */
  312. WinControl_t TV_IDM_Language_window= {
  313. NULL, /* Handle to the control */
  314. CLASS_WINDOW, /* Type of the control */
  315. 0, /* Style of the control */
  316. 0,
  317. WIN_NORMAL, /* State of the control */
  318. {0, 0, 0, 0}, /* State of the control */
  319. 600, /* Start X position of the control */
  320. 54, /* Start Y position of the control */
  321. 322, /* Width of the control */
  322. 160, /* Height of the control */
  323. 0, /* Region index */
  324. NULL, /* Pointer to its specific param */
  325. (PVOID)&TV_IDM_Language_applet, /* Pointer to a child control list */
  326. };