TV_IDM_SleepInfo.c 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_SleepInfo.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_SleepInfo.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_Background_SleepInfo_bg = {
  37. &TV_BgColor_43, /* background color */
  38. NULL /*background bitmap id */
  39. };
  40. btn_text_t TV_IDC_Button_SleepInfo_bg4 = {
  41. {3,36,313,109}, /* Positon of the button */
  42. &TV_BgColor_84, /* Bg color */
  43. NULL, /* Bg icon */
  44. 0, /* Side size */
  45. 0, /* Fix Char Width */
  46. &TV_TextColor_97, /* Text Color */
  47. {3,36,313,109}, /*Position of the text*/
  48. STRING_ID_INVALID, /* Fg string id */
  49. NULL /* Marrquee */
  50. };
  51. icon_t TV_IDC_Picture_SleepInfo_bg2 =
  52. {
  53. &TV_BgIcon_95
  54. };
  55. btn_text_t TV_IDC_Button_SleepInfo_title = {
  56. {2,0,315,34}, /* Positon of the button */
  57. &TV_BgColor_6, /* Bg color */
  58. NULL, /* Bg icon */
  59. 0, /* Side size */
  60. 0, /* Fix Char Width */
  61. &TV_TextColor_98, /* Text Color */
  62. {2,0,315,34}, /*Position of the text*/
  63. TV_IDS_String_SleepInfo, /* Fg string id */
  64. NULL /* Marrquee */
  65. };
  66. text_box_t TV_IDC_TextBox_SleepInfo_message =
  67. {
  68. 0, /* Language name */
  69. &TV_BgColor_85, /* Bg color */
  70. &TV_TextColor_99, /* Text Color */
  71. {11,57,296,44}, /*Position of the text*/
  72. TV_IDS_String_Time_Left, /* Fg string id */
  73. NULL, /* String */
  74. NULL, /* Marrquee */
  75. 0 /* Fix Char Width */
  76. };
  77. btn_text_t TV_IDC_Button = {
  78. {8,98,304,40}, /* Positon of the button */
  79. &TV_BgColor_6, /* Bg color */
  80. NULL, /* Bg icon */
  81. 0, /* Side size */
  82. 0, /* Fix Char Width */
  83. &TV_TextColor_100, /* Text Color */
  84. {8,98,304,40}, /*Position of the text*/
  85. TV_IDS_String_Cancel_Sleep_Standby, /* Fg string id */
  86. NULL /* Marrquee */
  87. };
  88. /* window controls */
  89. WinControl_t TV_IDM_SleepInfo_control[] = {
  90. {
  91. NULL, /* Handle to the control */
  92. CLASS_BACKGROUND, /* Type of the control */
  93. 0, /* Common Style of the widget */
  94. S_BG_COLOR, /* Particular Style of the widget */
  95. STATE_NORMAL, /* State of the control */
  96. {0, 0, 0, 0}, /* Font style for each state */
  97. 0, /* Start X position of the control */
  98. 0, /* Start Y position of the control */
  99. 319, /* Width of the control */
  100. 148, /* Height of the control */
  101. 255, /* Region index */
  102. (PVOID)&TV_IDC_Background_SleepInfo_bg, /* Pointer to its specific param */
  103. NULL, /* Pointer to a child control list */
  104. },
  105. {
  106. NULL, /* Handle to the control */
  107. CLASS_BUTTON, /* Type of the control */
  108. CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
  109. S_BTN_TEXT, /* Particular Style of the widget */
  110. STATE_NORMAL, /* State of the control */
  111. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  112. 3, /* Start X position of the control */
  113. 36, /* Start Y position of the control */
  114. 313, /* Width of the control */
  115. 109, /* Height of the control */
  116. 255, /* Region index */
  117. (PVOID)&TV_IDC_Button_SleepInfo_bg4, /* Pointer to its specific param */
  118. NULL, /* Pointer to a child control list */
  119. },
  120. {
  121. NULL, /* Handle to the control */
  122. CLASS_ICON, /* Type of the control */
  123. CS_PIC_REPEAT, /* Common Style of the widget */
  124. S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */
  125. STATE_NORMAL, /* State of the control */
  126. {0, 0, 0, 0}, /* Font style for each state */
  127. 2, /* Start X position of the control */
  128. 0, /* Start Y position of the control */
  129. 315, /* Width of the control */
  130. 34, /* Height of the control */
  131. 255, /* Region index */
  132. (PVOID)&TV_IDC_Picture_SleepInfo_bg2, /* Pointer to its specific param */
  133. NULL, /* Pointer to a child control list */
  134. },
  135. {
  136. NULL, /* Handle to the control */
  137. CLASS_BUTTON, /* Type of the control */
  138. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  139. S_BTN_TEXT, /* Particular Style of the widget */
  140. STATE_NORMAL, /* State of the control */
  141. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  142. 2, /* Start X position of the control */
  143. 0, /* Start Y position of the control */
  144. 315, /* Width of the control */
  145. 34, /* Height of the control */
  146. 255, /* Region index */
  147. (PVOID)&TV_IDC_Button_SleepInfo_title, /* Pointer to its specific param */
  148. NULL, /* Pointer to a child control list */
  149. },
  150. {
  151. NULL, /* Handle to the control */
  152. CLASS_TEXT, /* Type of the control */
  153. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  154. 0, /* Particular Style of the widget */
  155. STATE_NORMAL, /* State of the control */
  156. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  157. 11, /* Start X position of the control */
  158. 57, /* Start Y position of the control */
  159. 296, /* Width of the control */
  160. 46, /* Height of the control */
  161. 255, /* Region index */
  162. (PVOID)&TV_IDC_TextBox_SleepInfo_message, /* Pointer to its specific param */
  163. NULL, /* Pointer to a child control list */
  164. },
  165. {
  166. NULL, /* Handle to the control */
  167. CLASS_BUTTON, /* Type of the control */
  168. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  169. S_BTN_TEXT, /* Particular Style of the widget */
  170. STATE_NORMAL, /* State of the control */
  171. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  172. 8, /* Start X position of the control */
  173. 98, /* Start Y position of the control */
  174. 304, /* Width of the control */
  175. 40, /* Height of the control */
  176. 255, /* Region index */
  177. (PVOID)&TV_IDC_Button, /* Pointer to its specific param */
  178. NULL, /* Pointer to a child control list */
  179. },
  180. };
  181. /* applet structure */
  182. STRUCT_APPLET TV_IDM_SleepInfo_applet = {
  183. 0, /* Current Focus Item */
  184. sizeof(TV_IDM_SleepInfo_control) / sizeof(TV_IDM_SleepInfo_control[0]), /* Number of controls */
  185. (WinControl_t*)TV_IDM_SleepInfo_control, /* Pointer to an array of a control list */
  186. };
  187. /* window structure */
  188. WinControl_t TV_IDM_SleepInfo_window= {
  189. NULL, /* Handle to the control */
  190. CLASS_WINDOW, /* Type of the control */
  191. 0, /* Style of the control */
  192. 0,
  193. WIN_NORMAL, /* State of the control */
  194. {0, 0, 0, 0}, /* State of the control */
  195. 492, /* Start X position of the control */
  196. 257, /* Start Y position of the control */
  197. 320, /* Width of the control */
  198. 148, /* Height of the control */
  199. 1, /* Region index */
  200. NULL, /* Pointer to its specific param */
  201. (PVOID)&TV_IDM_SleepInfo_applet, /* Pointer to a child control list */
  202. };