TV_IDM_SleepInfo.c 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. btn_text_t TV_IDC_Background_SleepInfo_bg = {
  37. {0,0,250,150}, /* Positon of the button */
  38. &TV_BgColor_17, /* Bg color */
  39. &TV_BgIcon_12, /* Bg icon */
  40. 3, /* Side size */
  41. 0, /* Fix Char Width */
  42. &TV_TextColor_0, /* Text Color */
  43. {0,0,250,150}, /*Position of the text*/
  44. STRING_ID_INVALID, /* Fg string id */
  45. NULL /* Marrquee */
  46. };
  47. text_box_t TV_IDC_TextBox_SleepInfo_message =
  48. {
  49. 0, /* Language name */
  50. &TV_BgColor_2, /* Bg color */
  51. &TV_TextColor_3, /* Text Color */
  52. {19,38,207,25}, /*Position of the text*/
  53. TV_IDS_String_Time_Left, /* Fg string id */
  54. NULL, /* String */
  55. NULL, /* Marrquee */
  56. 0 /* Fix Char Width */
  57. };
  58. btn_text_t TV_IDC_Button = {
  59. {16,73,226,34}, /* Positon of the button */
  60. &TV_BgColor_2, /* Bg color */
  61. NULL, /* Bg icon */
  62. 0, /* Side size */
  63. 0, /* Fix Char Width */
  64. &TV_TextColor_3, /* Text Color */
  65. {16,73,212,23}, /*Position of the text*/
  66. TV_IDS_String_Cancel_Sleep_Standby, /* Fg string id */
  67. NULL /* Marrquee */
  68. };
  69. /* window controls */
  70. WinControl_t TV_IDM_SleepInfo_control[] = {
  71. {
  72. NULL, /* Handle to the control */
  73. CLASS_BUTTON, /* Type of the control */
  74. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_TOP|CS_SIDE_H, /* Common Style of the widget */
  75. S_BTN_TEXT, /* Particular Style of the widget */
  76. STATE_NORMAL, /* State of the control */
  77. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  78. 0, /* Start X position of the control */
  79. 0, /* Start Y position of the control */
  80. 250, /* Width of the control */
  81. 150, /* Height of the control */
  82. 255, /* Region index */
  83. (PVOID)&TV_IDC_Background_SleepInfo_bg, /* Pointer to its specific param */
  84. NULL, /* Pointer to a child control list */
  85. },
  86. {
  87. NULL, /* Handle to the control */
  88. CLASS_TEXT, /* Type of the control */
  89. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  90. 0, /* Particular Style of the widget */
  91. STATE_NORMAL, /* State of the control */
  92. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  93. 19, /* Start X position of the control */
  94. 38, /* Start Y position of the control */
  95. 207, /* Width of the control */
  96. 25, /* Height of the control */
  97. 255, /* Region index */
  98. (PVOID)&TV_IDC_TextBox_SleepInfo_message, /* Pointer to its specific param */
  99. NULL, /* Pointer to a child control list */
  100. },
  101. {
  102. NULL, /* Handle to the control */
  103. CLASS_BUTTON, /* Type of the control */
  104. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  105. S_BTN_TEXT, /* Particular Style of the widget */
  106. STATE_NORMAL, /* State of the control */
  107. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  108. 16, /* Start X position of the control */
  109. 73, /* Start Y position of the control */
  110. 226, /* Width of the control */
  111. 34, /* Height of the control */
  112. 255, /* Region index */
  113. (PVOID)&TV_IDC_Button, /* Pointer to its specific param */
  114. NULL, /* Pointer to a child control list */
  115. },
  116. };
  117. /* applet structure */
  118. STRUCT_APPLET TV_IDM_SleepInfo_applet = {
  119. 0, /* Current Focus Item */
  120. sizeof(TV_IDM_SleepInfo_control) / sizeof(TV_IDM_SleepInfo_control[0]), /* Number of controls */
  121. (WinControl_t*)TV_IDM_SleepInfo_control, /* Pointer to an array of a control list */
  122. };
  123. /* window structure */
  124. WinControl_t TV_IDM_SleepInfo_window= {
  125. NULL, /* Handle to the control */
  126. CLASS_WINDOW, /* Type of the control */
  127. 0, /* Style of the control */
  128. 0,
  129. WIN_NORMAL, /* State of the control */
  130. {0, 0, 0, 0}, /* State of the control */
  131. 673, /* Start X position of the control */
  132. 54, /* Start Y position of the control */
  133. 250, /* Width of the control */
  134. 150, /* Height of the control */
  135. 0, /* Region index */
  136. NULL, /* Pointer to its specific param */
  137. (PVOID)&TV_IDM_SleepInfo_applet, /* Pointer to a child control list */
  138. };