123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412 |
- /***************************************************************/
- /** This file is generated, do not edit
- * @file TV_IDM_ATVInfo.c
- * @brief menu resource
- * Generator Version 6.3.1.2
- * Source File Name and Date
- *
- *
- * @note Copyright (c) 2016-2018, T1 Technologies Inc., Taiwan Branch.
- * All rights reserved.
- *
- * This software is copyrighted by and is the property of T1 Technologies
- * Inc., Taiwan Branch. All rights are reserved by T1 Technologies Inc.,
- * Taiwan Branch. This software may only be used in accordance with the
- * corresponding license agreement. Any unauthorized use, duplication,
- * distribution, or disclosure of this software is expressly forbidden.
- *
- * This Copyright notice MUST not be removed or modified without prior
- * written consent of T1 Technologies Inc., Taiwan Branch.
- *
- * T1 Technologies Inc., Taiwan Branch. reserves the right to modify this
- * software without notice.
- *
- * T1 Technologies Inc., Taiwan Branch.
- * Rm.8, 6F., No.1, Taiyuan 2nd St., Zhubei City, Hsinchu County 302,
- * Taiwan, R.O.C.
- *
- ***************************************************************/
- #include "gui_eng/gui_engine.h"
- #include "TV_icon_info.h"
- #include "TV_color_info.h"
- #include "TV_bitmap_config.h"
- #include "TV_strid.h"
- #include "TV_IDM_ATVInfo.h"
- #include "TV_font_style_define.h"
- bg_t TV_IDC_Background_ATVInfo_Prog = {
- &TV_BgColor_40, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_ATVInfo_Prog2 = {
- &TV_BgColor_40, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_ATVInfo_Other = {
- &TV_BgColor_26, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_ATVInfo_Other2 = {
- &TV_BgColor_26, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_ATVInfo_Other3 = {
- &TV_BgColor_26, /* background color */
- NULL /*background bitmap id */
- };
- border_t TV_IDC_Border_1 =
- {
- &TV_BgColor_41, /* background color */
- NULL, /*background bitmap id */
- 1
- };
- border_t TV_IDC_Border_2 =
- {
- &TV_BgColor_41, /* background color */
- NULL, /*background bitmap id */
- 1
- };
- border_t TV_IDC_Border_3 =
- {
- &TV_BgColor_41, /* background color */
- NULL, /*background bitmap id */
- 1
- };
- border_t TV_IDC_Border_4 =
- {
- &TV_BgColor_41, /* background color */
- NULL, /*background bitmap id */
- 1
- };
- border_t TV_IDC_Border_5 =
- {
- &TV_BgColor_41, /* background color */
- NULL, /*background bitmap id */
- 1
- };
- text_box_t TV_IDC_TextBox_ATVInfo_Input =
- {
- 0, /* Language name */
- &TV_BgColor_42, /* Bg color */
- &TV_TextColor_39, /* Text Color */
- {2,2,324,39}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_ATVInfo_Prog =
- {
- 0, /* Language name */
- &TV_BgColor_42, /* Bg color */
- &TV_TextColor_39, /* Text Color */
- {2,41,324,39}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_ATVInfo_SoundMode =
- {
- 0, /* Language name */
- &TV_BgColor_42, /* Bg color */
- &TV_TextColor_62, /* Text Color */
- {2,81,324,39}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_ATVInfo_ColorSys =
- {
- 0, /* Language name */
- &TV_BgColor_42, /* Bg color */
- &TV_TextColor_39, /* Text Color */
- {2,121,324,39}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_ATVInfo_Rating =
- {
- 0, /* Language name */
- &TV_BgColor_42, /* Bg color */
- &TV_TextColor_39, /* Text Color */
- {2,161,324,39}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- /* window controls */
- WinControl_t TV_IDM_ATVInfo_control[] = {
- {
- NULL, /* Handle to the control */
- CLASS_BACKGROUND, /* Type of the control */
- 0, /* Common Style of the widget */
- S_BG_COLOR, /* Particular Style of the widget */
- STATE_NORMAL, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 1, /* Start X position of the control */
- 1, /* Start Y position of the control */
- 326, /* Width of the control */
- 40, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_ATVInfo_Prog, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BACKGROUND, /* Type of the control */
- 0, /* Common Style of the widget */
- S_BG_COLOR, /* Particular Style of the widget */
- STATE_NORMAL, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 1, /* Start X position of the control */
- 41, /* Start Y position of the control */
- 326, /* Width of the control */
- 40, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_ATVInfo_Prog2, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BACKGROUND, /* Type of the control */
- 0, /* Common Style of the widget */
- S_BG_COLOR, /* Particular Style of the widget */
- STATE_FOCUSED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 1, /* Start X position of the control */
- 81, /* Start Y position of the control */
- 326, /* Width of the control */
- 40, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_ATVInfo_Other, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BACKGROUND, /* Type of the control */
- 0, /* Common Style of the widget */
- S_BG_COLOR, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 1, /* Start X position of the control */
- 121, /* Start Y position of the control */
- 326, /* Width of the control */
- 40, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_ATVInfo_Other2, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BACKGROUND, /* Type of the control */
- 0, /* Common Style of the widget */
- S_BG_COLOR, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 1, /* Start X position of the control */
- 161, /* Start Y position of the control */
- 326, /* Width of the control */
- 40, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_ATVInfo_Other3, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BORDER, /* Type of the control */
- 0, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 0, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 328, /* Width of the control */
- 40, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Border_1, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BORDER, /* Type of the control */
- 0, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 0, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 328, /* Width of the control */
- 82, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Border_2, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BORDER, /* Type of the control */
- 0, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 0, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 328, /* Width of the control */
- 122, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Border_3, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BORDER, /* Type of the control */
- 0, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 0, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 328, /* Width of the control */
- 162, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Border_4, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BORDER, /* Type of the control */
- 0, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {0, 0, 0, 0}, /* Font style for each state */
- 0, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 328, /* Width of the control */
- 202, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Border_5, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_TEXT, /* Type of the control */
- CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_NORMAL, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 2, /* Start X position of the control */
- 2, /* Start Y position of the control */
- 324, /* Width of the control */
- 39, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_ATVInfo_Input, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_TEXT, /* Type of the control */
- CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_NORMAL, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 2, /* Start X position of the control */
- 41, /* Start Y position of the control */
- 324, /* Width of the control */
- 39, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_ATVInfo_Prog, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_TEXT, /* Type of the control */
- CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 2, /* Start X position of the control */
- 81, /* Start Y position of the control */
- 324, /* Width of the control */
- 39, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_ATVInfo_SoundMode, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_TEXT, /* Type of the control */
- CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 2, /* Start X position of the control */
- 121, /* Start Y position of the control */
- 324, /* Width of the control */
- 39, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_ATVInfo_ColorSys, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_TEXT, /* Type of the control */
- CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_CLICKED, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 2, /* Start X position of the control */
- 161, /* Start Y position of the control */
- 324, /* Width of the control */
- 39, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_ATVInfo_Rating, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- };
- /* applet structure */
- STRUCT_APPLET TV_IDM_ATVInfo_applet = {
- 0, /* Current Focus Item */
- sizeof(TV_IDM_ATVInfo_control) / sizeof(TV_IDM_ATVInfo_control[0]), /* Number of controls */
- (WinControl_t*)TV_IDM_ATVInfo_control, /* Pointer to an array of a control list */
- };
- /* window structure */
- WinControl_t TV_IDM_ATVInfo_window= {
- NULL, /* Handle to the control */
- CLASS_WINDOW, /* Type of the control */
- 0, /* Style of the control */
- 0,
- WIN_NORMAL, /* State of the control */
- {0, 0, 0, 0}, /* State of the control */
- 850, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 328, /* Width of the control */
- 202, /* Height of the control */
- 1, /* Region index */
- NULL, /* Pointer to its specific param */
- (PVOID)&TV_IDM_ATVInfo_applet, /* Pointer to a child control list */
- };
|