TV_IDM_PauseMenu.c 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_PauseMenu.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_PauseMenu.h"
  35. #include "TV_font_style_define.h"
  36. border_t TV_IDC_Border_Pause =
  37. {
  38. &TV_BgColor_43, /* background color */
  39. NULL, /*background bitmap id */
  40. 1
  41. };
  42. WinControl_t TV_IDC_Button_Pause_control[] = {
  43. {
  44. NULL, /* Handle to the control */
  45. CLASS_BORDER, /* Type of the control */
  46. 0, /* Common Style of the widget */
  47. 0, /* Particular Style of the widget */
  48. STATE_NORMAL, /* State of the control */
  49. {0, 0, 0, 0}, /* Font style for each state */
  50. 542, /* Start X position of the control */
  51. 670, /* Start Y position of the control */
  52. 136, /* Width of the control */
  53. 40, /* Height of the control */
  54. 255, /* Region index */
  55. (PVOID)&TV_IDC_Border_Pause, /* Pointer to its specific param */
  56. NULL, /* Pointer to a child control list */
  57. },
  58. };
  59. /* applet structure */
  60. STRUCT_APPLET TV_IDC_Button_Pause_applet = {
  61. 0, /* Current Focus Item */
  62. sizeof(TV_IDC_Button_Pause_control) / sizeof(TV_IDC_Button_Pause_control[0]), /* Number of controls */
  63. TV_IDC_Button_Pause_control, /* Pointer to an array of a control list */
  64. };
  65. btn_text_t TV_IDC_Button_Pause = {
  66. {543,671,134,38}, /* Positon of the button */
  67. &TV_BgColor_64, /* Bg color */
  68. NULL, /* Bg icon */
  69. 0, /* Side size */
  70. 0, /* Fix Char Width */
  71. &TV_TextColor_62, /* Text Color */
  72. {543,671,134,38}, /*Position of the text*/
  73. TV_IDS_String_Still, /* Fg string id */
  74. NULL /* Marrquee */
  75. };
  76. /* window controls */
  77. WinControl_t TV_IDM_PauseMenu_control[] = {
  78. {
  79. NULL, /* Handle to the control */
  80. CLASS_BUTTON, /* Type of the control */
  81. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  82. S_BTN_TEXT, /* Particular Style of the widget */
  83. STATE_NORMAL, /* State of the control */
  84. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  85. 540, /* Start X position of the control */
  86. 670, /* Start Y position of the control */
  87. 138, /* Width of the control */
  88. 40, /* Height of the control */
  89. 255, /* Region index */
  90. (PVOID)&TV_IDC_Button_Pause, /* Pointer to its specific param */
  91. (PVOID)&TV_IDC_Button_Pause_applet, /* Pointer to a child control list */
  92. },
  93. };
  94. /* applet structure */
  95. STRUCT_APPLET TV_IDM_PauseMenu_applet = {
  96. 0, /* Current Focus Item */
  97. sizeof(TV_IDM_PauseMenu_control) / sizeof(TV_IDM_PauseMenu_control[0]), /* Number of controls */
  98. (WinControl_t*)TV_IDM_PauseMenu_control, /* Pointer to an array of a control list */
  99. };
  100. /* window structure */
  101. WinControl_t TV_IDM_PauseMenu_window= {
  102. NULL, /* Handle to the control */
  103. CLASS_WINDOW, /* Type of the control */
  104. 0, /* Style of the control */
  105. 0,
  106. WIN_NORMAL, /* State of the control */
  107. {0, 0, 0, 0}, /* State of the control */
  108. 0, /* Start X position of the control */
  109. 0, /* Start Y position of the control */
  110. 1216, /* Width of the control */
  111. 712, /* Height of the control */
  112. 1, /* Region index */
  113. NULL, /* Pointer to its specific param */
  114. (PVOID)&TV_IDM_PauseMenu_applet, /* Pointer to a child control list */
  115. };