TV_IDM_SIFMode.c 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_SIFMode.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_SIFMode.h"
  35. #include "TV_font_style_define.h"
  36. String_id_t TV_IDC_ComboBox_SIFMode_string[] =
  37. {
  38. TV_IDS_String_Analog_Mono,
  39. TV_IDS_String_Nicam_Mono,
  40. TV_IDS_String_STEREO,
  41. TV_IDS_String_Dual_I,
  42. TV_IDS_String_Dual_II,
  43. TV_IDS_String_Dual_I_II,
  44. TV_IDS_String_SAP,
  45. STRING_LAST
  46. };
  47. combo_t TV_IDC_ComboBox_SIFMode =
  48. {
  49. {0,0,301,47}, /* Positon of the combo box */
  50. &TV_BgColor_6, /* Bg color */
  51. &TV_BgIcon_79, /* Bg icon */
  52. 9, /* Side size */
  53. 0, /* Fix Char Width */
  54. &TV_TextColor_82, /* Fg color */
  55. {0,0,301,47}, /*Position of the text*/
  56. 7, /* Total item count */
  57. 0, /* Focused item index */
  58. NULL, /* Marrquee */
  59. TV_IDC_ComboBox_SIFMode_string, /* Fg string id */
  60. NULL /* Dynamic string */
  61. };
  62. /* window controls */
  63. WinControl_t TV_IDM_SIFMode_control[] = {
  64. {
  65. NULL, /* Handle to the control */
  66. CLASS_COMBO, /* Type of the control */
  67. CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  68. S_COMBO_TEXT|S_COMBO_ROLLBACK, /* Particular Style of the widget */
  69. STATE_FOCUSED, /* State of the control */
  70. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  71. 0, /* Start X position of the control */
  72. 0, /* Start Y position of the control */
  73. 301, /* Width of the control */
  74. 47, /* Height of the control */
  75. 255, /* Region index */
  76. (PVOID)&TV_IDC_ComboBox_SIFMode, /* Pointer to its specific param */
  77. NULL, /* Pointer to a child control list */
  78. },
  79. };
  80. /* applet structure */
  81. STRUCT_APPLET TV_IDM_SIFMode_applet = {
  82. 0, /* Current Focus Item */
  83. sizeof(TV_IDM_SIFMode_control) / sizeof(TV_IDM_SIFMode_control[0]), /* Number of controls */
  84. (WinControl_t*)TV_IDM_SIFMode_control, /* Pointer to an array of a control list */
  85. };
  86. /* window structure */
  87. WinControl_t TV_IDM_SIFMode_window= {
  88. NULL, /* Handle to the control */
  89. CLASS_WINDOW, /* Type of the control */
  90. 0, /* Style of the control */
  91. 0,
  92. WIN_NORMAL, /* State of the control */
  93. {0, 0, 0, 0}, /* State of the control */
  94. 502, /* Start X position of the control */
  95. 613, /* Start Y position of the control */
  96. 301, /* Width of the control */
  97. 47, /* Height of the control */
  98. 1, /* Region index */
  99. NULL, /* Pointer to its specific param */
  100. (PVOID)&TV_IDM_SIFMode_applet, /* Pointer to a child control list */
  101. };