TV_IDM_UserMenu.c 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_UserMenu.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_UserMenu.h"
  35. #include "TV_font_style_define.h"
  36. String_id_t TV_IDC_ListView1_string[] =
  37. {
  38. TV_IDS_String_EQ,
  39. TV_IDS_String_EQ100HZ,
  40. TV_IDS_String_EQ1KHZ,
  41. TV_IDS_String_EQ300HZ,
  42. TV_IDS_String_EQ3KHZ,
  43. TV_IDS_String_EQ8KHZ,
  44. TV_IDS_String_Path_EQ,
  45. TV_IDS_String_BAND100HZ,
  46. TV_IDS_String_BAND1KHZ,
  47. TV_IDS_String_BAND300HZ,
  48. TV_IDS_String_BAND3KHZ,
  49. TV_IDS_String_BAND8KHZ,
  50. TV_IDS_String_O,
  51. TV_IDS_String_Confirm_Exit_Channel_Scan,
  52. TV_IDS_String_Confirm_Skip_ATV_Scan,
  53. TV_IDS_String_Confirm_Skip_DTV_Scan,
  54. TV_IDS_String_Picture_home,
  55. TV_IDS_String_Picture_standard,
  56. TV_IDS_String_Picture_dynamic,
  57. TV_IDS_String_Picture_mild,
  58. TV_IDS_String_Picture_user,
  59. TV_IDS_String_SPDIF,
  60. TV_IDS_String_TV,
  61. TV_IDS_String_Monitor,
  62. TV_IDS_String_SCART_Output,
  63. TV_IDS_String_No_Audio,
  64. STRING_LAST
  65. };
  66. list_color_t TV_IDC_ListView1_listcolor =
  67. {
  68. {13,13,13,255}, /* Bg color for odd items */
  69. {27,27,27,255}, /* Bg color for even items */
  70. {41,41,41,255}, /* Bg color for the focused item */
  71. {46,46,46,255} /* Bg color for the clicked item */
  72. };
  73. listview_t TV_IDC_ListView1 =
  74. {
  75. &TV_IDC_ListView1_listcolor,
  76. ICON_ID_INVALID, /* Icon to show on the focused item */
  77. ICON_ID_INVALID, /* Icon to show on the clicked item */
  78. 0, /* Side size */
  79. {14, 0, 120, 10}, /* First item pos */
  80. {14,0,120,10}, /* Focus color pos */
  81. {76,0,58,10}, /* Focus icon pos */
  82. {14,0,58,10}, /*Position of the text*/
  83. 0, /* Offset related */
  84. &TV_TextColor_52, /* Fg color */
  85. TV_IDC_ListView1_string, /* Fg string id */
  86. NULL, /* Dynamic string text */
  87. 0, /* Space */
  88. 3, /* Page item count */
  89. 26, /* Total item count */
  90. 0, /* First list index */
  91. 0, /* Focused item index */
  92. 0, /* Click item index */
  93. 0, /* Fix Char Width */
  94. NULL, /* Marrquee */
  95. NULL, /* Disabled items */
  96. };
  97. /* window controls */
  98. WinControl_t TV_IDM_UserMenu_control[] = {
  99. {
  100. NULL, /* Handle to the control */
  101. CLASS_LISTVIEW, /* Type of the control */
  102. CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
  103. 0, /* Particular Style of the widget */
  104. STATE_NORMAL, /* State of the control */
  105. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  106. 14, /* Start X position of the control */
  107. 0, /* Start Y position of the control */
  108. 120, /* Width of the control */
  109. 36, /* Height of the control */
  110. 255, /* Region index */
  111. (PVOID)&TV_IDC_ListView1, /* Pointer to its specific param */
  112. NULL, /* Pointer to a child control list */
  113. },
  114. };
  115. /* applet structure */
  116. STRUCT_APPLET TV_IDM_UserMenu_applet = {
  117. 0, /* Current Focus Item */
  118. sizeof(TV_IDM_UserMenu_control) / sizeof(TV_IDM_UserMenu_control[0]), /* Number of controls */
  119. (WinControl_t*)TV_IDM_UserMenu_control, /* Pointer to an array of a control list */
  120. };
  121. /* window structure */
  122. WinControl_t TV_IDM_UserMenu_window= {
  123. NULL, /* Handle to the control */
  124. CLASS_WINDOW, /* Type of the control */
  125. 0, /* Style of the control */
  126. 0,
  127. WIN_NORMAL, /* State of the control */
  128. {0, 0, 0, 0}, /* State of the control */
  129. 0, /* Start X position of the control */
  130. 0, /* Start Y position of the control */
  131. 136, /* Width of the control */
  132. 36, /* Height of the control */
  133. 0, /* Region index */
  134. NULL, /* Pointer to its specific param */
  135. (PVOID)&TV_IDM_UserMenu_applet, /* Pointer to a child control list */
  136. };