TV_IDM_TTXClock.c 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /***************************************************************/
  2. /** This file is generated, do not edit
  3. * @file TV_IDM_TTXClock.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_TTXClock.h"
  35. #include "TV_font_style_define.h"
  36. bg_t TV_IDC_Background1_TTXClock_BG = {
  37. &TV_BgColor_26, /* background color */
  38. NULL /*background bitmap id */
  39. };
  40. text_box_t TV_IDC_TextBox__TTXClock_Time =
  41. {
  42. 0, /* Language name */
  43. &TV_BgColor_101, /* Bg color */
  44. &TV_TextColor_39, /* Text Color */
  45. {0,0,180,39}, /*Position of the text*/
  46. STRING_ID_INVALID, /* Fg string id */
  47. NULL, /* String */
  48. NULL, /* Marrquee */
  49. 0 /* Fix Char Width */
  50. };
  51. /* window controls */
  52. WinControl_t TV_IDM_TTXClock_control[] = {
  53. {
  54. NULL, /* Handle to the control */
  55. CLASS_BACKGROUND, /* Type of the control */
  56. 0, /* Common Style of the widget */
  57. S_BG_COLOR, /* Particular Style of the widget */
  58. STATE_NORMAL, /* State of the control */
  59. {0, 0, 0, 0}, /* Font style for each state */
  60. 0, /* Start X position of the control */
  61. 0, /* Start Y position of the control */
  62. 180, /* Width of the control */
  63. 40, /* Height of the control */
  64. 255, /* Region index */
  65. (PVOID)&TV_IDC_Background1_TTXClock_BG, /* Pointer to its specific param */
  66. NULL, /* Pointer to a child control list */
  67. },
  68. {
  69. NULL, /* Handle to the control */
  70. CLASS_TEXT, /* Type of the control */
  71. CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
  72. 0, /* Particular Style of the widget */
  73. STATE_NORMAL, /* State of the control */
  74. {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
  75. 0, /* Start X position of the control */
  76. 0, /* Start Y position of the control */
  77. 180, /* Width of the control */
  78. 39, /* Height of the control */
  79. 255, /* Region index */
  80. (PVOID)&TV_IDC_TextBox__TTXClock_Time, /* Pointer to its specific param */
  81. NULL, /* Pointer to a child control list */
  82. },
  83. };
  84. /* applet structure */
  85. STRUCT_APPLET TV_IDM_TTXClock_applet = {
  86. 0, /* Current Focus Item */
  87. sizeof(TV_IDM_TTXClock_control) / sizeof(TV_IDM_TTXClock_control[0]), /* Number of controls */
  88. (WinControl_t*)TV_IDM_TTXClock_control, /* Pointer to an array of a control list */
  89. };
  90. /* window structure */
  91. WinControl_t TV_IDM_TTXClock_window= {
  92. NULL, /* Handle to the control */
  93. CLASS_WINDOW, /* Type of the control */
  94. 0, /* Style of the control */
  95. 0,
  96. WIN_NORMAL, /* State of the control */
  97. {0, 0, 0, 0}, /* State of the control */
  98. 1000, /* Start X position of the control */
  99. 0, /* Start Y position of the control */
  100. 180, /* Width of the control */
  101. 40, /* Height of the control */
  102. 1, /* Region index */
  103. NULL, /* Pointer to its specific param */
  104. (PVOID)&TV_IDM_TTXClock_applet, /* Pointer to a child control list */
  105. };