TV_IDM_TimerEditMenu.c 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_TimerEditMenu.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_TimerEditMenu.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_Background__SubMenu_Title_BG_1 = {
  37. &TV_BgColor_6, /* background color */
  38. &TV_BgIcon_11 /*background bitmap id */
  39. };
  40. bg_t TV_IDC_Background__SubMenu_Title_BG_2 = {
  41. &TV_BgColor_6, /* background color */
  42. &TV_BgIcon_13 /*background bitmap id */
  43. };
  44. WinControl_t TV_IDC_Button_SubMenu_Title_control[] = {
  45. {
  46. NULL, /* Handle to the control */
  47. CLASS_BACKGROUND, /* Type of the control */
  48. 0, /* Common Style of the widget */
  49. S_BG_MIX, /* Particular Style of the widget */
  50. STATE_NORMAL, /* State of the control */
  51. {0, 0, 0, 0}, /* Font style for each state */
  52. 0, /* Start X position of the control */
  53. 0, /* Start Y position of the control */
  54. 66, /* Width of the control */
  55. 58, /* Height of the control */
  56. 255, /* Region index */
  57. (PVOID)&TV_IDC_Background__SubMenu_Title_BG_1, /* Pointer to its specific param */
  58. NULL, /* Pointer to a child control list */
  59. },
  60. {
  61. NULL, /* Handle to the control */
  62. CLASS_BACKGROUND, /* Type of the control */
  63. 0, /* Common Style of the widget */
  64. S_BG_MIX, /* Particular Style of the widget */
  65. STATE_NORMAL, /* State of the control */
  66. {0, 0, 0, 0}, /* Font style for each state */
  67. 1062, /* Start X position of the control */
  68. 0, /* Start Y position of the control */
  69. 66, /* Width of the control */
  70. 58, /* Height of the control */
  71. 255, /* Region index */
  72. (PVOID)&TV_IDC_Background__SubMenu_Title_BG_2, /* Pointer to its specific param */
  73. NULL, /* Pointer to a child control list */
  74. },
  75. };
  76. /* applet structure */
  77. STRUCT_APPLET TV_IDC_Button_SubMenu_Title_applet = {
  78. 0, /* Current Focus Item */
  79. sizeof(TV_IDC_Button_SubMenu_Title_control) / sizeof(TV_IDC_Button_SubMenu_Title_control[0]), /* Number of controls */
  80. TV_IDC_Button_SubMenu_Title_control, /* Pointer to an array of a control list */
  81. };
  82. btn_text_t TV_IDC_Button_SubMenu_Title = {
  83. {66,0,996,58}, /* Positon of the button */
  84. &TV_BgColor_5, /* Bg color */
  85. &TV_BgIcon_12, /* Bg icon */
  86. 0, /* Side size */
  87. 0, /* Fix Char Width */
  88. &TV_TextColor_60, /* Text Color */
  89. {66,0,996,58}, /*Position of the text*/
  90. TV_IDS_String_TimerEdit, /* Fg string id */
  91. NULL /* Marrquee */
  92. };
  93. btn_text_t TV_IDC_Button_TimerEditMenu_BG_1 = {
  94. {0,58,1128,42}, /* Positon of the button */
  95. &TV_BgColor_71, /* Bg color */
  96. NULL, /* Bg icon */
  97. 1, /* Side size */
  98. 0, /* Fix Char Width */
  99. &TV_TextColor_65, /* Text Color */
  100. {0,58,1128,42}, /*Position of the text*/
  101. STRING_ID_INVALID, /* Fg string id */
  102. NULL /* Marrquee */
  103. };
  104. btn_text_t TV_IDC_Button_TimerEditMenu_BG_2 = {
  105. {0,100,1128,47}, /* Positon of the button */
  106. &TV_BgColor_10, /* Bg color */
  107. NULL, /* Bg icon */
  108. 1, /* Side size */
  109. 0, /* Fix Char Width */
  110. &TV_TextColor_65, /* Text Color */
  111. {0,100,1128,47}, /*Position of the text*/
  112. STRING_ID_INVALID, /* Fg string id */
  113. NULL /* Marrquee */
  114. };
  115. btn_text_t TV_IDC_Button_TimerEditMenu_BG_3 = {
  116. {0,147,1128,47}, /* Positon of the button */
  117. &TV_BgColor_71, /* Bg color */
  118. NULL, /* Bg icon */
  119. 0, /* Side size */
  120. 0, /* Fix Char Width */
  121. &TV_TextColor_65, /* Text Color */
  122. {0,147,1128,47}, /*Position of the text*/
  123. STRING_ID_INVALID, /* Fg string id */
  124. NULL /* Marrquee */
  125. };
  126. btn_text_t TV_IDC_Button_TimerEditMenu_BG_4 = {
  127. {0,194,1128,47}, /* Positon of the button */
  128. &TV_BgColor_10, /* Bg color */
  129. NULL, /* Bg icon */
  130. 0, /* Side size */
  131. 0, /* Fix Char Width */
  132. &TV_TextColor_65, /* Text Color */
  133. {0,194,1128,47}, /*Position of the text*/
  134. STRING_ID_INVALID, /* Fg string id */
  135. NULL /* Marrquee */
  136. };
  137. btn_text_t TV_IDC_Button_TimerEditMenu_BG_5 = {
  138. {0,241,1128,47}, /* Positon of the button */
  139. &TV_BgColor_71, /* Bg color */
  140. NULL, /* Bg icon */
  141. 0, /* Side size */
  142. 0, /* Fix Char Width */
  143. &TV_TextColor_65, /* Text Color */
  144. {0,241,1128,47}, /*Position of the text*/
  145. STRING_ID_INVALID, /* Fg string id */
  146. NULL /* Marrquee */
  147. };
  148. btn_text_t TV_IDC_Button_TimerEditMenu_BG_6 = {
  149. {0,288,1128,47}, /* Positon of the button */
  150. &TV_BgColor_10, /* Bg color */
  151. NULL, /* Bg icon */
  152. 1, /* Side size */
  153. 0, /* Fix Char Width */
  154. &TV_TextColor_65, /* Text Color */
  155. {0,288,1128,47}, /*Position of the text*/
  156. STRING_ID_INVALID, /* Fg string id */
  157. NULL /* Marrquee */
  158. };
  159. btn_text_t TV_IDC_Button_TimerEditMenu_BG_7 = {
  160. {0,335,1128,47}, /* Positon of the button */
  161. &TV_BgColor_71, /* Bg color */
  162. NULL, /* Bg icon */
  163. 1, /* Side size */
  164. 0, /* Fix Char Width */
  165. &TV_TextColor_65, /* Text Color */
  166. {0,335,1128,47}, /*Position of the text*/
  167. STRING_ID_INVALID, /* Fg string id */
  168. NULL /* Marrquee */
  169. };
  170. btn_text_t TV_IDC_Button_TimerEditMenu_BG_8 = {
  171. {0,382,1128,47}, /* Positon of the button */
  172. &TV_BgColor_10, /* Bg color */
  173. NULL, /* Bg icon */
  174. 1, /* Side size */
  175. 0, /* Fix Char Width */
  176. &TV_TextColor_65, /* Text Color */
  177. {0,382,1128,47}, /*Position of the text*/
  178. STRING_ID_INVALID, /* Fg string id */
  179. NULL /* Marrquee */
  180. };
  181. btn_text_t TV_IDC_Button_TimerEditMenu_BG_9 = {
  182. {0,429,1128,47}, /* Positon of the button */
  183. &TV_BgColor_71, /* Bg color */
  184. NULL, /* Bg icon */
  185. 1, /* Side size */
  186. 0, /* Fix Char Width */
  187. &TV_TextColor_65, /* Text Color */
  188. {0,429,1128,47}, /*Position of the text*/
  189. STRING_ID_INVALID, /* Fg string id */
  190. NULL /* Marrquee */
  191. };
  192. btn_text_t TV_IDC_Button_TimerEditMenu_BG_10 = {
  193. {0,476,1128,47}, /* Positon of the button */
  194. &TV_BgColor_10, /* Bg color */
  195. NULL, /* Bg icon */
  196. 1, /* Side size */
  197. 0, /* Fix Char Width */
  198. &TV_TextColor_65, /* Text Color */
  199. {0,476,1128,47}, /*Position of the text*/
  200. STRING_ID_INVALID, /* Fg string id */
  201. NULL /* Marrquee */
  202. };
  203. btn_text_t TV_IDC_Button_TimerEditMenu_BG_11 = {
  204. {0,523,1128,47}, /* Positon of the button */
  205. &TV_BgColor_71, /* Bg color */
  206. NULL, /* Bg icon */
  207. 1, /* Side size */
  208. 0, /* Fix Char Width */
  209. &TV_TextColor_65, /* Text Color */
  210. {0,523,1128,47}, /*Position of the text*/
  211. STRING_ID_INVALID, /* Fg string id */
  212. NULL /* Marrquee */
  213. };
  214. btn_text_t TV_IDC_Button_TimerEditMenu_BG_12 = {
  215. {0,570,1128,42}, /* Positon of the button */
  216. &TV_BgColor_10, /* Bg color */
  217. NULL, /* Bg icon */
  218. 1, /* Side size */
  219. 0, /* Fix Char Width */
  220. &TV_TextColor_65, /* Text Color */
  221. {0,570,1128,42}, /*Position of the text*/
  222. STRING_ID_INVALID, /* Fg string id */
  223. NULL /* Marrquee */
  224. };
  225. bg_t TV_IDC_Background_TimerEditMenu = {
  226. &TV_BgColor_103, /* background color */
  227. &TV_BgIcon_113 /*background bitmap id */
  228. };
  229. WinControl_t TV_IDC_GroupButton_TimerEditMenu_control[] = {
  230. {
  231. NULL, /* Handle to the control */
  232. CLASS_BACKGROUND, /* Type of the control */
  233. 0, /* Common Style of the widget */
  234. S_BG_PICTURE, /* Particular Style of the widget */
  235. STATE_NORMAL, /* State of the control */
  236. {0, 0, 0, 0}, /* Font style for each state */
  237. 1010, /* Start X position of the control */
  238. 113, /* Start Y position of the control */
  239. 13, /* Width of the control */
  240. 23, /* Height of the control */
  241. 255, /* Region index */
  242. (PVOID)&TV_IDC_Background_TimerEditMenu, /* Pointer to its specific param */
  243. NULL, /* Pointer to a child control list */
  244. },
  245. };
  246. /* applet structure */
  247. STRUCT_APPLET TV_IDC_GroupButton_TimerEditMenu_applet = {
  248. 0, /* Current Focus Item */
  249. sizeof(TV_IDC_GroupButton_TimerEditMenu_control) / sizeof(TV_IDC_GroupButton_TimerEditMenu_control[0]), /* Number of controls */
  250. TV_IDC_GroupButton_TimerEditMenu_control, /* Pointer to an array of a control list */
  251. };
  252. String_id_t TV_IDC_GroupButton_TimerEditMenu_string[] =
  253. {
  254. TV_IDS_String_Recorder,
  255. TV_IDS_String_Type,
  256. TV_IDS_String_Channel,
  257. TV_IDS_String_StartTime,
  258. TV_IDS_String_Duration,
  259. TV_IDS_String_Date,
  260. TV_IDS_String_Mode,
  261. STRING_LAST
  262. };
  263. btng_text_t TV_IDC_GroupButton_TimerEditMenu =
  264. {
  265. &TV_BgColor_6, /* Bg color */
  266. NULL, /* Bg icon */
  267. 0, /* Side size */
  268. {169, 100, 286, 47}, /* Pos of the first item */
  269. {169,100,286,47}, /*Position of the text*/
  270. 0, /* Offset related */
  271. &TV_TextColor_123, /* Fg color */
  272. TV_IDC_GroupButton_TimerEditMenu_string, /* Fg string id */
  273. 0, /* Space */
  274. 7, /* Page item count */
  275. 7, /* Total item count */
  276. 0, /* First button index */
  277. 0, /* Focused item index */
  278. 0, /* Click item index */
  279. 0, /* Fix Char Width */
  280. NULL, /* Marrquee */
  281. NULL /* Disabled iterms */
  282. };
  283. bg_t TV_IDC_Background_TimerEditMenu_Hint_BG = {
  284. &TV_BgColor_5, /* background color */
  285. &TV_BgIcon_4 /*background bitmap id */
  286. };
  287. bg_t TV_IDC_Background_TimerEditMenu_Hint_BG_2 = {
  288. &TV_BgColor_5, /* background color */
  289. &TV_BgIcon_20 /*background bitmap id */
  290. };
  291. WinControl_t TV_IDC_Button_TimerEditMenu_Hint_BG_control[] = {
  292. {
  293. NULL, /* Handle to the control */
  294. CLASS_BACKGROUND, /* Type of the control */
  295. 0, /* Common Style of the widget */
  296. S_BG_PICTURE, /* Particular Style of the widget */
  297. STATE_NORMAL, /* State of the control */
  298. {0, 0, 0, 0}, /* Font style for each state */
  299. 0, /* Start X position of the control */
  300. 612, /* Start Y position of the control */
  301. 50, /* Width of the control */
  302. 47, /* Height of the control */
  303. 255, /* Region index */
  304. (PVOID)&TV_IDC_Background_TimerEditMenu_Hint_BG, /* Pointer to its specific param */
  305. NULL, /* Pointer to a child control list */
  306. },
  307. {
  308. NULL, /* Handle to the control */
  309. CLASS_BACKGROUND, /* Type of the control */
  310. 0, /* Common Style of the widget */
  311. S_BG_PICTURE, /* Particular Style of the widget */
  312. STATE_NORMAL, /* State of the control */
  313. {0, 0, 0, 0}, /* Font style for each state */
  314. 1078, /* Start X position of the control */
  315. 612, /* Start Y position of the control */
  316. 50, /* Width of the control */
  317. 47, /* Height of the control */
  318. 255, /* Region index */
  319. (PVOID)&TV_IDC_Background_TimerEditMenu_Hint_BG_2, /* Pointer to its specific param */
  320. NULL, /* Pointer to a child control list */
  321. },
  322. };
  323. /* applet structure */
  324. STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Hint_BG_applet = {
  325. 0, /* Current Focus Item */
  326. sizeof(TV_IDC_Button_TimerEditMenu_Hint_BG_control) / sizeof(TV_IDC_Button_TimerEditMenu_Hint_BG_control[0]), /* Number of controls */
  327. TV_IDC_Button_TimerEditMenu_Hint_BG_control, /* Pointer to an array of a control list */
  328. };
  329. btn_text_t TV_IDC_Button_TimerEditMenu_Hint_BG = {
  330. {50,612,1078,47}, /* Positon of the button */
  331. &TV_BgColor_6, /* Bg color */
  332. &TV_BgIcon_3, /* Bg icon */
  333. 0, /* Side size */
  334. 0, /* Fix Char Width */
  335. &TV_TextColor_65, /* Text Color */
  336. {50,612,1078,47}, /*Position of the text*/
  337. STRING_ID_INVALID, /* Fg string id */
  338. NULL /* Marrquee */
  339. };
  340. icon_t TV_IDC_Picture_TimerEditMenu_Move =
  341. {
  342. &TV_BgIcon_6
  343. };
  344. WinControl_t TV_IDC_Button_TimerEditMenu_Move_control[] = {
  345. {
  346. NULL, /* Handle to the control */
  347. CLASS_ICON, /* Type of the control */
  348. 0, /* Common Style of the widget */
  349. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  350. STATE_NORMAL, /* State of the control */
  351. {0, 0, 0, 0}, /* Font style for each state */
  352. 171, /* Start X position of the control */
  353. 612, /* Start Y position of the control */
  354. 72, /* Width of the control */
  355. 46, /* Height of the control */
  356. 255, /* Region index */
  357. (PVOID)&TV_IDC_Picture_TimerEditMenu_Move, /* Pointer to its specific param */
  358. NULL, /* Pointer to a child control list */
  359. },
  360. };
  361. /* applet structure */
  362. STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Move_applet = {
  363. 0, /* Current Focus Item */
  364. sizeof(TV_IDC_Button_TimerEditMenu_Move_control) / sizeof(TV_IDC_Button_TimerEditMenu_Move_control[0]), /* Number of controls */
  365. TV_IDC_Button_TimerEditMenu_Move_control, /* Pointer to an array of a control list */
  366. };
  367. btn_text_t TV_IDC_Button_TimerEditMenu_Move = {
  368. {209,618,122,34}, /* Positon of the button */
  369. &TV_BgColor_6, /* Bg color */
  370. NULL, /* Bg icon */
  371. 0, /* Side size */
  372. 0, /* Fix Char Width */
  373. &TV_TextColor_124, /* Text Color */
  374. {232,618,94,34}, /*Position of the text*/
  375. TV_IDS_String_Move, /* Fg string id */
  376. NULL /* Marrquee */
  377. };
  378. icon_t TV_IDC_Picture_TimerEditMenu_Num =
  379. {
  380. &TV_BgIcon_61
  381. };
  382. WinControl_t TV_IDC_Button_TimerEditMenu_Num_control[] = {
  383. {
  384. NULL, /* Handle to the control */
  385. CLASS_ICON, /* Type of the control */
  386. 0, /* Common Style of the widget */
  387. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  388. STATE_NORMAL, /* State of the control */
  389. {0, 0, 0, 0}, /* Font style for each state */
  390. 397, /* Start X position of the control */
  391. 614, /* Start Y position of the control */
  392. 72, /* Width of the control */
  393. 46, /* Height of the control */
  394. 255, /* Region index */
  395. (PVOID)&TV_IDC_Picture_TimerEditMenu_Num, /* Pointer to its specific param */
  396. NULL, /* Pointer to a child control list */
  397. },
  398. };
  399. /* applet structure */
  400. STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Num_applet = {
  401. 0, /* Current Focus Item */
  402. sizeof(TV_IDC_Button_TimerEditMenu_Num_control) / sizeof(TV_IDC_Button_TimerEditMenu_Num_control[0]), /* Number of controls */
  403. TV_IDC_Button_TimerEditMenu_Num_control, /* Pointer to an array of a control list */
  404. };
  405. btn_text_t TV_IDC_Button_TimerEditMenu_Num = {
  406. {445,616,106,38}, /* Positon of the button */
  407. &TV_BgColor_6, /* Bg color */
  408. NULL, /* Bg icon */
  409. 0, /* Side size */
  410. 0, /* Fix Char Width */
  411. &TV_TextColor_124, /* Text Color */
  412. {445,620,94,34}, /*Position of the text*/
  413. TV_IDS_String_0To9, /* Fg string id */
  414. NULL /* Marrquee */
  415. };
  416. icon_t TV_IDC_Picture_TimerEditMenu_Move2 =
  417. {
  418. &TV_BgIcon_16
  419. };
  420. WinControl_t TV_IDC_Button_TimerEditMenu_Move2_control[] = {
  421. {
  422. NULL, /* Handle to the control */
  423. CLASS_ICON, /* Type of the control */
  424. 0, /* Common Style of the widget */
  425. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  426. STATE_NORMAL, /* State of the control */
  427. {0, 0, 0, 0}, /* Font style for each state */
  428. 835, /* Start X position of the control */
  429. 614, /* Start Y position of the control */
  430. 90, /* Width of the control */
  431. 46, /* Height of the control */
  432. 255, /* Region index */
  433. (PVOID)&TV_IDC_Picture_TimerEditMenu_Move2, /* Pointer to its specific param */
  434. NULL, /* Pointer to a child control list */
  435. },
  436. };
  437. /* applet structure */
  438. STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Move2_applet = {
  439. 0, /* Current Focus Item */
  440. sizeof(TV_IDC_Button_TimerEditMenu_Move2_control) / sizeof(TV_IDC_Button_TimerEditMenu_Move2_control[0]), /* Number of controls */
  441. TV_IDC_Button_TimerEditMenu_Move2_control, /* Pointer to an array of a control list */
  442. };
  443. btn_text_t TV_IDC_Button_TimerEditMenu_Move2 = {
  444. {907,618,114,36}, /* Positon of the button */
  445. &TV_BgColor_6, /* Bg color */
  446. NULL, /* Bg icon */
  447. 0, /* Side size */
  448. 0, /* Fix Char Width */
  449. &TV_TextColor_124, /* Text Color */
  450. {907,618,94,34}, /*Position of the text*/
  451. TV_IDS_String_Save, /* Fg string id */
  452. NULL /* Marrquee */
  453. };
  454. String_id_t TV_IDC_ComboBox_TimerEditMenu_Type_string[] =
  455. {
  456. TV_IDS_String_DTV,
  457. TV_IDS_String_Radio,
  458. STRING_LAST
  459. };
  460. combo_t TV_IDC_ComboBox_TimerEditMenu_Type =
  461. {
  462. {549,148,457,43}, /* Positon of the combo box */
  463. &TV_BgColor_16, /* Bg color */
  464. &TV_BgIcon_114, /* Bg icon */
  465. 6, /* Side size */
  466. 0, /* Fix Char Width */
  467. &TV_TextColor_125, /* Fg color */
  468. {549,148,457,43}, /*Position of the text*/
  469. 2, /* Total item count */
  470. 0, /* Focused item index */
  471. NULL, /* Marrquee */
  472. TV_IDC_ComboBox_TimerEditMenu_Type_string, /* Fg string id */
  473. NULL /* Dynamic string */
  474. };
  475. btn_text_t TV_IDC_Button_TimerEditMenu_ChnNameBG = {
  476. {549,195,457,43}, /* Positon of the button */
  477. &TV_BgColor_17, /* Bg color */
  478. &TV_BgIcon_114, /* Bg icon */
  479. 6, /* Side size */
  480. 0, /* Fix Char Width */
  481. &TV_TextColor_65, /* Text Color */
  482. {549,195,457,43}, /*Position of the text*/
  483. STRING_ID_INVALID, /* Fg string id */
  484. NULL /* Marrquee */
  485. };
  486. text_box_t TV_IDC_TextBox_TimerEditMenu_ChnName =
  487. {
  488. 0, /* Language name */
  489. &TV_BgColor_6, /* Bg color */
  490. &TV_TextColor_125, /* Text Color */
  491. {590,195,400,43}, /*Position of the text*/
  492. STRING_ID_INVALID, /* Fg string id */
  493. NULL, /* String */
  494. NULL, /* Marrquee */
  495. 0 /* Fix Char Width */
  496. };
  497. static UINT8 TV_IDC_EditBox_TimerEditMenu_StartTime_text[]= "00:00";
  498. static UINT8 TV_IDC_EditBox_TimerEditMenu_StartTime_patternText[]= "__:__";
  499. edit_t TV_IDC_EditBox_TimerEditMenu_StartTime = {
  500. {549,242,457,43}, /* Positon of the edit box */
  501. &TV_BgColor_16, /* Bg color */
  502. &TV_BgIcon_114, /* Bg icon */
  503. &TV_TextColor_125, /* Fg color */
  504. {549,242,457,43}, /*Position of the text*/
  505. 6, /* Side size */
  506. 0, /* Fix Char Width */
  507. TV_IDC_EditBox_TimerEditMenu_StartTime_text, /* Text */
  508. TV_IDC_EditBox_TimerEditMenu_StartTime_patternText, /* Pattern Text */
  509. 0, /* Seek Pointer */
  510. 5, /* Maximum Digits */
  511. '*', /* Hide_Character */
  512. '0', /* Default Character */
  513. {255,0,255,0}, /* cursor_color */
  514. 228, /* select_char_color */
  515. {NULL,NULL}
  516. };
  517. static UINT8 TV_IDC_EditBox_TimerEditMenu_EndTime_text[]= "00:00";
  518. static UINT8 TV_IDC_EditBox_TimerEditMenu_EndTime_patternText[]= "__:__";
  519. edit_t TV_IDC_EditBox_TimerEditMenu_EndTime = {
  520. {549,290,457,43}, /* Positon of the edit box */
  521. &TV_BgColor_17, /* Bg color */
  522. &TV_BgIcon_114, /* Bg icon */
  523. &TV_TextColor_125, /* Fg color */
  524. {549,290,457,43}, /*Position of the text*/
  525. 6, /* Side size */
  526. 0, /* Fix Char Width */
  527. TV_IDC_EditBox_TimerEditMenu_EndTime_text, /* Text */
  528. TV_IDC_EditBox_TimerEditMenu_EndTime_patternText, /* Pattern Text */
  529. 0, /* Seek Pointer */
  530. 5, /* Maximum Digits */
  531. '*', /* Hide_Character */
  532. '0', /* Default Character */
  533. {255,0,255,0}, /* cursor_color */
  534. 124, /* select_char_color */
  535. {NULL,NULL}
  536. };
  537. static UINT8 TV_IDC_EditBox_TimerEditMenu_Date_text[]= "00/00/0000";
  538. static UINT8 TV_IDC_EditBox_TimerEditMenu_Date_patternText[]= "__/__/____";
  539. edit_t TV_IDC_EditBox_TimerEditMenu_Date = {
  540. {549,334,457,43}, /* Positon of the edit box */
  541. &TV_BgColor_16, /* Bg color */
  542. &TV_BgIcon_114, /* Bg icon */
  543. &TV_TextColor_125, /* Fg color */
  544. {549,334,457,43}, /*Position of the text*/
  545. 6, /* Side size */
  546. 0, /* Fix Char Width */
  547. TV_IDC_EditBox_TimerEditMenu_Date_text, /* Text */
  548. TV_IDC_EditBox_TimerEditMenu_Date_patternText, /* Pattern Text */
  549. 0, /* Seek Pointer */
  550. 10, /* Maximum Digits */
  551. '*', /* Hide_Character */
  552. '0', /* Default Character */
  553. {255,0,255,0}, /* cursor_color */
  554. 124, /* select_char_color */
  555. {NULL,NULL}
  556. };
  557. String_id_t TV_IDC_ComboBox_TimerEditMenu_Mode_string[] =
  558. {
  559. TV_IDS_String_Once,
  560. TV_IDS_String_Daily,
  561. TV_IDS_String_Weekly,
  562. TV_IDS_String_Monthly,
  563. STRING_LAST
  564. };
  565. combo_t TV_IDC_ComboBox_TimerEditMenu_Mode =
  566. {
  567. {549,382,457,43}, /* Positon of the combo box */
  568. &TV_BgColor_17, /* Bg color */
  569. &TV_BgIcon_114, /* Bg icon */
  570. 6, /* Side size */
  571. 0, /* Fix Char Width */
  572. &TV_TextColor_125, /* Fg color */
  573. {549,382,457,43}, /*Position of the text*/
  574. 4, /* Total item count */
  575. 2, /* Focused item index */
  576. NULL, /* Marrquee */
  577. TV_IDC_ComboBox_TimerEditMenu_Mode_string, /* Fg string id */
  578. NULL /* Dynamic string */
  579. };
  580. String_id_t TV_IDC_ComboBox_TimerEditMenu_Record_string[] =
  581. {
  582. TV_IDS_String_BannerOff,
  583. TV_IDS_String_On,
  584. STRING_LAST
  585. };
  586. combo_t TV_IDC_ComboBox_TimerEditMenu_Record =
  587. {
  588. {549,102,457,43}, /* Positon of the combo box */
  589. &TV_BgColor_17, /* Bg color */
  590. &TV_BgIcon_114, /* Bg icon */
  591. 6, /* Side size */
  592. 0, /* Fix Char Width */
  593. &TV_TextColor_125, /* Fg color */
  594. {549,102,457,43}, /*Position of the text*/
  595. 2, /* Total item count */
  596. 0, /* Focused item index */
  597. NULL, /* Marrquee */
  598. TV_IDC_ComboBox_TimerEditMenu_Record_string, /* Fg string id */
  599. NULL /* Dynamic string */
  600. };
  601. text_box_t TV_IDC_TextBox_TimerEditMenu_Time =
  602. {
  603. 0, /* Language name */
  604. &TV_BgColor_6, /* Bg color */
  605. &TV_TextColor_126, /* Text Color */
  606. {798,62,317,37}, /*Position of the text*/
  607. STRING_ID_INVALID, /* Fg string id */
  608. NULL, /* String */
  609. NULL, /* Marrquee */
  610. 0 /* Fix Char Width */
  611. };
  612. btn_icon_t TV_IDC_Button_TimerEditMenu_Ch_Scramble = {
  613. {557,203,23,25}, /* Positon of the button */
  614. &TV_BgColor_6, /* Bg color */
  615. &TV_BgIcon_115, /* Bg icon */
  616. 0, /* Side size */
  617. ICON_ID_INVALID,
  618. };
  619. icon_t TV_IDC_Picture_TimerEditMenu_Move1 =
  620. {
  621. &TV_BgIcon_17
  622. };
  623. WinControl_t TV_IDC_Button_TimerEditMenu_Move1_control[] = {
  624. {
  625. NULL, /* Handle to the control */
  626. CLASS_ICON, /* Type of the control */
  627. 0, /* Common Style of the widget */
  628. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  629. STATE_NORMAL, /* State of the control */
  630. {0, 0, 0, 0}, /* Font style for each state */
  631. 615, /* Start X position of the control */
  632. 614, /* Start Y position of the control */
  633. 72, /* Width of the control */
  634. 46, /* Height of the control */
  635. 255, /* Region index */
  636. (PVOID)&TV_IDC_Picture_TimerEditMenu_Move1, /* Pointer to its specific param */
  637. NULL, /* Pointer to a child control list */
  638. },
  639. };
  640. /* applet structure */
  641. STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Move1_applet = {
  642. 0, /* Current Focus Item */
  643. sizeof(TV_IDC_Button_TimerEditMenu_Move1_control) / sizeof(TV_IDC_Button_TimerEditMenu_Move1_control[0]), /* Number of controls */
  644. TV_IDC_Button_TimerEditMenu_Move1_control, /* Pointer to an array of a control list */
  645. };
  646. btn_text_t TV_IDC_Button_TimerEditMenu_Move1 = {
  647. {667,620,112,34}, /* Positon of the button */
  648. &TV_BgColor_6, /* Bg color */
  649. NULL, /* Bg icon */
  650. 0, /* Side size */
  651. 0, /* Fix Char Width */
  652. &TV_TextColor_98, /* Text Color */
  653. {680,620,94,34}, /*Position of the text*/
  654. TV_IDS_String_Enter, /* Fg string id */
  655. NULL /* Marrquee */
  656. };
  657. /* window controls */
  658. WinControl_t TV_IDM_TimerEditMenu_control[] = {
  659. {
  660. NULL, /* Handle to the control */
  661. CLASS_BUTTON, /* Type of the control */
  662. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  663. S_BTN_TEXT, /* Particular Style of the widget */
  664. STATE_NORMAL, /* State of the control */
  665. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  666. 0, /* Start X position of the control */
  667. 0, /* Start Y position of the control */
  668. 1128, /* Width of the control */
  669. 58, /* Height of the control */
  670. 255, /* Region index */
  671. (PVOID)&TV_IDC_Button_SubMenu_Title, /* Pointer to its specific param */
  672. (PVOID)&TV_IDC_Button_SubMenu_Title_applet, /* Pointer to a child control list */
  673. },
  674. {
  675. NULL, /* Handle to the control */
  676. CLASS_BUTTON, /* Type of the control */
  677. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  678. S_BTN_TEXT, /* Particular Style of the widget */
  679. STATE_NORMAL, /* State of the control */
  680. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  681. 0, /* Start X position of the control */
  682. 58, /* Start Y position of the control */
  683. 1128, /* Width of the control */
  684. 42, /* Height of the control */
  685. 255, /* Region index */
  686. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_1, /* Pointer to its specific param */
  687. NULL, /* Pointer to a child control list */
  688. },
  689. {
  690. NULL, /* Handle to the control */
  691. CLASS_BUTTON, /* Type of the control */
  692. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  693. S_BTN_TEXT, /* Particular Style of the widget */
  694. STATE_NORMAL, /* State of the control */
  695. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  696. 0, /* Start X position of the control */
  697. 100, /* Start Y position of the control */
  698. 1128, /* Width of the control */
  699. 47, /* Height of the control */
  700. 255, /* Region index */
  701. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_2, /* Pointer to its specific param */
  702. NULL, /* Pointer to a child control list */
  703. },
  704. {
  705. NULL, /* Handle to the control */
  706. CLASS_BUTTON, /* Type of the control */
  707. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  708. S_BTN_TEXT, /* Particular Style of the widget */
  709. STATE_NORMAL, /* State of the control */
  710. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  711. 0, /* Start X position of the control */
  712. 147, /* Start Y position of the control */
  713. 1128, /* Width of the control */
  714. 47, /* Height of the control */
  715. 255, /* Region index */
  716. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_3, /* Pointer to its specific param */
  717. NULL, /* Pointer to a child control list */
  718. },
  719. {
  720. NULL, /* Handle to the control */
  721. CLASS_BUTTON, /* Type of the control */
  722. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  723. S_BTN_TEXT, /* Particular Style of the widget */
  724. STATE_NORMAL, /* State of the control */
  725. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  726. 0, /* Start X position of the control */
  727. 194, /* Start Y position of the control */
  728. 1128, /* Width of the control */
  729. 47, /* Height of the control */
  730. 255, /* Region index */
  731. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_4, /* Pointer to its specific param */
  732. NULL, /* Pointer to a child control list */
  733. },
  734. {
  735. NULL, /* Handle to the control */
  736. CLASS_BUTTON, /* Type of the control */
  737. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  738. S_BTN_TEXT, /* Particular Style of the widget */
  739. STATE_NORMAL, /* State of the control */
  740. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  741. 0, /* Start X position of the control */
  742. 241, /* Start Y position of the control */
  743. 1128, /* Width of the control */
  744. 47, /* Height of the control */
  745. 255, /* Region index */
  746. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_5, /* Pointer to its specific param */
  747. NULL, /* Pointer to a child control list */
  748. },
  749. {
  750. NULL, /* Handle to the control */
  751. CLASS_BUTTON, /* Type of the control */
  752. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  753. S_BTN_TEXT, /* Particular Style of the widget */
  754. STATE_NORMAL, /* State of the control */
  755. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  756. 0, /* Start X position of the control */
  757. 288, /* Start Y position of the control */
  758. 1128, /* Width of the control */
  759. 47, /* Height of the control */
  760. 255, /* Region index */
  761. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_6, /* Pointer to its specific param */
  762. NULL, /* Pointer to a child control list */
  763. },
  764. {
  765. NULL, /* Handle to the control */
  766. CLASS_BUTTON, /* Type of the control */
  767. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  768. S_BTN_TEXT, /* Particular Style of the widget */
  769. STATE_NORMAL, /* State of the control */
  770. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  771. 0, /* Start X position of the control */
  772. 335, /* Start Y position of the control */
  773. 1128, /* Width of the control */
  774. 47, /* Height of the control */
  775. 255, /* Region index */
  776. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_7, /* Pointer to its specific param */
  777. NULL, /* Pointer to a child control list */
  778. },
  779. {
  780. NULL, /* Handle to the control */
  781. CLASS_BUTTON, /* Type of the control */
  782. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  783. S_BTN_TEXT, /* Particular Style of the widget */
  784. STATE_NORMAL, /* State of the control */
  785. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  786. 0, /* Start X position of the control */
  787. 382, /* Start Y position of the control */
  788. 1128, /* Width of the control */
  789. 47, /* Height of the control */
  790. 255, /* Region index */
  791. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_8, /* Pointer to its specific param */
  792. NULL, /* Pointer to a child control list */
  793. },
  794. {
  795. NULL, /* Handle to the control */
  796. CLASS_BUTTON, /* Type of the control */
  797. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  798. S_BTN_TEXT, /* Particular Style of the widget */
  799. STATE_NORMAL, /* State of the control */
  800. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  801. 0, /* Start X position of the control */
  802. 429, /* Start Y position of the control */
  803. 1128, /* Width of the control */
  804. 47, /* Height of the control */
  805. 255, /* Region index */
  806. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_9, /* Pointer to its specific param */
  807. NULL, /* Pointer to a child control list */
  808. },
  809. {
  810. NULL, /* Handle to the control */
  811. CLASS_BUTTON, /* Type of the control */
  812. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  813. S_BTN_TEXT, /* Particular Style of the widget */
  814. STATE_NORMAL, /* State of the control */
  815. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  816. 0, /* Start X position of the control */
  817. 476, /* Start Y position of the control */
  818. 1128, /* Width of the control */
  819. 47, /* Height of the control */
  820. 255, /* Region index */
  821. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_10, /* Pointer to its specific param */
  822. NULL, /* Pointer to a child control list */
  823. },
  824. {
  825. NULL, /* Handle to the control */
  826. CLASS_BUTTON, /* Type of the control */
  827. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  828. S_BTN_TEXT, /* Particular Style of the widget */
  829. STATE_NORMAL, /* State of the control */
  830. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  831. 0, /* Start X position of the control */
  832. 523, /* Start Y position of the control */
  833. 1128, /* Width of the control */
  834. 47, /* Height of the control */
  835. 255, /* Region index */
  836. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_11, /* Pointer to its specific param */
  837. NULL, /* Pointer to a child control list */
  838. },
  839. {
  840. NULL, /* Handle to the control */
  841. CLASS_BUTTON, /* Type of the control */
  842. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  843. S_BTN_TEXT, /* Particular Style of the widget */
  844. STATE_NORMAL, /* State of the control */
  845. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  846. 0, /* Start X position of the control */
  847. 570, /* Start Y position of the control */
  848. 1128, /* Width of the control */
  849. 42, /* Height of the control */
  850. 255, /* Region index */
  851. (PVOID)&TV_IDC_Button_TimerEditMenu_BG_12, /* Pointer to its specific param */
  852. NULL, /* Pointer to a child control list */
  853. },
  854. {
  855. NULL, /* Handle to the control */
  856. CLASS_BUTTON_GROUP, /* Type of the control */
  857. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_CTR_V, /* Common Style of the widget */
  858. S_BTN_TEXT|S_BTNG_ROLLBACK|S_BTNG_ONEBYONE, /* Particular Style of the widget */
  859. STATE_NORMAL, /* State of the control */
  860. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  861. 169, /* Start X position of the control */
  862. 100, /* Start Y position of the control */
  863. 891, /* Width of the control */
  864. 365, /* Height of the control */
  865. 255, /* Region index */
  866. (PVOID)&TV_IDC_GroupButton_TimerEditMenu, /* Pointer to its specific param */
  867. (PVOID)&TV_IDC_GroupButton_TimerEditMenu_applet, /* Pointer to a child control list */
  868. },
  869. {
  870. NULL, /* Handle to the control */
  871. CLASS_BUTTON, /* Type of the control */
  872. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  873. S_BTN_TEXT, /* Particular Style of the widget */
  874. STATE_NORMAL, /* State of the control */
  875. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  876. 0, /* Start X position of the control */
  877. 612, /* Start Y position of the control */
  878. 1128, /* Width of the control */
  879. 47, /* Height of the control */
  880. 255, /* Region index */
  881. (PVOID)&TV_IDC_Button_TimerEditMenu_Hint_BG, /* Pointer to its specific param */
  882. (PVOID)&TV_IDC_Button_TimerEditMenu_Hint_BG_applet, /* Pointer to a child control list */
  883. },
  884. {
  885. NULL, /* Handle to the control */
  886. CLASS_BUTTON, /* Type of the control */
  887. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  888. S_BTN_TEXT, /* Particular Style of the widget */
  889. STATE_NORMAL, /* State of the control */
  890. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  891. 157, /* Start X position of the control */
  892. 612, /* Start Y position of the control */
  893. 174, /* Width of the control */
  894. 46, /* Height of the control */
  895. 255, /* Region index */
  896. (PVOID)&TV_IDC_Button_TimerEditMenu_Move, /* Pointer to its specific param */
  897. (PVOID)&TV_IDC_Button_TimerEditMenu_Move_applet, /* Pointer to a child control list */
  898. },
  899. {
  900. NULL, /* Handle to the control */
  901. CLASS_BUTTON, /* Type of the control */
  902. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  903. S_BTN_TEXT, /* Particular Style of the widget */
  904. STATE_NORMAL, /* State of the control */
  905. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  906. 397, /* Start X position of the control */
  907. 612, /* Start Y position of the control */
  908. 154, /* Width of the control */
  909. 48, /* Height of the control */
  910. 255, /* Region index */
  911. (PVOID)&TV_IDC_Button_TimerEditMenu_Num, /* Pointer to its specific param */
  912. (PVOID)&TV_IDC_Button_TimerEditMenu_Num_applet, /* Pointer to a child control list */
  913. },
  914. {
  915. NULL, /* Handle to the control */
  916. CLASS_BUTTON, /* Type of the control */
  917. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  918. S_BTN_TEXT, /* Particular Style of the widget */
  919. STATE_NORMAL, /* State of the control */
  920. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  921. 835, /* Start X position of the control */
  922. 614, /* Start Y position of the control */
  923. 194, /* Width of the control */
  924. 46, /* Height of the control */
  925. 255, /* Region index */
  926. (PVOID)&TV_IDC_Button_TimerEditMenu_Move2, /* Pointer to its specific param */
  927. (PVOID)&TV_IDC_Button_TimerEditMenu_Move2_applet, /* Pointer to a child control list */
  928. },
  929. {
  930. NULL, /* Handle to the control */
  931. CLASS_COMBO, /* Type of the control */
  932. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  933. S_COMBO_TEXT, /* Particular Style of the widget */
  934. STATE_NORMAL, /* State of the control */
  935. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  936. 549, /* Start X position of the control */
  937. 148, /* Start Y position of the control */
  938. 457, /* Width of the control */
  939. 43, /* Height of the control */
  940. 255, /* Region index */
  941. (PVOID)&TV_IDC_ComboBox_TimerEditMenu_Type, /* Pointer to its specific param */
  942. NULL, /* Pointer to a child control list */
  943. },
  944. {
  945. NULL, /* Handle to the control */
  946. CLASS_BUTTON, /* Type of the control */
  947. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_TOP|CS_SIDE_H, /* Common Style of the widget */
  948. S_BTN_TEXT, /* Particular Style of the widget */
  949. STATE_NORMAL, /* State of the control */
  950. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  951. 549, /* Start X position of the control */
  952. 195, /* Start Y position of the control */
  953. 457, /* Width of the control */
  954. 43, /* Height of the control */
  955. 255, /* Region index */
  956. (PVOID)&TV_IDC_Button_TimerEditMenu_ChnNameBG, /* Pointer to its specific param */
  957. NULL, /* Pointer to a child control list */
  958. },
  959. {
  960. NULL, /* Handle to the control */
  961. CLASS_TEXT, /* Type of the control */
  962. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  963. 0, /* Particular Style of the widget */
  964. STATE_NORMAL, /* State of the control */
  965. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  966. 590, /* Start X position of the control */
  967. 195, /* Start Y position of the control */
  968. 400, /* Width of the control */
  969. 43, /* Height of the control */
  970. 255, /* Region index */
  971. (PVOID)&TV_IDC_TextBox_TimerEditMenu_ChnName, /* Pointer to its specific param */
  972. NULL, /* Pointer to a child control list */
  973. },
  974. {
  975. NULL, /* Handle to the control */
  976. CLASS_EDIT, /* Type of the control */
  977. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  978. S_EDIT_UNDER_LINE|S_EDIT_CURSOR_TWINKLE, /* Particular Style of the widget */
  979. STATE_NORMAL, /* State of the control */
  980. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  981. 549, /* Start X position of the control */
  982. 242, /* Start Y position of the control */
  983. 457, /* Width of the control */
  984. 43, /* Height of the control */
  985. 255, /* Region index */
  986. (PVOID)&TV_IDC_EditBox_TimerEditMenu_StartTime, /* Pointer to its specific param */
  987. NULL, /* Pointer to a child control list */
  988. },
  989. {
  990. NULL, /* Handle to the control */
  991. CLASS_EDIT, /* Type of the control */
  992. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  993. S_EDIT_UNDER_LINE|S_EDIT_CURSOR_TWINKLE, /* Particular Style of the widget */
  994. STATE_DISABLED, /* State of the control */
  995. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  996. 549, /* Start X position of the control */
  997. 290, /* Start Y position of the control */
  998. 457, /* Width of the control */
  999. 43, /* Height of the control */
  1000. 255, /* Region index */
  1001. (PVOID)&TV_IDC_EditBox_TimerEditMenu_EndTime, /* Pointer to its specific param */
  1002. NULL, /* Pointer to a child control list */
  1003. },
  1004. {
  1005. NULL, /* Handle to the control */
  1006. CLASS_EDIT, /* Type of the control */
  1007. CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */
  1008. S_EDIT_CURSOR_TWINKLE, /* Particular Style of the widget */
  1009. STATE_NORMAL, /* State of the control */
  1010. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  1011. 549, /* Start X position of the control */
  1012. 334, /* Start Y position of the control */
  1013. 457, /* Width of the control */
  1014. 43, /* Height of the control */
  1015. 255, /* Region index */
  1016. (PVOID)&TV_IDC_EditBox_TimerEditMenu_Date, /* Pointer to its specific param */
  1017. NULL, /* Pointer to a child control list */
  1018. },
  1019. {
  1020. NULL, /* Handle to the control */
  1021. CLASS_COMBO, /* Type of the control */
  1022. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  1023. S_COMBO_TEXT, /* Particular Style of the widget */
  1024. STATE_NORMAL, /* State of the control */
  1025. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  1026. 549, /* Start X position of the control */
  1027. 382, /* Start Y position of the control */
  1028. 457, /* Width of the control */
  1029. 43, /* Height of the control */
  1030. 255, /* Region index */
  1031. (PVOID)&TV_IDC_ComboBox_TimerEditMenu_Mode, /* Pointer to its specific param */
  1032. NULL, /* Pointer to a child control list */
  1033. },
  1034. {
  1035. NULL, /* Handle to the control */
  1036. CLASS_COMBO, /* Type of the control */
  1037. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  1038. S_COMBO_TEXT, /* Particular Style of the widget */
  1039. STATE_NORMAL, /* State of the control */
  1040. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  1041. 549, /* Start X position of the control */
  1042. 102, /* Start Y position of the control */
  1043. 457, /* Width of the control */
  1044. 43, /* Height of the control */
  1045. 255, /* Region index */
  1046. (PVOID)&TV_IDC_ComboBox_TimerEditMenu_Record, /* Pointer to its specific param */
  1047. NULL, /* Pointer to a child control list */
  1048. },
  1049. {
  1050. NULL, /* Handle to the control */
  1051. CLASS_TEXT, /* Type of the control */
  1052. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  1053. 0, /* Particular Style of the widget */
  1054. STATE_NORMAL, /* State of the control */
  1055. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  1056. 798, /* Start X position of the control */
  1057. 62, /* Start Y position of the control */
  1058. 317, /* Width of the control */
  1059. 37, /* Height of the control */
  1060. 255, /* Region index */
  1061. (PVOID)&TV_IDC_TextBox_TimerEditMenu_Time, /* Pointer to its specific param */
  1062. NULL, /* Pointer to a child control list */
  1063. },
  1064. {
  1065. NULL, /* Handle to the control */
  1066. CLASS_BUTTON, /* Type of the control */
  1067. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  1068. S_BTN_ICON, /* Particular Style of the widget */
  1069. STATE_NORMAL, /* State of the control */
  1070. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  1071. 556, /* Start X position of the control */
  1072. 203, /* Start Y position of the control */
  1073. 24, /* Width of the control */
  1074. 25, /* Height of the control */
  1075. 255, /* Region index */
  1076. (PVOID)&TV_IDC_Button_TimerEditMenu_Ch_Scramble, /* Pointer to its specific param */
  1077. NULL, /* Pointer to a child control list */
  1078. },
  1079. {
  1080. NULL, /* Handle to the control */
  1081. CLASS_BUTTON, /* Type of the control */
  1082. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  1083. S_BTN_TEXT, /* Particular Style of the widget */
  1084. STATE_NORMAL, /* State of the control */
  1085. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  1086. 615, /* Start X position of the control */
  1087. 614, /* Start Y position of the control */
  1088. 164, /* Width of the control */
  1089. 46, /* Height of the control */
  1090. 255, /* Region index */
  1091. (PVOID)&TV_IDC_Button_TimerEditMenu_Move1, /* Pointer to its specific param */
  1092. (PVOID)&TV_IDC_Button_TimerEditMenu_Move1_applet, /* Pointer to a child control list */
  1093. },
  1094. };
  1095. /* applet structure */
  1096. STRUCT_APPLET TV_IDM_TimerEditMenu_applet = {
  1097. 0, /* Current Focus Item */
  1098. sizeof(TV_IDM_TimerEditMenu_control) / sizeof(TV_IDM_TimerEditMenu_control[0]), /* Number of controls */
  1099. (WinControl_t*)TV_IDM_TimerEditMenu_control, /* Pointer to an array of a control list */
  1100. };
  1101. /* window structure */
  1102. WinControl_t TV_IDM_TimerEditMenu_window= {
  1103. NULL, /* Handle to the control */
  1104. CLASS_WINDOW, /* Type of the control */
  1105. 0, /* Style of the control */
  1106. 0,
  1107. WIN_NORMAL, /* State of the control */
  1108. {0, 0, 0, 0}, /* State of the control */
  1109. 88, /* Start X position of the control */
  1110. 0, /* Start Y position of the control */
  1111. 1128, /* Width of the control */
  1112. 660, /* Height of the control */
  1113. 1, /* Region index */
  1114. NULL, /* Pointer to its specific param */
  1115. (PVOID)&TV_IDM_TimerEditMenu_applet, /* Pointer to a child control list */
  1116. };