TV_IDM_SelectFavNet.c 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_SelectFavNet.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_SelectFavNet.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_Background_FavNet = {
  37. &TV_BgColor_4, /* background color */
  38. NULL /*background bitmap id */
  39. };
  40. btn_text_t TV_IDC_Button_FavNet_title = {
  41. {0,0,620,47}, /* Positon of the button */
  42. &TV_BgColor_6, /* Bg color */
  43. &TV_BgIcon_8, /* Bg icon */
  44. 9, /* Side size */
  45. 0, /* Fix Char Width */
  46. &TV_TextColor_83, /* Text Color */
  47. {0,0,620,47}, /*Position of the text*/
  48. TV_IDS_String_SelectFavNet, /* Fg string id */
  49. NULL /* Marrquee */
  50. };
  51. list_color_t TV_IDC_ListView_FavNet_listcolor =
  52. {
  53. {234,234,234,228}, /* Bg color for odd items */
  54. {213,213,213,220}, /* Bg color for even items */
  55. {255,193,30,255}, /* Bg color for the focused item */
  56. {255,0,255,0} /* Bg color for the clicked item */
  57. };
  58. listview_t TV_IDC_ListView_FavNet =
  59. {
  60. &TV_IDC_ListView_FavNet_listcolor,
  61. ICON_ID_INVALID, /* Icon to show on the focused item */
  62. ICON_ID_INVALID, /* Icon to show on the clicked item */
  63. 0, /* Side size */
  64. {11, 49, 580, 47}, /* First item pos */
  65. {11,49,580,47}, /* Focus color pos */
  66. {11,49,580,47}, /* Focus icon pos */
  67. {11,49,580,47}, /*Position of the text*/
  68. 0, /* Offset related */
  69. &TV_TextColor_69, /* Fg color */
  70. NULL, /* Fg string id */
  71. NULL, /* Dynamic string text */
  72. 0, /* Space */
  73. 6, /* Page item count */
  74. 0, /* Total item count */
  75. 0, /* First list index */
  76. 0, /* Focused item index */
  77. 0, /* Click item index */
  78. 0, /* Fix Char Width */
  79. NULL, /* Marrquee */
  80. NULL, /* Disabled items */
  81. };
  82. prog_color_t TV_IDC_ScrollBar_FavNet_color =
  83. {
  84. {47,43,71,255},
  85. {21,21,21,255},
  86. {52,52,52,255},
  87. {37,37,37,255},
  88. {47,43,71,255},
  89. {213,213,213,220},
  90. {46,46,46,255},
  91. {27,27,27,255}
  92. };
  93. scroll_basic_t TV_IDC_ScrollBar_FavNet =
  94. {
  95. {603,47,10,282}, /* Positon of the bar */
  96. 20, /* Max value */
  97. 6, /* Page Count */
  98. 0, /* Current value */
  99. 5, /* Slider Size */
  100. &TV_IDC_ScrollBar_FavNet_color, /* Bar color */
  101. };
  102. btn_text_t TV_IDC_Button_FavNet_Enter_Info = {
  103. {393,336,72,28}, /* Positon of the button */
  104. &TV_BgColor_15, /* Bg color */
  105. &TV_BgIcon_17, /* Bg icon */
  106. 0, /* Side size */
  107. 0, /* Fix Char Width */
  108. &TV_TextColor_52, /* Text Color */
  109. {393,336,72,28}, /*Position of the text*/
  110. STRING_ID_INVALID, /* Fg string id */
  111. NULL /* Marrquee */
  112. };
  113. btn_text_t TV_IDC_Button_FavNet_Enter = {
  114. {480,332,100,38}, /* Positon of the button */
  115. &TV_BgColor_23, /* Bg color */
  116. NULL, /* Bg icon */
  117. 0, /* Side size */
  118. 0, /* Fix Char Width */
  119. &TV_TextColor_154, /* Text Color */
  120. {480,332,66,38}, /*Position of the text*/
  121. TV_IDS_String_Enter, /* Fg string id */
  122. NULL /* Marrquee */
  123. };
  124. btn_text_t TV_IDC_Button_FavNet_Return_Info = {
  125. {103,335,78,30}, /* Positon of the button */
  126. &TV_BgColor_15, /* Bg color */
  127. &TV_BgIcon_14, /* Bg icon */
  128. 0, /* Side size */
  129. 0, /* Fix Char Width */
  130. &TV_TextColor_48, /* Text Color */
  131. {103,335,78,30}, /*Position of the text*/
  132. STRING_ID_INVALID, /* Fg string id */
  133. NULL /* Marrquee */
  134. };
  135. btn_text_t TV_IDC_Button_FavNet_Return = {
  136. {173,329,105,38}, /* Positon of the button */
  137. &TV_BgColor_15, /* Bg color */
  138. NULL, /* Bg icon */
  139. 0, /* Side size */
  140. 0, /* Fix Char Width */
  141. &TV_TextColor_155, /* Text Color */
  142. {183,329,95,38}, /*Position of the text*/
  143. TV_IDS_String_Exit, /* Fg string id */
  144. NULL /* Marrquee */
  145. };
  146. /* window controls */
  147. WinControl_t TV_IDM_SelectFavNet_control[] = {
  148. {
  149. NULL, /* Handle to the control */
  150. CLASS_BACKGROUND, /* Type of the control */
  151. 0, /* Common Style of the widget */
  152. S_BG_COLOR, /* Particular Style of the widget */
  153. STATE_NORMAL, /* State of the control */
  154. {0, 0, 0, 0}, /* Font style for each state */
  155. 0, /* Start X position of the control */
  156. 47, /* Start Y position of the control */
  157. 620, /* Width of the control */
  158. 320, /* Height of the control */
  159. 255, /* Region index */
  160. (PVOID)&TV_IDC_Background_FavNet, /* Pointer to its specific param */
  161. NULL, /* Pointer to a child control list */
  162. },
  163. {
  164. NULL, /* Handle to the control */
  165. CLASS_BUTTON, /* Type of the control */
  166. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  167. S_BTN_TEXT, /* Particular Style of the widget */
  168. STATE_NORMAL, /* State of the control */
  169. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  170. 0, /* Start X position of the control */
  171. 0, /* Start Y position of the control */
  172. 620, /* Width of the control */
  173. 47, /* Height of the control */
  174. 255, /* Region index */
  175. (PVOID)&TV_IDC_Button_FavNet_title, /* Pointer to its specific param */
  176. NULL, /* Pointer to a child control list */
  177. },
  178. {
  179. NULL, /* Handle to the control */
  180. CLASS_LISTVIEW, /* Type of the control */
  181. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  182. S_LIST_ONEBYONE, /* Particular Style of the widget */
  183. STATE_FOCUSED, /* State of the control */
  184. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  185. 11, /* Start X position of the control */
  186. 49, /* Start Y position of the control */
  187. 580, /* Width of the control */
  188. 282, /* Height of the control */
  189. 255, /* Region index */
  190. (PVOID)&TV_IDC_ListView_FavNet, /* Pointer to its specific param */
  191. NULL, /* Pointer to a child control list */
  192. },
  193. {
  194. NULL, /* Handle to the control */
  195. CLASS_SCROLL, /* Type of the control */
  196. CS_CTR_V, /* Common Style of the widget */
  197. S_SCROLL_BASIC, /* Particular Style of the widget */
  198. STATE_NORMAL, /* State of the control */
  199. {0, 0, 0, 0}, /* Font style for each state */
  200. 603, /* Start X position of the control */
  201. 47, /* Start Y position of the control */
  202. 10, /* Width of the control */
  203. 284, /* Height of the control */
  204. 255, /* Region index */
  205. (PVOID)&TV_IDC_ScrollBar_FavNet, /* Pointer to its specific param */
  206. NULL, /* Pointer to a child control list */
  207. },
  208. {
  209. NULL, /* Handle to the control */
  210. CLASS_BUTTON, /* Type of the control */
  211. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  212. S_BTN_TEXT, /* Particular Style of the widget */
  213. STATE_NORMAL, /* State of the control */
  214. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  215. 393, /* Start X position of the control */
  216. 336, /* Start Y position of the control */
  217. 72, /* Width of the control */
  218. 28, /* Height of the control */
  219. 255, /* Region index */
  220. (PVOID)&TV_IDC_Button_FavNet_Enter_Info, /* Pointer to its specific param */
  221. NULL, /* Pointer to a child control list */
  222. },
  223. {
  224. NULL, /* Handle to the control */
  225. CLASS_BUTTON, /* Type of the control */
  226. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  227. S_BTN_TEXT, /* Particular Style of the widget */
  228. STATE_NORMAL, /* State of the control */
  229. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  230. 480, /* Start X position of the control */
  231. 332, /* Start Y position of the control */
  232. 100, /* Width of the control */
  233. 38, /* Height of the control */
  234. 255, /* Region index */
  235. (PVOID)&TV_IDC_Button_FavNet_Enter, /* Pointer to its specific param */
  236. NULL, /* Pointer to a child control list */
  237. },
  238. {
  239. NULL, /* Handle to the control */
  240. CLASS_BUTTON, /* Type of the control */
  241. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  242. S_BTN_TEXT, /* Particular Style of the widget */
  243. STATE_NORMAL, /* State of the control */
  244. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  245. 103, /* Start X position of the control */
  246. 335, /* Start Y position of the control */
  247. 78, /* Width of the control */
  248. 30, /* Height of the control */
  249. 255, /* Region index */
  250. (PVOID)&TV_IDC_Button_FavNet_Return_Info, /* Pointer to its specific param */
  251. NULL, /* Pointer to a child control list */
  252. },
  253. {
  254. NULL, /* Handle to the control */
  255. CLASS_BUTTON, /* Type of the control */
  256. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  257. S_BTN_TEXT, /* Particular Style of the widget */
  258. STATE_NORMAL, /* State of the control */
  259. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  260. 173, /* Start X position of the control */
  261. 329, /* Start Y position of the control */
  262. 105, /* Width of the control */
  263. 38, /* Height of the control */
  264. 255, /* Region index */
  265. (PVOID)&TV_IDC_Button_FavNet_Return, /* Pointer to its specific param */
  266. NULL, /* Pointer to a child control list */
  267. },
  268. };
  269. /* applet structure */
  270. STRUCT_APPLET TV_IDM_SelectFavNet_applet = {
  271. 0, /* Current Focus Item */
  272. sizeof(TV_IDM_SelectFavNet_control) / sizeof(TV_IDM_SelectFavNet_control[0]), /* Number of controls */
  273. (WinControl_t*)TV_IDM_SelectFavNet_control, /* Pointer to an array of a control list */
  274. };
  275. /* window structure */
  276. WinControl_t TV_IDM_SelectFavNet_window= {
  277. NULL, /* Handle to the control */
  278. CLASS_POPUP, /* Type of the control */
  279. CAPTURE, /* Style of the control */
  280. 0,
  281. WIN_NORMAL, /* State of the control */
  282. {0, 0, 0, 0}, /* State of the control */
  283. 340, /* Start X position of the control */
  284. 125, /* Start Y position of the control */
  285. 650, /* Width of the control */
  286. 450, /* Height of the control */
  287. 1, /* Region index */
  288. NULL, /* Pointer to its specific param */
  289. (PVOID)&TV_IDM_SelectFavNet_applet, /* Pointer to a child control list */
  290. };