123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279 |
- /***************************************************************/
- /** This file is generated, do not edit
- * @file TV_IDM_VersionMenu.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_VersionMenu.h"
- #include "TV_font_style_define.h"
- list_color_t TV_IDC_ListView_Version_SW_listcolor =
- {
- {213,213,213,0}, /* Bg color for odd items */
- {234,234,234,0}, /* Bg color for even items */
- {213,213,213,0}, /* Bg color for the focused item */
- {234,234,234,0} /* Bg color for the clicked item */
- };
- listview_t TV_IDC_ListView_Version_SW =
- {
- &TV_IDC_ListView_Version_SW_listcolor,
- ICON_ID_INVALID, /* Icon to show on the focused item */
- ICON_ID_INVALID, /* Icon to show on the clicked item */
- 0, /* Side size */
- {446, 195, 320, 47}, /* First item pos */
- {446,195,120,20}, /* Focus color pos */
- {508,195,58,20}, /* Focus icon pos */
- {446,195,320,47}, /*Position of the text*/
- 0, /* Offset related */
- &TV_TextColor_69, /* Fg color */
- NULL, /* Fg string id */
- NULL, /* Dynamic string text */
- 0, /* Space */
- 5, /* Page item count */
- 0, /* Total item count */
- 0, /* First list index */
- 0, /* Focused item index */
- 0, /* Click item index */
- 0, /* Fix Char Width */
- NULL, /* Marrquee */
- NULL, /* Disabled items */
- };
- btn_text_t TV_IDC_Button_Version_Line = {
- {774,150,8,370}, /* Positon of the button */
- &TV_BgColor_60, /* Bg color */
- NULL, /* Bg icon */
- 0, /* Side size */
- 0, /* Fix Char Width */
- &TV_TextColor_79, /* Text Color */
- {774,150,8,370}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL /* Marrquee */
- };
- text_box_t TV_IDC_TextBox_BoardName =
- {
- 0, /* Language name */
- &TV_BgColor_61, /* Bg color */
- &TV_TextColor_80, /* Text Color */
- {800,195,320,47}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_PanelName =
- {
- 0, /* Language name */
- &TV_BgColor_62, /* Bg color */
- &TV_TextColor_80, /* Text Color */
- {800,242,320,47}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_BuildDate =
- {
- 0, /* Language name */
- &TV_BgColor_63, /* Bg color */
- &TV_TextColor_80, /* Text Color */
- {800,289,320,47}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_BuildTime =
- {
- 0, /* Language name */
- &TV_BgColor_62, /* Bg color */
- &TV_TextColor_80, /* Text Color */
- {800,337,320,46}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_SWVersion =
- {
- 0, /* Language name */
- &TV_BgColor_63, /* Bg color */
- &TV_TextColor_80, /* Text Color */
- {800,383,320,47}, /*Position of the text*/
- STRING_ID_INVALID, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- /* window controls */
- WinControl_t TV_IDM_VersionMenu_control[] = {
- {
- NULL, /* Handle to the control */
- CLASS_LISTVIEW, /* Type of the control */
- CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */
- 0, /* Particular Style of the widget */
- STATE_FOCUSED, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 446, /* Start X position of the control */
- 195, /* Start Y position of the control */
- 320, /* Width of the control */
- 237, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_ListView_Version_SW, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_BUTTON, /* Type of the control */
- CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */
- S_BTN_TEXT, /* Particular Style of the widget */
- STATE_NORMAL, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 774, /* Start X position of the control */
- 150, /* Start Y position of the control */
- 8, /* Width of the control */
- 370, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Button_Version_Line, /* 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_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
- 800, /* Start X position of the control */
- 195, /* Start Y position of the control */
- 320, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_BoardName, /* 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_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
- 800, /* Start X position of the control */
- 242, /* Start Y position of the control */
- 320, /* Width of the control */
- 48, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_PanelName, /* 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_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
- 800, /* Start X position of the control */
- 289, /* Start Y position of the control */
- 320, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_BuildDate, /* 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_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
- 800, /* Start X position of the control */
- 337, /* Start Y position of the control */
- 320, /* Width of the control */
- 46, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_BuildTime, /* 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_Small, TV_Small, TV_Small, TV_Small}, /* Font style for each state */
- 800, /* Start X position of the control */
- 383, /* Start Y position of the control */
- 320, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_SWVersion, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- };
- /* applet structure */
- STRUCT_APPLET TV_IDM_VersionMenu_applet = {
- 0, /* Current Focus Item */
- sizeof(TV_IDM_VersionMenu_control) / sizeof(TV_IDM_VersionMenu_control[0]), /* Number of controls */
- (WinControl_t*)TV_IDM_VersionMenu_control, /* Pointer to an array of a control list */
- };
- /* window structure */
- WinControl_t TV_IDM_VersionMenu_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 */
- 0, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 1216, /* Width of the control */
- 660, /* Height of the control */
- 1, /* Region index */
- NULL, /* Pointer to its specific param */
- (PVOID)&TV_IDM_VersionMenu_applet, /* Pointer to a child control list */
- };
|