TV_IDM_Help.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_Help.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_Help.h"
  35. #include "TV_font_style_define.h"
  36. btn_text_t TV_IDC_Help_bg = {
  37. {0,47,630,493}, /* Positon of the button */
  38. &TV_BgColor_12, /* Bg color */
  39. NULL, /* Bg icon */
  40. 0, /* Side size */
  41. 0, /* Fix Char Width */
  42. &TV_TextColor_52, /* Text Color */
  43. {0,47,630,493}, /*Position of the text*/
  44. STRING_ID_INVALID, /* Fg string id */
  45. NULL /* Marrquee */
  46. };
  47. btn_text_t TV_IDC_Help_tail = {
  48. {0,524,630,16}, /* Positon of the button */
  49. &TV_BgColor_66, /* Bg color */
  50. &TV_BgIcon_80, /* Bg icon */
  51. 0, /* Side size */
  52. 0, /* Fix Char Width */
  53. &TV_TextColor_52, /* Text Color */
  54. {0,524,630,16}, /*Position of the text*/
  55. STRING_ID_INVALID, /* Fg string id */
  56. NULL /* Marrquee */
  57. };
  58. btn_text_t TV_IDC_Help_title = {
  59. {0,0,630,47}, /* Positon of the button */
  60. &TV_BgColor_6, /* Bg color */
  61. &TV_BgIcon_8, /* Bg icon */
  62. 9, /* Side size */
  63. 0, /* Fix Char Width */
  64. &TV_TextColor_83, /* Text Color */
  65. {0,0,630,47}, /*Position of the text*/
  66. TV_IDS_String_Message, /* Fg string id */
  67. NULL /* Marrquee */
  68. };
  69. text_box_t TV_IDC_Help_Advice_info =
  70. {
  71. 0, /* Language name */
  72. &TV_BgColor_12, /* Bg color */
  73. &TV_TextColor_52, /* Text Color */
  74. {33,55,570,60}, /*Position of the text*/
  75. TV_IDS_String_CallHelpNumber, /* Fg string id */
  76. NULL, /* String */
  77. NULL, /* Marrquee */
  78. 0 /* Fix Char Width */
  79. };
  80. text_box_multi_t TV_IDC_Help_Advice =
  81. {
  82. &TV_IDC_Help_Advice_info,
  83. NULL, /* Ebook */
  84. NULL, /* dyn_info */
  85. 0 /* Line spacing */
  86. };
  87. text_box_t TV_IDC_Help_Advice1_info =
  88. {
  89. 0, /* Language name */
  90. &TV_BgColor_12, /* Bg color */
  91. &TV_TextColor_52, /* Text Color */
  92. {127,125,384,60}, /*Position of the text*/
  93. TV_IDS_String_CallLCDHelpLine, /* Fg string id */
  94. NULL, /* String */
  95. NULL, /* Marrquee */
  96. 0 /* Fix Char Width */
  97. };
  98. text_box_multi_t TV_IDC_Help_Advice1 =
  99. {
  100. &TV_IDC_Help_Advice1_info,
  101. NULL, /* Ebook */
  102. NULL, /* dyn_info */
  103. 0 /* Line spacing */
  104. };
  105. text_box_t TV_IDC_Help_Number_info =
  106. {
  107. 0, /* Language name */
  108. &TV_BgColor_12, /* Bg color */
  109. &TV_TextColor_52, /* Text Color */
  110. {193,208,252,34}, /*Position of the text*/
  111. STRING_ID_INVALID, /* Fg string id */
  112. NULL, /* String */
  113. NULL, /* Marrquee */
  114. 0 /* Fix Char Width */
  115. };
  116. text_box_multi_t TV_IDC_Help_Number =
  117. {
  118. &TV_IDC_Help_Number_info,
  119. NULL, /* Ebook */
  120. NULL, /* dyn_info */
  121. 0 /* Line spacing */
  122. };
  123. text_box_t TV_IDC_Help_GoldCare_info =
  124. {
  125. 0, /* Language name */
  126. &TV_BgColor_12, /* Bg color */
  127. &TV_TextColor_52, /* Text Color */
  128. {191,252,252,34}, /*Position of the text*/
  129. TV_IDS_String_OrGoldCare, /* Fg string id */
  130. NULL, /* String */
  131. NULL, /* Marrquee */
  132. 0 /* Fix Char Width */
  133. };
  134. text_box_multi_t TV_IDC_Help_GoldCare =
  135. {
  136. &TV_IDC_Help_GoldCare_info,
  137. NULL, /* Ebook */
  138. NULL, /* dyn_info */
  139. 0 /* Line spacing */
  140. };
  141. text_box_t TV_IDC_Help_GoldCareNumber_info =
  142. {
  143. 0, /* Language name */
  144. &TV_BgColor_12, /* Bg color */
  145. &TV_TextColor_52, /* Text Color */
  146. {191,299,252,34}, /*Position of the text*/
  147. STRING_ID_INVALID, /* Fg string id */
  148. NULL, /* String */
  149. NULL, /* Marrquee */
  150. 0 /* Fix Char Width */
  151. };
  152. text_box_multi_t TV_IDC_Help_GoldCareNumber =
  153. {
  154. &TV_IDC_Help_GoldCareNumber_info,
  155. NULL, /* Ebook */
  156. NULL, /* dyn_info */
  157. 0 /* Line spacing */
  158. };
  159. text_box_t TV_IDC_Help_Notice_info =
  160. {
  161. 0, /* Language name */
  162. &TV_BgColor_12, /* Bg color */
  163. &TV_TextColor_52, /* Text Color */
  164. {50,349,534,34}, /*Position of the text*/
  165. TV_IDS_String_AnswerTheCall, /* Fg string id */
  166. NULL, /* String */
  167. NULL, /* Marrquee */
  168. 0 /* Fix Char Width */
  169. };
  170. text_box_multi_t TV_IDC_Help_Notice =
  171. {
  172. &TV_IDC_Help_Notice_info,
  173. NULL, /* Ebook */
  174. NULL, /* dyn_info */
  175. 0 /* Line spacing */
  176. };
  177. text_box_t TV_IDC_Help_Notice1_info =
  178. {
  179. 0, /* Language name */
  180. &TV_BgColor_12, /* Bg color */
  181. &TV_TextColor_52, /* Text Color */
  182. {25,383,580,62}, /*Position of the text*/
  183. TV_IDS_String_StandardBTLandLineCost, /* Fg string id */
  184. NULL, /* String */
  185. NULL, /* Marrquee */
  186. 0 /* Fix Char Width */
  187. };
  188. text_box_multi_t TV_IDC_Help_Notice1 =
  189. {
  190. &TV_IDC_Help_Notice1_info,
  191. NULL, /* Ebook */
  192. NULL, /* dyn_info */
  193. 0 /* Line spacing */
  194. };
  195. text_box_t TV_IDC_Help_Notice2_info =
  196. {
  197. 0, /* Language name */
  198. &TV_BgColor_12, /* Bg color */
  199. &TV_TextColor_52, /* Text Color */
  200. {23,447,585,69}, /*Position of the text*/
  201. TV_IDS_String_BTLandLineChargeAtLocalRate, /* Fg string id */
  202. NULL, /* String */
  203. NULL, /* Marrquee */
  204. 0 /* Fix Char Width */
  205. };
  206. text_box_multi_t TV_IDC_Help_Notice2 =
  207. {
  208. &TV_IDC_Help_Notice2_info,
  209. NULL, /* Ebook */
  210. NULL, /* dyn_info */
  211. 0 /* Line spacing */
  212. };
  213. /* window controls */
  214. WinControl_t TV_IDM_Help_control[] = {
  215. {
  216. NULL, /* Handle to the control */
  217. CLASS_BUTTON, /* Type of the control */
  218. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  219. S_BTN_TEXT, /* Particular Style of the widget */
  220. STATE_NORMAL, /* State of the control */
  221. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  222. 0, /* Start X position of the control */
  223. 47, /* Start Y position of the control */
  224. 630, /* Width of the control */
  225. 493, /* Height of the control */
  226. 255, /* Region index */
  227. (PVOID)&TV_IDC_Help_bg, /* Pointer to its specific param */
  228. NULL, /* Pointer to a child control list */
  229. },
  230. {
  231. NULL, /* Handle to the control */
  232. CLASS_BUTTON, /* Type of the control */
  233. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  234. S_BTN_TEXT, /* Particular Style of the widget */
  235. STATE_NORMAL, /* State of the control */
  236. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  237. 0, /* Start X position of the control */
  238. 524, /* Start Y position of the control */
  239. 630, /* Width of the control */
  240. 16, /* Height of the control */
  241. 255, /* Region index */
  242. (PVOID)&TV_IDC_Help_tail, /* Pointer to its specific param */
  243. NULL, /* Pointer to a child control list */
  244. },
  245. {
  246. NULL, /* Handle to the control */
  247. CLASS_BUTTON, /* Type of the control */
  248. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  249. S_BTN_TEXT, /* Particular Style of the widget */
  250. STATE_NORMAL, /* State of the control */
  251. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  252. 0, /* Start X position of the control */
  253. 0, /* Start Y position of the control */
  254. 630, /* Width of the control */
  255. 47, /* Height of the control */
  256. 255, /* Region index */
  257. (PVOID)&TV_IDC_Help_title, /* Pointer to its specific param */
  258. NULL, /* Pointer to a child control list */
  259. },
  260. {
  261. NULL, /* Handle to the control */
  262. CLASS_TEXT, /* Type of the control */
  263. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  264. S_TXT_MULTI, /* Particular Style of the widget */
  265. STATE_NORMAL, /* State of the control */
  266. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  267. 33, /* Start X position of the control */
  268. 55, /* Start Y position of the control */
  269. 570, /* Width of the control */
  270. 60, /* Height of the control */
  271. 255, /* Region index */
  272. (PVOID)&TV_IDC_Help_Advice, /* Pointer to its specific param */
  273. NULL, /* Pointer to a child control list */
  274. },
  275. {
  276. NULL, /* Handle to the control */
  277. CLASS_TEXT, /* Type of the control */
  278. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  279. S_TXT_MULTI, /* Particular Style of the widget */
  280. STATE_NORMAL, /* State of the control */
  281. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  282. 127, /* Start X position of the control */
  283. 125, /* Start Y position of the control */
  284. 384, /* Width of the control */
  285. 60, /* Height of the control */
  286. 255, /* Region index */
  287. (PVOID)&TV_IDC_Help_Advice1, /* Pointer to its specific param */
  288. NULL, /* Pointer to a child control list */
  289. },
  290. {
  291. NULL, /* Handle to the control */
  292. CLASS_TEXT, /* Type of the control */
  293. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  294. S_TXT_MULTI, /* Particular Style of the widget */
  295. STATE_NORMAL, /* State of the control */
  296. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  297. 193, /* Start X position of the control */
  298. 208, /* Start Y position of the control */
  299. 252, /* Width of the control */
  300. 34, /* Height of the control */
  301. 255, /* Region index */
  302. (PVOID)&TV_IDC_Help_Number, /* Pointer to its specific param */
  303. NULL, /* Pointer to a child control list */
  304. },
  305. {
  306. NULL, /* Handle to the control */
  307. CLASS_TEXT, /* Type of the control */
  308. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  309. S_TXT_MULTI, /* Particular Style of the widget */
  310. STATE_NORMAL, /* State of the control */
  311. {TV_Standard, TV_Standard, TV_Small, TV_Small}, /* Font style for each state */
  312. 191, /* Start X position of the control */
  313. 252, /* Start Y position of the control */
  314. 252, /* Width of the control */
  315. 34, /* Height of the control */
  316. 255, /* Region index */
  317. (PVOID)&TV_IDC_Help_GoldCare, /* Pointer to its specific param */
  318. NULL, /* Pointer to a child control list */
  319. },
  320. {
  321. NULL, /* Handle to the control */
  322. CLASS_TEXT, /* Type of the control */
  323. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  324. S_TXT_MULTI, /* Particular Style of the widget */
  325. STATE_NORMAL, /* State of the control */
  326. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  327. 191, /* Start X position of the control */
  328. 299, /* Start Y position of the control */
  329. 252, /* Width of the control */
  330. 34, /* Height of the control */
  331. 255, /* Region index */
  332. (PVOID)&TV_IDC_Help_GoldCareNumber, /* Pointer to its specific param */
  333. NULL, /* Pointer to a child control list */
  334. },
  335. {
  336. NULL, /* Handle to the control */
  337. CLASS_TEXT, /* Type of the control */
  338. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  339. S_TXT_MULTI, /* Particular Style of the widget */
  340. STATE_NORMAL, /* State of the control */
  341. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  342. 50, /* Start X position of the control */
  343. 349, /* Start Y position of the control */
  344. 534, /* Width of the control */
  345. 34, /* Height of the control */
  346. 255, /* Region index */
  347. (PVOID)&TV_IDC_Help_Notice, /* Pointer to its specific param */
  348. NULL, /* Pointer to a child control list */
  349. },
  350. {
  351. NULL, /* Handle to the control */
  352. CLASS_TEXT, /* Type of the control */
  353. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  354. S_TXT_MULTI, /* Particular Style of the widget */
  355. STATE_NORMAL, /* State of the control */
  356. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  357. 25, /* Start X position of the control */
  358. 383, /* Start Y position of the control */
  359. 580, /* Width of the control */
  360. 62, /* Height of the control */
  361. 255, /* Region index */
  362. (PVOID)&TV_IDC_Help_Notice1, /* Pointer to its specific param */
  363. NULL, /* Pointer to a child control list */
  364. },
  365. {
  366. NULL, /* Handle to the control */
  367. CLASS_TEXT, /* Type of the control */
  368. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  369. S_TXT_MULTI, /* Particular Style of the widget */
  370. STATE_NORMAL, /* State of the control */
  371. {TV_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
  372. 23, /* Start X position of the control */
  373. 447, /* Start Y position of the control */
  374. 585, /* Width of the control */
  375. 71, /* Height of the control */
  376. 255, /* Region index */
  377. (PVOID)&TV_IDC_Help_Notice2, /* Pointer to its specific param */
  378. NULL, /* Pointer to a child control list */
  379. },
  380. };
  381. /* applet structure */
  382. STRUCT_APPLET TV_IDM_Help_applet = {
  383. 0, /* Current Focus Item */
  384. sizeof(TV_IDM_Help_control) / sizeof(TV_IDM_Help_control[0]), /* Number of controls */
  385. (WinControl_t*)TV_IDM_Help_control, /* Pointer to an array of a control list */
  386. };
  387. /* window structure */
  388. WinControl_t TV_IDM_Help_window= {
  389. NULL, /* Handle to the control */
  390. CLASS_POPUP, /* Type of the control */
  391. CAPTURE, /* Style of the control */
  392. 0,
  393. WIN_NORMAL, /* State of the control */
  394. {0, 0, 0, 0}, /* State of the control */
  395. 322, /* Start X position of the control */
  396. 69, /* Start Y position of the control */
  397. 630, /* Width of the control */
  398. 540, /* Height of the control */
  399. 1, /* Region index */
  400. NULL, /* Pointer to its specific param */
  401. (PVOID)&TV_IDM_Help_applet, /* Pointer to a child control list */
  402. };