TV_IDM_OptionMenu.c 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_OptionMenu.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_OptionMenu.h"
  35. #include "TV_font_style_define.h"
  36. btn_text_t TV_IDC_OptionMenu_BG = {
  37. {623,40,280,275}, /* Positon of the button */
  38. &TV_BgColor_0, /* Bg color */
  39. &TV_BgIcon_0, /* Bg icon */
  40. 3, /* Side size */
  41. 0, /* Fix Char Width */
  42. &TV_TextColor_0, /* Text Color */
  43. {623,40,280,275}, /*Position of the text*/
  44. STRING_ID_INVALID, /* Fg string id */
  45. NULL /* Marrquee */
  46. };
  47. list_color_t TV_IDC_ListView_OptionMenuText_listcolor =
  48. {
  49. {120,120,120,0}, /* Bg color for odd items */
  50. {120,120,120,0}, /* Bg color for even items */
  51. {184,219,8,255}, /* Bg color for the focused item */
  52. {255,0,255,0} /* Bg color for the clicked item */
  53. };
  54. listview_t TV_IDC_ListView_OptionMenuText =
  55. {
  56. &TV_IDC_ListView_OptionMenuText_listcolor,
  57. ICON_ID_INVALID, /* Icon to show on the focused item */
  58. ICON_ID_INVALID, /* Icon to show on the clicked item */
  59. 0, /* Side size */
  60. {623, 80, 280, 30}, /* First item pos */
  61. {623,80,280,30}, /* Focus color pos */
  62. {623,80,280,30}, /* Focus icon pos */
  63. {643,80,240,30}, /*Position of the text*/
  64. 0, /* Offset related */
  65. &TV_TextColor_15, /* Fg color */
  66. NULL, /* Fg string id */
  67. NULL, /* Dynamic string text */
  68. 2, /* Space */
  69. 6, /* Page item count */
  70. 0, /* Total item count */
  71. 0, /* First list index */
  72. 0, /* Focused item index */
  73. 0, /* Click item index */
  74. 0, /* Fix Char Width */
  75. NULL, /* Marrquee */
  76. NULL, /* Disabled items */
  77. };
  78. icon_t TV_IDC_Picture_Up1 =
  79. {
  80. &TV_BgIcon_13
  81. };
  82. icon_t TV_IDC_Picture_Down1 =
  83. {
  84. &TV_BgIcon_13
  85. };
  86. btn_text_t TV_IDC_Button_OptionMenu_Title = {
  87. {631,46,156,27}, /* Positon of the button */
  88. &TV_BgColor_2, /* Bg color */
  89. NULL, /* Bg icon */
  90. 0, /* Side size */
  91. 0, /* Fix Char Width */
  92. &TV_TextColor_9, /* Text Color */
  93. {631,46,156,27}, /*Position of the text*/
  94. TV_IDS_String_NesDisplayMode, /* Fg string id */
  95. NULL /* Marrquee */
  96. };
  97. btn_text_t TV_IDC_Button_OptionMenu_RepeatMode = {
  98. {792,46,100,27}, /* Positon of the button */
  99. &TV_BgColor_2, /* Bg color */
  100. NULL, /* Bg icon */
  101. 0, /* Side size */
  102. 0, /* Fix Char Width */
  103. &TV_TextColor_9, /* Text Color */
  104. {792,46,100,27}, /*Position of the text*/
  105. STRING_ID_INVALID, /* Fg string id */
  106. NULL /* Marrquee */
  107. };
  108. bg_t TV_IDC_Background__OptionMenu_Return = {
  109. &TV_BgColor_3, /* background color */
  110. &TV_BgIcon_4 /*background bitmap id */
  111. };
  112. WinControl_t TV_IDC_Button_OptionMenu_Return_control[] = {
  113. {
  114. NULL, /* Handle to the control */
  115. CLASS_BACKGROUND, /* Type of the control */
  116. 0, /* Common Style of the widget */
  117. S_BG_PICTURE, /* Particular Style of the widget */
  118. STATE_NORMAL, /* State of the control */
  119. {0, 0, 0, 0}, /* Font style for each state */
  120. 804, /* Start X position of the control */
  121. 280, /* Start Y position of the control */
  122. 44, /* Width of the control */
  123. 27, /* Height of the control */
  124. 255, /* Region index */
  125. (PVOID)&TV_IDC_Background__OptionMenu_Return, /* Pointer to its specific param */
  126. NULL, /* Pointer to a child control list */
  127. },
  128. };
  129. /* applet structure */
  130. STRUCT_APPLET TV_IDC_Button_OptionMenu_Return_applet = {
  131. 0, /* Current Focus Item */
  132. sizeof(TV_IDC_Button_OptionMenu_Return_control) / sizeof(TV_IDC_Button_OptionMenu_Return_control[0]), /* Number of controls */
  133. TV_IDC_Button_OptionMenu_Return_control, /* Pointer to an array of a control list */
  134. };
  135. btn_text_t TV_IDC_Button_OptionMenu_Return = {
  136. {805,280,96,27}, /* Positon of the button */
  137. &TV_BgColor_0, /* Bg color */
  138. NULL, /* Bg icon */
  139. 0, /* Side size */
  140. 0, /* Fix Char Width */
  141. &TV_TextColor_3, /* Text Color */
  142. {841,280,60,27}, /*Position of the text*/
  143. TV_IDS_String_MENU, /* Fg string id */
  144. NULL /* Marrquee */
  145. };
  146. bg_t TV_IDC_Background_OptionMenu_Enter = {
  147. &TV_BgColor_3, /* background color */
  148. &TV_BgIcon_1 /*background bitmap id */
  149. };
  150. WinControl_t TV_IDC_Button_OptionMenu_Enter_control[] = {
  151. {
  152. NULL, /* Handle to the control */
  153. CLASS_BACKGROUND, /* Type of the control */
  154. 0, /* Common Style of the widget */
  155. S_BG_PICTURE, /* Particular Style of the widget */
  156. STATE_NORMAL, /* State of the control */
  157. {0, 0, 0, 0}, /* Font style for each state */
  158. 655, /* Start X position of the control */
  159. 280, /* Start Y position of the control */
  160. 38, /* Width of the control */
  161. 27, /* Height of the control */
  162. 255, /* Region index */
  163. (PVOID)&TV_IDC_Background_OptionMenu_Enter, /* Pointer to its specific param */
  164. NULL, /* Pointer to a child control list */
  165. },
  166. };
  167. /* applet structure */
  168. STRUCT_APPLET TV_IDC_Button_OptionMenu_Enter_applet = {
  169. 0, /* Current Focus Item */
  170. sizeof(TV_IDC_Button_OptionMenu_Enter_control) / sizeof(TV_IDC_Button_OptionMenu_Enter_control[0]), /* Number of controls */
  171. TV_IDC_Button_OptionMenu_Enter_control, /* Pointer to an array of a control list */
  172. };
  173. btn_text_t TV_IDC_Button_OptionMenu_Enter = {
  174. {654,280,125,27}, /* Positon of the button */
  175. &TV_BgColor_0, /* Bg color */
  176. NULL, /* Bg icon */
  177. 0, /* Side size */
  178. 0, /* Fix Char Width */
  179. &TV_TextColor_3, /* Text Color */
  180. {697,280,82,27}, /*Position of the text*/
  181. TV_IDS_String_Enter, /* Fg string id */
  182. NULL /* Marrquee */
  183. };
  184. icon_t TV_IDC_Picture_Left =
  185. {
  186. &TV_BgIcon_14
  187. };
  188. icon_t TV_IDC_Picture_Right =
  189. {
  190. &TV_BgIcon_14
  191. };
  192. btn_text_t TV_IDC_Button_OpMn_ArrowL0 = {
  193. {603,87,16,16}, /* Positon of the button */
  194. &TV_BgColor_2, /* Bg color */
  195. &TV_BgIcon_15, /* Bg icon */
  196. 0, /* Side size */
  197. 0, /* Fix Char Width */
  198. &TV_TextColor_0, /* Text Color */
  199. {603,87,16,16}, /*Position of the text*/
  200. STRING_ID_INVALID, /* Fg string id */
  201. NULL /* Marrquee */
  202. };
  203. btn_text_t TV_IDC_Button_OpMn_ArrowL1 = {
  204. {603,122,16,16}, /* Positon of the button */
  205. &TV_BgColor_2, /* Bg color */
  206. &TV_BgIcon_15, /* Bg icon */
  207. 0, /* Side size */
  208. 0, /* Fix Char Width */
  209. &TV_TextColor_0, /* Text Color */
  210. {603,122,16,16}, /*Position of the text*/
  211. STRING_ID_INVALID, /* Fg string id */
  212. NULL /* Marrquee */
  213. };
  214. btn_text_t TV_IDC_Button_OpMn_ArrowL2 = {
  215. {603,154,16,16}, /* Positon of the button */
  216. &TV_BgColor_2, /* Bg color */
  217. &TV_BgIcon_15, /* Bg icon */
  218. 0, /* Side size */
  219. 0, /* Fix Char Width */
  220. &TV_TextColor_0, /* Text Color */
  221. {603,154,16,16}, /*Position of the text*/
  222. STRING_ID_INVALID, /* Fg string id */
  223. NULL /* Marrquee */
  224. };
  225. btn_text_t TV_IDC_Button_OpMn_ArrowL3 = {
  226. {603,185,16,16}, /* Positon of the button */
  227. &TV_BgColor_2, /* Bg color */
  228. &TV_BgIcon_15, /* Bg icon */
  229. 0, /* Side size */
  230. 0, /* Fix Char Width */
  231. &TV_TextColor_0, /* Text Color */
  232. {603,185,16,16}, /*Position of the text*/
  233. STRING_ID_INVALID, /* Fg string id */
  234. NULL /* Marrquee */
  235. };
  236. btn_text_t TV_IDC_Button_OpMn_ArrowL4 = {
  237. {603,216,16,16}, /* Positon of the button */
  238. &TV_BgColor_2, /* Bg color */
  239. &TV_BgIcon_15, /* Bg icon */
  240. 0, /* Side size */
  241. 0, /* Fix Char Width */
  242. &TV_TextColor_0, /* Text Color */
  243. {603,216,16,16}, /*Position of the text*/
  244. STRING_ID_INVALID, /* Fg string id */
  245. NULL /* Marrquee */
  246. };
  247. btn_text_t TV_IDC_Button_OpMn_Dec0 = {
  248. {626,87,16,16}, /* Positon of the button */
  249. &TV_BgColor_2, /* Bg color */
  250. &TV_BgIcon_16, /* Bg icon */
  251. 0, /* Side size */
  252. 0, /* Fix Char Width */
  253. &TV_TextColor_0, /* Text Color */
  254. {626,87,9,16}, /*Position of the text*/
  255. STRING_ID_INVALID, /* Fg string id */
  256. NULL /* Marrquee */
  257. };
  258. btn_text_t TV_IDC_Button_OpMn_Dec1 = {
  259. {626,120,16,16}, /* Positon of the button */
  260. &TV_BgColor_2, /* Bg color */
  261. &TV_BgIcon_16, /* Bg icon */
  262. 0, /* Side size */
  263. 0, /* Fix Char Width */
  264. &TV_TextColor_0, /* Text Color */
  265. {626,120,16,16}, /*Position of the text*/
  266. STRING_ID_INVALID, /* Fg string id */
  267. NULL /* Marrquee */
  268. };
  269. btn_text_t TV_IDC_Button_OpMn_Dec2 = {
  270. {626,152,16,16}, /* Positon of the button */
  271. &TV_BgColor_2, /* Bg color */
  272. &TV_BgIcon_16, /* Bg icon */
  273. 0, /* Side size */
  274. 0, /* Fix Char Width */
  275. &TV_TextColor_0, /* Text Color */
  276. {626,152,16,16}, /*Position of the text*/
  277. STRING_ID_INVALID, /* Fg string id */
  278. NULL /* Marrquee */
  279. };
  280. btn_text_t TV_IDC_Button_OpMn_Dec3 = {
  281. {626,183,16,16}, /* Positon of the button */
  282. &TV_BgColor_2, /* Bg color */
  283. &TV_BgIcon_16, /* Bg icon */
  284. 0, /* Side size */
  285. 0, /* Fix Char Width */
  286. &TV_TextColor_0, /* Text Color */
  287. {626,183,16,16}, /*Position of the text*/
  288. STRING_ID_INVALID, /* Fg string id */
  289. NULL /* Marrquee */
  290. };
  291. btn_text_t TV_IDC_Button_OpMn_Dec4 = {
  292. {626,215,16,16}, /* Positon of the button */
  293. &TV_BgColor_2, /* Bg color */
  294. &TV_BgIcon_16, /* Bg icon */
  295. 0, /* Side size */
  296. 0, /* Fix Char Width */
  297. &TV_TextColor_0, /* Text Color */
  298. {626,215,16,16}, /*Position of the text*/
  299. STRING_ID_INVALID, /* Fg string id */
  300. NULL /* Marrquee */
  301. };
  302. btn_text_t TV_IDC_Button_OpMn_Inc0 = {
  303. {881,87,16,16}, /* Positon of the button */
  304. &TV_BgColor_2, /* Bg color */
  305. &TV_BgIcon_17, /* Bg icon */
  306. 0, /* Side size */
  307. 0, /* Fix Char Width */
  308. &TV_TextColor_0, /* Text Color */
  309. {881,87,16,16}, /*Position of the text*/
  310. STRING_ID_INVALID, /* Fg string id */
  311. NULL /* Marrquee */
  312. };
  313. btn_text_t TV_IDC_Button_OpMn_Inc1 = {
  314. {881,120,16,16}, /* Positon of the button */
  315. &TV_BgColor_2, /* Bg color */
  316. &TV_BgIcon_17, /* Bg icon */
  317. 0, /* Side size */
  318. 0, /* Fix Char Width */
  319. &TV_TextColor_0, /* Text Color */
  320. {881,120,16,16}, /*Position of the text*/
  321. STRING_ID_INVALID, /* Fg string id */
  322. NULL /* Marrquee */
  323. };
  324. btn_text_t TV_IDC_Button_OpMn_Inc2 = {
  325. {881,152,16,16}, /* Positon of the button */
  326. &TV_BgColor_2, /* Bg color */
  327. &TV_BgIcon_17, /* Bg icon */
  328. 0, /* Side size */
  329. 0, /* Fix Char Width */
  330. &TV_TextColor_0, /* Text Color */
  331. {881,152,16,16}, /*Position of the text*/
  332. STRING_ID_INVALID, /* Fg string id */
  333. NULL /* Marrquee */
  334. };
  335. btn_text_t TV_IDC_Button_OpMn_Inc3 = {
  336. {881,183,16,16}, /* Positon of the button */
  337. &TV_BgColor_2, /* Bg color */
  338. &TV_BgIcon_17, /* Bg icon */
  339. 0, /* Side size */
  340. 0, /* Fix Char Width */
  341. &TV_TextColor_0, /* Text Color */
  342. {881,183,16,16}, /*Position of the text*/
  343. STRING_ID_INVALID, /* Fg string id */
  344. NULL /* Marrquee */
  345. };
  346. btn_text_t TV_IDC_Button_OpMn_Inc4 = {
  347. {881,215,16,16}, /* Positon of the button */
  348. &TV_BgColor_2, /* Bg color */
  349. &TV_BgIcon_17, /* Bg icon */
  350. 0, /* Side size */
  351. 0, /* Fix Char Width */
  352. &TV_TextColor_0, /* Text Color */
  353. {881,215,16,16}, /*Position of the text*/
  354. STRING_ID_INVALID, /* Fg string id */
  355. NULL /* Marrquee */
  356. };
  357. btn_text_t TV_IDC_Button_OpMn_ArrowR0 = {
  358. {906,87,16,16}, /* Positon of the button */
  359. &TV_BgColor_2, /* Bg color */
  360. &TV_BgIcon_18, /* Bg icon */
  361. 0, /* Side size */
  362. 0, /* Fix Char Width */
  363. &TV_TextColor_0, /* Text Color */
  364. {906,87,16,16}, /*Position of the text*/
  365. STRING_ID_INVALID, /* Fg string id */
  366. NULL /* Marrquee */
  367. };
  368. btn_text_t TV_IDC_Button_OpMn_ArrowR1 = {
  369. {906,120,16,16}, /* Positon of the button */
  370. &TV_BgColor_2, /* Bg color */
  371. &TV_BgIcon_18, /* Bg icon */
  372. 0, /* Side size */
  373. 0, /* Fix Char Width */
  374. &TV_TextColor_0, /* Text Color */
  375. {906,120,16,16}, /*Position of the text*/
  376. STRING_ID_INVALID, /* Fg string id */
  377. NULL /* Marrquee */
  378. };
  379. btn_text_t TV_IDC_Button_OpMn_ArrowR2 = {
  380. {906,148,16,16}, /* Positon of the button */
  381. &TV_BgColor_2, /* Bg color */
  382. &TV_BgIcon_18, /* Bg icon */
  383. 0, /* Side size */
  384. 0, /* Fix Char Width */
  385. &TV_TextColor_0, /* Text Color */
  386. {906,148,16,16}, /*Position of the text*/
  387. STRING_ID_INVALID, /* Fg string id */
  388. NULL /* Marrquee */
  389. };
  390. btn_text_t TV_IDC_Button_OpMn_ArrowR3 = {
  391. {906,183,16,16}, /* Positon of the button */
  392. &TV_BgColor_2, /* Bg color */
  393. &TV_BgIcon_18, /* Bg icon */
  394. 0, /* Side size */
  395. 0, /* Fix Char Width */
  396. &TV_TextColor_0, /* Text Color */
  397. {906,183,16,16}, /*Position of the text*/
  398. STRING_ID_INVALID, /* Fg string id */
  399. NULL /* Marrquee */
  400. };
  401. btn_text_t TV_IDC_Button_OpMn_ArrowR4 = {
  402. {906,214,16,16}, /* Positon of the button */
  403. &TV_BgColor_2, /* Bg color */
  404. &TV_BgIcon_18, /* Bg icon */
  405. 0, /* Side size */
  406. 0, /* Fix Char Width */
  407. &TV_TextColor_0, /* Text Color */
  408. {906,214,16,16}, /*Position of the text*/
  409. STRING_ID_INVALID, /* Fg string id */
  410. NULL /* Marrquee */
  411. };
  412. /* window controls */
  413. WinControl_t TV_IDM_OptionMenu_control[] = {
  414. {
  415. NULL, /* Handle to the control */
  416. CLASS_BUTTON, /* Type of the control */
  417. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_TOP|CS_SIDE_H, /* Common Style of the widget */
  418. S_BTN_TEXT, /* Particular Style of the widget */
  419. STATE_NORMAL, /* State of the control */
  420. {TV_Large, TV_Large, TV_Large, TV_Large}, /* Font style for each state */
  421. 623, /* Start X position of the control */
  422. 40, /* Start Y position of the control */
  423. 280, /* Width of the control */
  424. 275, /* Height of the control */
  425. 255, /* Region index */
  426. (PVOID)&TV_IDC_OptionMenu_BG, /* Pointer to its specific param */
  427. NULL, /* Pointer to a child control list */
  428. },
  429. {
  430. NULL, /* Handle to the control */
  431. CLASS_LISTVIEW, /* Type of the control */
  432. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  433. S_LIST_ROLLBACK, /* Particular Style of the widget */
  434. STATE_FOCUSED, /* State of the control */
  435. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  436. 623, /* Start X position of the control */
  437. 80, /* Start Y position of the control */
  438. 280, /* Width of the control */
  439. 192, /* Height of the control */
  440. 255, /* Region index */
  441. (PVOID)&TV_IDC_ListView_OptionMenuText, /* Pointer to its specific param */
  442. NULL, /* Pointer to a child control list */
  443. },
  444. {
  445. NULL, /* Handle to the control */
  446. CLASS_ICON, /* Type of the control */
  447. 0, /* Common Style of the widget */
  448. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  449. STATE_NORMAL, /* State of the control */
  450. {0, 0, 0, 0}, /* Font style for each state */
  451. 749, /* Start X position of the control */
  452. 18, /* Start Y position of the control */
  453. 20, /* Width of the control */
  454. 22, /* Height of the control */
  455. 255, /* Region index */
  456. (PVOID)&TV_IDC_Picture_Up1, /* Pointer to its specific param */
  457. NULL, /* Pointer to a child control list */
  458. },
  459. {
  460. NULL, /* Handle to the control */
  461. CLASS_ICON, /* Type of the control */
  462. CS_PIC_FLIP, /* Common Style of the widget */
  463. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  464. STATE_NORMAL, /* State of the control */
  465. {0, 0, 0, 0}, /* Font style for each state */
  466. 752, /* Start X position of the control */
  467. 321, /* Start Y position of the control */
  468. 20, /* Width of the control */
  469. 22, /* Height of the control */
  470. 255, /* Region index */
  471. (PVOID)&TV_IDC_Picture_Down1, /* Pointer to its specific param */
  472. NULL, /* Pointer to a child control list */
  473. },
  474. {
  475. NULL, /* Handle to the control */
  476. CLASS_BUTTON, /* Type of the control */
  477. CS_FONT_LEFT|CS_FONT_V_TOP, /* Common Style of the widget */
  478. S_BTN_TEXT, /* Particular Style of the widget */
  479. STATE_NORMAL, /* State of the control */
  480. {TV_Standard, TV_Standard, TV_Large, TV_Large}, /* Font style for each state */
  481. 631, /* Start X position of the control */
  482. 46, /* Start Y position of the control */
  483. 156, /* Width of the control */
  484. 27, /* Height of the control */
  485. 255, /* Region index */
  486. (PVOID)&TV_IDC_Button_OptionMenu_Title, /* Pointer to its specific param */
  487. NULL, /* Pointer to a child control list */
  488. },
  489. {
  490. NULL, /* Handle to the control */
  491. CLASS_BUTTON, /* Type of the control */
  492. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  493. S_BTN_TEXT, /* Particular Style of the widget */
  494. STATE_NORMAL, /* State of the control */
  495. {TV_Standard, TV_Standard, TV_Large, TV_Large}, /* Font style for each state */
  496. 792, /* Start X position of the control */
  497. 46, /* Start Y position of the control */
  498. 100, /* Width of the control */
  499. 27, /* Height of the control */
  500. 255, /* Region index */
  501. (PVOID)&TV_IDC_Button_OptionMenu_RepeatMode, /* Pointer to its specific param */
  502. NULL, /* Pointer to a child control list */
  503. },
  504. {
  505. NULL, /* Handle to the control */
  506. CLASS_BUTTON, /* Type of the control */
  507. CS_PIC_REPEAT|CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  508. S_BTN_TEXT, /* Particular Style of the widget */
  509. STATE_NORMAL, /* State of the control */
  510. {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  511. 789, /* Start X position of the control */
  512. 280, /* Start Y position of the control */
  513. 112, /* Width of the control */
  514. 27, /* Height of the control */
  515. 255, /* Region index */
  516. (PVOID)&TV_IDC_Button_OptionMenu_Return, /* Pointer to its specific param */
  517. (PVOID)&TV_IDC_Button_OptionMenu_Return_applet, /* Pointer to a child control list */
  518. },
  519. {
  520. NULL, /* Handle to the control */
  521. CLASS_BUTTON, /* Type of the control */
  522. CS_PIC_REPEAT|CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  523. S_BTN_TEXT, /* Particular Style of the widget */
  524. STATE_NORMAL, /* State of the control */
  525. {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */
  526. 654, /* Start X position of the control */
  527. 280, /* Start Y position of the control */
  528. 125, /* Width of the control */
  529. 27, /* Height of the control */
  530. 255, /* Region index */
  531. (PVOID)&TV_IDC_Button_OptionMenu_Enter, /* Pointer to its specific param */
  532. (PVOID)&TV_IDC_Button_OptionMenu_Enter_applet, /* Pointer to a child control list */
  533. },
  534. {
  535. NULL, /* Handle to the control */
  536. CLASS_ICON, /* Type of the control */
  537. 0, /* Common Style of the widget */
  538. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  539. STATE_INVISIBLE, /* State of the control */
  540. {0, 0, 0, 0}, /* Font style for each state */
  541. 602, /* Start X position of the control */
  542. 54, /* Start Y position of the control */
  543. 20, /* Width of the control */
  544. 22, /* Height of the control */
  545. 255, /* Region index */
  546. (PVOID)&TV_IDC_Picture_Left, /* Pointer to its specific param */
  547. NULL, /* Pointer to a child control list */
  548. },
  549. {
  550. NULL, /* Handle to the control */
  551. CLASS_ICON, /* Type of the control */
  552. CS_PIC_MIRROR, /* Common Style of the widget */
  553. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  554. STATE_INVISIBLE, /* State of the control */
  555. {0, 0, 0, 0}, /* Font style for each state */
  556. 904, /* Start X position of the control */
  557. 54, /* Start Y position of the control */
  558. 20, /* Width of the control */
  559. 22, /* Height of the control */
  560. 255, /* Region index */
  561. (PVOID)&TV_IDC_Picture_Right, /* Pointer to its specific param */
  562. NULL, /* Pointer to a child control list */
  563. },
  564. {
  565. NULL, /* Handle to the control */
  566. CLASS_BUTTON, /* Type of the control */
  567. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  568. S_BTN_TEXT, /* Particular Style of the widget */
  569. STATE_NORMAL, /* State of the control */
  570. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  571. 603, /* Start X position of the control */
  572. 87, /* Start Y position of the control */
  573. 16, /* Width of the control */
  574. 16, /* Height of the control */
  575. 255, /* Region index */
  576. (PVOID)&TV_IDC_Button_OpMn_ArrowL0, /* Pointer to its specific param */
  577. NULL, /* Pointer to a child control list */
  578. },
  579. {
  580. NULL, /* Handle to the control */
  581. CLASS_BUTTON, /* Type of the control */
  582. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  583. S_BTN_TEXT, /* Particular Style of the widget */
  584. STATE_NORMAL, /* State of the control */
  585. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  586. 603, /* Start X position of the control */
  587. 122, /* Start Y position of the control */
  588. 16, /* Width of the control */
  589. 16, /* Height of the control */
  590. 255, /* Region index */
  591. (PVOID)&TV_IDC_Button_OpMn_ArrowL1, /* Pointer to its specific param */
  592. NULL, /* Pointer to a child control list */
  593. },
  594. {
  595. NULL, /* Handle to the control */
  596. CLASS_BUTTON, /* Type of the control */
  597. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  598. S_BTN_TEXT, /* Particular Style of the widget */
  599. STATE_NORMAL, /* State of the control */
  600. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  601. 603, /* Start X position of the control */
  602. 154, /* Start Y position of the control */
  603. 16, /* Width of the control */
  604. 16, /* Height of the control */
  605. 255, /* Region index */
  606. (PVOID)&TV_IDC_Button_OpMn_ArrowL2, /* Pointer to its specific param */
  607. NULL, /* Pointer to a child control list */
  608. },
  609. {
  610. NULL, /* Handle to the control */
  611. CLASS_BUTTON, /* Type of the control */
  612. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  613. S_BTN_TEXT, /* Particular Style of the widget */
  614. STATE_NORMAL, /* State of the control */
  615. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  616. 603, /* Start X position of the control */
  617. 185, /* Start Y position of the control */
  618. 16, /* Width of the control */
  619. 16, /* Height of the control */
  620. 255, /* Region index */
  621. (PVOID)&TV_IDC_Button_OpMn_ArrowL3, /* Pointer to its specific param */
  622. NULL, /* Pointer to a child control list */
  623. },
  624. {
  625. NULL, /* Handle to the control */
  626. CLASS_BUTTON, /* Type of the control */
  627. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  628. S_BTN_TEXT, /* Particular Style of the widget */
  629. STATE_NORMAL, /* State of the control */
  630. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  631. 603, /* Start X position of the control */
  632. 216, /* Start Y position of the control */
  633. 16, /* Width of the control */
  634. 16, /* Height of the control */
  635. 255, /* Region index */
  636. (PVOID)&TV_IDC_Button_OpMn_ArrowL4, /* Pointer to its specific param */
  637. NULL, /* Pointer to a child control list */
  638. },
  639. {
  640. NULL, /* Handle to the control */
  641. CLASS_BUTTON, /* Type of the control */
  642. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  643. S_BTN_TEXT, /* Particular Style of the widget */
  644. STATE_NORMAL, /* State of the control */
  645. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  646. 626, /* Start X position of the control */
  647. 87, /* Start Y position of the control */
  648. 16, /* Width of the control */
  649. 16, /* Height of the control */
  650. 255, /* Region index */
  651. (PVOID)&TV_IDC_Button_OpMn_Dec0, /* Pointer to its specific param */
  652. NULL, /* Pointer to a child control list */
  653. },
  654. {
  655. NULL, /* Handle to the control */
  656. CLASS_BUTTON, /* Type of the control */
  657. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  658. S_BTN_TEXT, /* Particular Style of the widget */
  659. STATE_NORMAL, /* State of the control */
  660. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  661. 626, /* Start X position of the control */
  662. 120, /* Start Y position of the control */
  663. 16, /* Width of the control */
  664. 16, /* Height of the control */
  665. 255, /* Region index */
  666. (PVOID)&TV_IDC_Button_OpMn_Dec1, /* Pointer to its specific param */
  667. NULL, /* Pointer to a child control list */
  668. },
  669. {
  670. NULL, /* Handle to the control */
  671. CLASS_BUTTON, /* Type of the control */
  672. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  673. S_BTN_TEXT, /* Particular Style of the widget */
  674. STATE_NORMAL, /* State of the control */
  675. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  676. 626, /* Start X position of the control */
  677. 152, /* Start Y position of the control */
  678. 16, /* Width of the control */
  679. 16, /* Height of the control */
  680. 255, /* Region index */
  681. (PVOID)&TV_IDC_Button_OpMn_Dec2, /* Pointer to its specific param */
  682. NULL, /* Pointer to a child control list */
  683. },
  684. {
  685. NULL, /* Handle to the control */
  686. CLASS_BUTTON, /* Type of the control */
  687. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  688. S_BTN_TEXT, /* Particular Style of the widget */
  689. STATE_NORMAL, /* State of the control */
  690. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  691. 626, /* Start X position of the control */
  692. 183, /* Start Y position of the control */
  693. 16, /* Width of the control */
  694. 16, /* Height of the control */
  695. 255, /* Region index */
  696. (PVOID)&TV_IDC_Button_OpMn_Dec3, /* Pointer to its specific param */
  697. NULL, /* Pointer to a child control list */
  698. },
  699. {
  700. NULL, /* Handle to the control */
  701. CLASS_BUTTON, /* Type of the control */
  702. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  703. S_BTN_TEXT, /* Particular Style of the widget */
  704. STATE_NORMAL, /* State of the control */
  705. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  706. 626, /* Start X position of the control */
  707. 215, /* Start Y position of the control */
  708. 16, /* Width of the control */
  709. 16, /* Height of the control */
  710. 255, /* Region index */
  711. (PVOID)&TV_IDC_Button_OpMn_Dec4, /* Pointer to its specific param */
  712. NULL, /* Pointer to a child control list */
  713. },
  714. {
  715. NULL, /* Handle to the control */
  716. CLASS_BUTTON, /* Type of the control */
  717. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  718. S_BTN_TEXT, /* Particular Style of the widget */
  719. STATE_NORMAL, /* State of the control */
  720. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  721. 881, /* Start X position of the control */
  722. 87, /* Start Y position of the control */
  723. 16, /* Width of the control */
  724. 16, /* Height of the control */
  725. 255, /* Region index */
  726. (PVOID)&TV_IDC_Button_OpMn_Inc0, /* Pointer to its specific param */
  727. NULL, /* Pointer to a child control list */
  728. },
  729. {
  730. NULL, /* Handle to the control */
  731. CLASS_BUTTON, /* Type of the control */
  732. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  733. S_BTN_TEXT, /* Particular Style of the widget */
  734. STATE_NORMAL, /* State of the control */
  735. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  736. 881, /* Start X position of the control */
  737. 120, /* Start Y position of the control */
  738. 16, /* Width of the control */
  739. 16, /* Height of the control */
  740. 255, /* Region index */
  741. (PVOID)&TV_IDC_Button_OpMn_Inc1, /* Pointer to its specific param */
  742. NULL, /* Pointer to a child control list */
  743. },
  744. {
  745. NULL, /* Handle to the control */
  746. CLASS_BUTTON, /* Type of the control */
  747. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  748. S_BTN_TEXT, /* Particular Style of the widget */
  749. STATE_NORMAL, /* State of the control */
  750. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  751. 881, /* Start X position of the control */
  752. 152, /* Start Y position of the control */
  753. 16, /* Width of the control */
  754. 16, /* Height of the control */
  755. 255, /* Region index */
  756. (PVOID)&TV_IDC_Button_OpMn_Inc2, /* Pointer to its specific param */
  757. NULL, /* Pointer to a child control list */
  758. },
  759. {
  760. NULL, /* Handle to the control */
  761. CLASS_BUTTON, /* Type of the control */
  762. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  763. S_BTN_TEXT, /* Particular Style of the widget */
  764. STATE_NORMAL, /* State of the control */
  765. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  766. 881, /* Start X position of the control */
  767. 183, /* Start Y position of the control */
  768. 16, /* Width of the control */
  769. 16, /* Height of the control */
  770. 255, /* Region index */
  771. (PVOID)&TV_IDC_Button_OpMn_Inc3, /* Pointer to its specific param */
  772. NULL, /* Pointer to a child control list */
  773. },
  774. {
  775. NULL, /* Handle to the control */
  776. CLASS_BUTTON, /* Type of the control */
  777. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  778. S_BTN_TEXT, /* Particular Style of the widget */
  779. STATE_NORMAL, /* State of the control */
  780. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  781. 881, /* Start X position of the control */
  782. 215, /* Start Y position of the control */
  783. 16, /* Width of the control */
  784. 16, /* Height of the control */
  785. 255, /* Region index */
  786. (PVOID)&TV_IDC_Button_OpMn_Inc4, /* Pointer to its specific param */
  787. NULL, /* Pointer to a child control list */
  788. },
  789. {
  790. NULL, /* Handle to the control */
  791. CLASS_BUTTON, /* Type of the control */
  792. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  793. S_BTN_TEXT, /* Particular Style of the widget */
  794. STATE_NORMAL, /* State of the control */
  795. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  796. 906, /* Start X position of the control */
  797. 87, /* Start Y position of the control */
  798. 16, /* Width of the control */
  799. 16, /* Height of the control */
  800. 255, /* Region index */
  801. (PVOID)&TV_IDC_Button_OpMn_ArrowR0, /* Pointer to its specific param */
  802. NULL, /* Pointer to a child control list */
  803. },
  804. {
  805. NULL, /* Handle to the control */
  806. CLASS_BUTTON, /* Type of the control */
  807. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  808. S_BTN_TEXT, /* Particular Style of the widget */
  809. STATE_NORMAL, /* State of the control */
  810. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  811. 906, /* Start X position of the control */
  812. 120, /* Start Y position of the control */
  813. 16, /* Width of the control */
  814. 16, /* Height of the control */
  815. 255, /* Region index */
  816. (PVOID)&TV_IDC_Button_OpMn_ArrowR1, /* Pointer to its specific param */
  817. NULL, /* Pointer to a child control list */
  818. },
  819. {
  820. NULL, /* Handle to the control */
  821. CLASS_BUTTON, /* Type of the control */
  822. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  823. S_BTN_TEXT, /* Particular Style of the widget */
  824. STATE_NORMAL, /* State of the control */
  825. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  826. 906, /* Start X position of the control */
  827. 148, /* Start Y position of the control */
  828. 16, /* Width of the control */
  829. 16, /* Height of the control */
  830. 255, /* Region index */
  831. (PVOID)&TV_IDC_Button_OpMn_ArrowR2, /* Pointer to its specific param */
  832. NULL, /* Pointer to a child control list */
  833. },
  834. {
  835. NULL, /* Handle to the control */
  836. CLASS_BUTTON, /* Type of the control */
  837. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  838. S_BTN_TEXT, /* Particular Style of the widget */
  839. STATE_NORMAL, /* State of the control */
  840. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  841. 906, /* Start X position of the control */
  842. 183, /* Start Y position of the control */
  843. 16, /* Width of the control */
  844. 16, /* Height of the control */
  845. 255, /* Region index */
  846. (PVOID)&TV_IDC_Button_OpMn_ArrowR3, /* Pointer to its specific param */
  847. NULL, /* Pointer to a child control list */
  848. },
  849. {
  850. NULL, /* Handle to the control */
  851. CLASS_BUTTON, /* Type of the control */
  852. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  853. S_BTN_TEXT, /* Particular Style of the widget */
  854. STATE_NORMAL, /* State of the control */
  855. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  856. 906, /* Start X position of the control */
  857. 214, /* Start Y position of the control */
  858. 16, /* Width of the control */
  859. 16, /* Height of the control */
  860. 255, /* Region index */
  861. (PVOID)&TV_IDC_Button_OpMn_ArrowR4, /* Pointer to its specific param */
  862. NULL, /* Pointer to a child control list */
  863. },
  864. };
  865. /* applet structure */
  866. STRUCT_APPLET TV_IDM_OptionMenu_applet = {
  867. 0, /* Current Focus Item */
  868. sizeof(TV_IDM_OptionMenu_control) / sizeof(TV_IDM_OptionMenu_control[0]), /* Number of controls */
  869. (WinControl_t*)TV_IDM_OptionMenu_control, /* Pointer to an array of a control list */
  870. };
  871. /* window structure */
  872. WinControl_t TV_IDM_OptionMenu_window= {
  873. NULL, /* Handle to the control */
  874. CLASS_WINDOW, /* Type of the control */
  875. 0, /* Style of the control */
  876. 0,
  877. WIN_NORMAL, /* State of the control */
  878. {0, 0, 0, 0}, /* State of the control */
  879. 0, /* Start X position of the control */
  880. 0, /* Start Y position of the control */
  881. 960, /* Width of the control */
  882. 540, /* Height of the control */
  883. 0, /* Region index */
  884. NULL, /* Pointer to its specific param */
  885. (PVOID)&TV_IDM_OptionMenu_applet, /* Pointer to a child control list */
  886. };