TV_IDM_BissEdit.c 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_BissEdit.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_BissEdit.h"
  35. #include "TV_font_style_define.h"
  36. btn_icon_t TV_IDC_Button_BissEdit_Hint = {
  37. {0,282,699,47}, /* Positon of the button */
  38. &TV_BgColor_5, /* Bg color */
  39. &TV_BgIcon_3, /* Bg icon */
  40. 0, /* Side size */
  41. ICON_ID_INVALID,
  42. };
  43. bg_t TV_IDC_BissEdit_Title_BG1 = {
  44. &TV_BgColor_5, /* background color */
  45. &TV_BgIcon_81 /*background bitmap id */
  46. };
  47. bg_t TV_IDC_BissEdit_Title_BG2 = {
  48. &TV_BgColor_5, /* background color */
  49. &TV_BgIcon_85 /*background bitmap id */
  50. };
  51. WinControl_t TV_IDC_Button_BissEdit_Title_control[] = {
  52. {
  53. NULL, /* Handle to the control */
  54. CLASS_BACKGROUND, /* Type of the control */
  55. 0, /* Common Style of the widget */
  56. S_BG_PICTURE, /* Particular Style of the widget */
  57. STATE_NORMAL, /* State of the control */
  58. {0, 0, 0, 0}, /* Font style for each state */
  59. 0, /* Start X position of the control */
  60. 0, /* Start Y position of the control */
  61. 9, /* Width of the control */
  62. 47, /* Height of the control */
  63. 255, /* Region index */
  64. (PVOID)&TV_IDC_BissEdit_Title_BG1, /* Pointer to its specific param */
  65. NULL, /* Pointer to a child control list */
  66. },
  67. {
  68. NULL, /* Handle to the control */
  69. CLASS_BACKGROUND, /* Type of the control */
  70. CS_PIC_REPEAT, /* Common Style of the widget */
  71. S_BG_PICTURE, /* Particular Style of the widget */
  72. STATE_NORMAL, /* State of the control */
  73. {0, 0, 0, 0}, /* Font style for each state */
  74. 690, /* Start X position of the control */
  75. 0, /* Start Y position of the control */
  76. 9, /* Width of the control */
  77. 47, /* Height of the control */
  78. 255, /* Region index */
  79. (PVOID)&TV_IDC_BissEdit_Title_BG2, /* Pointer to its specific param */
  80. NULL, /* Pointer to a child control list */
  81. },
  82. };
  83. /* applet structure */
  84. STRUCT_APPLET TV_IDC_Button_BissEdit_Title_applet = {
  85. 0, /* Current Focus Item */
  86. sizeof(TV_IDC_Button_BissEdit_Title_control) / sizeof(TV_IDC_Button_BissEdit_Title_control[0]), /* Number of controls */
  87. TV_IDC_Button_BissEdit_Title_control, /* Pointer to an array of a control list */
  88. };
  89. btn_text_t TV_IDC_Button_BissEdit_Title = {
  90. {9,0,681,47}, /* Positon of the button */
  91. &TV_BgColor_5, /* Bg color */
  92. &TV_BgIcon_78, /* Bg icon */
  93. 0, /* Side size */
  94. 0, /* Fix Char Width */
  95. &TV_TextColor_116, /* Text Color */
  96. {9,0,681,47}, /*Position of the text*/
  97. TV_IDS_String_Edit, /* Fg string id */
  98. NULL /* Marrquee */
  99. };
  100. btn_mix_t TV_IDC_Button_BissEdit_Move = {
  101. {275,282,190,47}, /* Positon of the button */
  102. &TV_BgColor_6, /* Bg color */
  103. NULL, /* Bg icon */
  104. 0, /* Side size */
  105. 0, /* Fix Char Width */
  106. &TV_TextColor_52, /* Text Color */
  107. TV_IDS_String_Move, /* Fg string id */
  108. TV_IDB_guide_move_1bmp,
  109. {340,282,92,47}, /* Pos of the fg string */
  110. {275,294,59,24}, /* Pos of the fg icon */
  111. NULL /* Marrquee */
  112. };
  113. btn_mix_t TV_IDC_Button_BissEdit_Return = {
  114. {456,282,190,47}, /* Positon of the button */
  115. &TV_BgColor_6, /* Bg color */
  116. NULL, /* Bg icon */
  117. 0, /* Side size */
  118. 0, /* Fix Char Width */
  119. &TV_TextColor_52, /* Text Color */
  120. TV_IDS_String_Return, /* Fg string id */
  121. TV_IDB_guide_menubmp,
  122. {548,282,98,47}, /* Pos of the fg string */
  123. {474,294,68,24}, /* Pos of the fg icon */
  124. NULL /* Marrquee */
  125. };
  126. bg_t TV_IDC_Background_BissEdit_Enter = {
  127. &TV_BgColor_5, /* background color */
  128. &TV_BgIcon_17 /*background bitmap id */
  129. };
  130. WinControl_t TV_IDC_Button_BissEdit_Enter_control[] = {
  131. {
  132. NULL, /* Handle to the control */
  133. CLASS_BACKGROUND, /* Type of the control */
  134. 0, /* Common Style of the widget */
  135. S_BG_PICTURE, /* Particular Style of the widget */
  136. STATE_NORMAL, /* State of the control */
  137. {0, 0, 0, 0}, /* Font style for each state */
  138. 69, /* Start X position of the control */
  139. 294, /* Start Y position of the control */
  140. 71, /* Width of the control */
  141. 24, /* Height of the control */
  142. 255, /* Region index */
  143. (PVOID)&TV_IDC_Background_BissEdit_Enter, /* Pointer to its specific param */
  144. NULL, /* Pointer to a child control list */
  145. },
  146. };
  147. /* applet structure */
  148. STRUCT_APPLET TV_IDC_Button_BissEdit_Enter_applet = {
  149. 0, /* Current Focus Item */
  150. sizeof(TV_IDC_Button_BissEdit_Enter_control) / sizeof(TV_IDC_Button_BissEdit_Enter_control[0]), /* Number of controls */
  151. TV_IDC_Button_BissEdit_Enter_control, /* Pointer to an array of a control list */
  152. };
  153. btn_text_t TV_IDC_Button_BissEdit_Enter = {
  154. {61,282,180,47}, /* Positon of the button */
  155. &TV_BgColor_5, /* Bg color */
  156. &TV_BgIcon_15, /* Bg icon */
  157. 0, /* Side size */
  158. 0, /* Fix Char Width */
  159. &TV_TextColor_45, /* Text Color */
  160. {156,282,80,47}, /*Position of the text*/
  161. TV_IDS_String_Enter, /* Fg string id */
  162. NULL /* Marrquee */
  163. };
  164. String_id_t TV_IDC_BissEdit_ProgNameList_string[] =
  165. {
  166. TV_IDS_String_No,
  167. TV_IDS_String_ProgramName,
  168. TV_IDS_String_TPEdit_Freq,
  169. TV_IDS_String_Key,
  170. TV_IDS_String_SID,
  171. STRING_LAST
  172. };
  173. list_color_t TV_IDC_BissEdit_ProgNameList_listcolor =
  174. {
  175. {213,213,213,220}, /* Bg color for odd items */
  176. {234,234,234,228}, /* Bg color for even items */
  177. {255,0,255,0}, /* Bg color for the focused item */
  178. {255,0,255,0} /* Bg color for the clicked item */
  179. };
  180. listview_t TV_IDC_BissEdit_ProgNameList =
  181. {
  182. &TV_IDC_BissEdit_ProgNameList_listcolor,
  183. TV_IDB_cursorbmp, /* Icon to show on the focused item */
  184. ICON_ID_INVALID, /* Icon to show on the clicked item */
  185. 6, /* Side size */
  186. {0, 47, 699, 47}, /* First item pos */
  187. {0,47,699,47}, /* Focus color pos */
  188. {0,47,699,47}, /* Focus icon pos */
  189. {20,47,250,47}, /*Position of the text*/
  190. 0, /* Offset related */
  191. &TV_TextColor_134, /* Fg color */
  192. TV_IDC_BissEdit_ProgNameList_string, /* Fg string id */
  193. NULL, /* Dynamic string text */
  194. 0, /* Space */
  195. 5, /* Page item count */
  196. 5, /* Total item count */
  197. 0, /* First list index */
  198. 0, /* Focused item index */
  199. 0, /* Click item index */
  200. 0, /* Fix Char Width */
  201. NULL, /* Marrquee */
  202. NULL, /* Disabled items */
  203. };
  204. text_box_t TV_IDC_Text_BISSEdit_ProgNO =
  205. {
  206. 0, /* Language name */
  207. &TV_BgColor_137, /* Bg color */
  208. &TV_TextColor_52, /* Text Color */
  209. {350,47,349,47}, /*Position of the text*/
  210. STRING_ID_INVALID, /* Fg string id */
  211. NULL, /* String */
  212. NULL, /* Marrquee */
  213. 0 /* Fix Char Width */
  214. };
  215. text_box_t TV_IDC_Text_BISSEdit_ProgName =
  216. {
  217. 0, /* Language name */
  218. &TV_BgColor_137, /* Bg color */
  219. &TV_TextColor_52, /* Text Color */
  220. {350,94,349,47}, /*Position of the text*/
  221. STRING_ID_INVALID, /* Fg string id */
  222. NULL, /* String */
  223. NULL, /* Marrquee */
  224. 0 /* Fix Char Width */
  225. };
  226. text_box_t TV_IDC_Text_BISSEdit_Freq =
  227. {
  228. 0, /* Language name */
  229. &TV_BgColor_137, /* Bg color */
  230. &TV_TextColor_52, /* Text Color */
  231. {350,141,349,47}, /*Position of the text*/
  232. STRING_ID_INVALID, /* Fg string id */
  233. NULL, /* String */
  234. NULL, /* Marrquee */
  235. 0 /* Fix Char Width */
  236. };
  237. text_box_t TV_IDC_Text_BISSEdit_Key =
  238. {
  239. 0, /* Language name */
  240. &TV_BgColor_137, /* Bg color */
  241. &TV_TextColor_52, /* Text Color */
  242. {350,188,349,47}, /*Position of the text*/
  243. STRING_ID_INVALID, /* Fg string id */
  244. NULL, /* String */
  245. NULL, /* Marrquee */
  246. 0 /* Fix Char Width */
  247. };
  248. text_box_t TV_IDC_Text_BISSEdit_SID =
  249. {
  250. 0, /* Language name */
  251. &TV_BgColor_137, /* Bg color */
  252. &TV_TextColor_52, /* Text Color */
  253. {350,235,349,47}, /*Position of the text*/
  254. STRING_ID_INVALID, /* Fg string id */
  255. NULL, /* String */
  256. NULL, /* Marrquee */
  257. 0 /* Fix Char Width */
  258. };
  259. /* window controls */
  260. WinControl_t TV_IDM_BissEdit_control[] = {
  261. {
  262. NULL, /* Handle to the control */
  263. CLASS_BUTTON, /* Type of the control */
  264. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  265. S_BTN_ICON, /* Particular Style of the widget */
  266. STATE_NORMAL, /* State of the control */
  267. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  268. 0, /* Start X position of the control */
  269. 282, /* Start Y position of the control */
  270. 699, /* Width of the control */
  271. 47, /* Height of the control */
  272. 255, /* Region index */
  273. (PVOID)&TV_IDC_Button_BissEdit_Hint, /* Pointer to its specific param */
  274. NULL, /* Pointer to a child control list */
  275. },
  276. {
  277. NULL, /* Handle to the control */
  278. CLASS_BUTTON, /* Type of the control */
  279. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  280. S_BTN_TEXT, /* Particular Style of the widget */
  281. STATE_NORMAL, /* State of the control */
  282. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  283. 0, /* Start X position of the control */
  284. 0, /* Start Y position of the control */
  285. 699, /* Width of the control */
  286. 47, /* Height of the control */
  287. 255, /* Region index */
  288. (PVOID)&TV_IDC_Button_BissEdit_Title, /* Pointer to its specific param */
  289. (PVOID)&TV_IDC_Button_BissEdit_Title_applet, /* Pointer to a child control list */
  290. },
  291. {
  292. NULL, /* Handle to the control */
  293. CLASS_BUTTON, /* Type of the control */
  294. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  295. S_BTN_MIX, /* Particular Style of the widget */
  296. STATE_NORMAL, /* State of the control */
  297. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  298. 275, /* Start X position of the control */
  299. 282, /* Start Y position of the control */
  300. 190, /* Width of the control */
  301. 47, /* Height of the control */
  302. 255, /* Region index */
  303. (PVOID)&TV_IDC_Button_BissEdit_Move, /* Pointer to its specific param */
  304. NULL, /* Pointer to a child control list */
  305. },
  306. {
  307. NULL, /* Handle to the control */
  308. CLASS_BUTTON, /* Type of the control */
  309. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  310. S_BTN_MIX, /* Particular Style of the widget */
  311. STATE_NORMAL, /* State of the control */
  312. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  313. 456, /* Start X position of the control */
  314. 282, /* Start Y position of the control */
  315. 190, /* Width of the control */
  316. 47, /* Height of the control */
  317. 255, /* Region index */
  318. (PVOID)&TV_IDC_Button_BissEdit_Return, /* Pointer to its specific param */
  319. NULL, /* Pointer to a child control list */
  320. },
  321. {
  322. NULL, /* Handle to the control */
  323. CLASS_BUTTON, /* Type of the control */
  324. CS_PIC_REPEAT|CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  325. S_BTN_TEXT, /* Particular Style of the widget */
  326. STATE_NORMAL, /* State of the control */
  327. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  328. 61, /* Start X position of the control */
  329. 282, /* Start Y position of the control */
  330. 180, /* Width of the control */
  331. 47, /* Height of the control */
  332. 255, /* Region index */
  333. (PVOID)&TV_IDC_Button_BissEdit_Enter, /* Pointer to its specific param */
  334. (PVOID)&TV_IDC_Button_BissEdit_Enter_applet, /* Pointer to a child control list */
  335. },
  336. {
  337. NULL, /* Handle to the control */
  338. CLASS_LISTVIEW, /* Type of the control */
  339. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  340. S_LIST_ONEBYONE, /* Particular Style of the widget */
  341. STATE_FOCUSED, /* State of the control */
  342. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  343. 0, /* Start X position of the control */
  344. 47, /* Start Y position of the control */
  345. 699, /* Width of the control */
  346. 235, /* Height of the control */
  347. 255, /* Region index */
  348. (PVOID)&TV_IDC_BissEdit_ProgNameList, /* Pointer to its specific param */
  349. NULL, /* Pointer to a child control list */
  350. },
  351. {
  352. NULL, /* Handle to the control */
  353. CLASS_TEXT, /* Type of the control */
  354. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  355. 0, /* Particular Style of the widget */
  356. STATE_FOCUSED, /* State of the control */
  357. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  358. 350, /* Start X position of the control */
  359. 47, /* Start Y position of the control */
  360. 349, /* Width of the control */
  361. 47, /* Height of the control */
  362. 255, /* Region index */
  363. (PVOID)&TV_IDC_Text_BISSEdit_ProgNO, /* Pointer to its specific param */
  364. NULL, /* Pointer to a child control list */
  365. },
  366. {
  367. NULL, /* Handle to the control */
  368. CLASS_TEXT, /* Type of the control */
  369. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  370. 0, /* Particular Style of the widget */
  371. STATE_FOCUSED, /* State of the control */
  372. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  373. 350, /* Start X position of the control */
  374. 94, /* Start Y position of the control */
  375. 349, /* Width of the control */
  376. 47, /* Height of the control */
  377. 255, /* Region index */
  378. (PVOID)&TV_IDC_Text_BISSEdit_ProgName, /* Pointer to its specific param */
  379. NULL, /* Pointer to a child control list */
  380. },
  381. {
  382. NULL, /* Handle to the control */
  383. CLASS_TEXT, /* Type of the control */
  384. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  385. 0, /* Particular Style of the widget */
  386. STATE_FOCUSED, /* State of the control */
  387. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  388. 350, /* Start X position of the control */
  389. 141, /* Start Y position of the control */
  390. 349, /* Width of the control */
  391. 47, /* Height of the control */
  392. 255, /* Region index */
  393. (PVOID)&TV_IDC_Text_BISSEdit_Freq, /* Pointer to its specific param */
  394. NULL, /* Pointer to a child control list */
  395. },
  396. {
  397. NULL, /* Handle to the control */
  398. CLASS_TEXT, /* Type of the control */
  399. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  400. 0, /* Particular Style of the widget */
  401. STATE_FOCUSED, /* State of the control */
  402. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  403. 350, /* Start X position of the control */
  404. 188, /* Start Y position of the control */
  405. 349, /* Width of the control */
  406. 47, /* Height of the control */
  407. 255, /* Region index */
  408. (PVOID)&TV_IDC_Text_BISSEdit_Key, /* Pointer to its specific param */
  409. NULL, /* Pointer to a child control list */
  410. },
  411. {
  412. NULL, /* Handle to the control */
  413. CLASS_TEXT, /* Type of the control */
  414. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  415. 0, /* Particular Style of the widget */
  416. STATE_FOCUSED, /* State of the control */
  417. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  418. 350, /* Start X position of the control */
  419. 235, /* Start Y position of the control */
  420. 349, /* Width of the control */
  421. 47, /* Height of the control */
  422. 255, /* Region index */
  423. (PVOID)&TV_IDC_Text_BISSEdit_SID, /* Pointer to its specific param */
  424. NULL, /* Pointer to a child control list */
  425. },
  426. };
  427. /* applet structure */
  428. STRUCT_APPLET TV_IDM_BissEdit_applet = {
  429. 0, /* Current Focus Item */
  430. sizeof(TV_IDM_BissEdit_control) / sizeof(TV_IDM_BissEdit_control[0]), /* Number of controls */
  431. (WinControl_t*)TV_IDM_BissEdit_control, /* Pointer to an array of a control list */
  432. };
  433. /* window structure */
  434. WinControl_t TV_IDM_BissEdit_window= {
  435. NULL, /* Handle to the control */
  436. CLASS_POPUP, /* Type of the control */
  437. CAPTURE, /* Style of the control */
  438. 0,
  439. WIN_NORMAL, /* State of the control */
  440. {0, 0, 0, 0}, /* State of the control */
  441. 318, /* Start X position of the control */
  442. 155, /* Start Y position of the control */
  443. 699, /* Width of the control */
  444. 329, /* Height of the control */
  445. 1, /* Region index */
  446. NULL, /* Pointer to its specific param */
  447. (PVOID)&TV_IDM_BissEdit_applet, /* Pointer to a child control list */
  448. };