123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517 |
- /***************************************************************/
- /** This file is generated, do not edit
- * @file TV_IDM_SystemInfo.c
- * @brief menu resource
- * Generator Version 6.2.32.662
- * Source File Name and Date
- *
- *
- * @note Copyright (c) 2006-2008, Sunplus Technology Co., Ltd.
- * All rights reserved.
- *
- * This software is copyrighted by and is the property of Sunplus
- * Technology Co., Ltd. All rights are reserved by Sunplus Technology
- * Co., Ltd. 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 Sunplus Technology Co., Ltd.
- *
- * Sunplus Technology Co., Ltd. reserves the right to modify this
- * software without notice.
- *
- * Sunplus Technology Co., Ltd.
- * 19, Innovation First Road, Science-Based Industrial Park,
- * Hsin-Chu, 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_SystemInfo.h"
- #include "TV_font_style_define.h"
- bg_t TV_IDC_Background_MainPage_Line111 = {
- &TV_BG_7_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line211 = {
- &TV_BG_19_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line311 = {
- &TV_BG_7_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line411 = {
- &TV_BG_19_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line511 = {
- &TV_BG_7_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line611 = {
- &TV_BG_19_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line711 = {
- &TV_BG_7_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line811 = {
- &TV_BG_19_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line911 = {
- &TV_BG_7_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- bg_t TV_IDC_Background_MainPage_Line1011 = {
- &TV_BG_19_bg_color, /* background color */
- NULL /*background bitmap id */
- };
- String_id_t TV_IDC_ListView_SystemInfo_string[] =
- {
- TV_IDS_String_Model,
- TV_IDS_String_OADVersion,
- TV_IDS_String_SoftwareVersionEx,
- TV_IDS_String_UsedTime,
- TV_IDS_String_CustomerSupport,
- TV_IDS_String_Hotline,
- TV_IDS_String_Email,
- TV_IDS_String_Homepage,
- STRING_LAST
- };
- list_color_t TV_IDC_ListView_SystemInfo_listcolor =
- {
- {255, 255, 255, 0}, /* Bg color for odd items */
- {255, 255, 255, 0}, /* Bg color for even items */
- {255, 255, 255, 0}, /* Bg color for the focused item */
- {255, 255, 255, 0} /* Bg color for the clicked item */
- };
- listview_t TV_IDC_ListView_SystemInfo =
- {
- &TV_IDC_ListView_SystemInfo_listcolor,
- ICON_ID_INVALID, /* Icon to show on the focused item */
- ICON_ID_INVALID, /* Icon to show on the clicked item */
- 0, /* Side size */
- {13, 45, 251, 48}, /* First item pos */
- {13,46,120,20}, /* Focus color pos */
- {75,46,58,20}, /* Focus icon pos */
- {13,45,251,40}, /*Position of the text*/
- 0, /* Offset related */
- &TV_140_text_color, /* Fg color */
- TV_IDC_ListView_SystemInfo_string, /* Fg string id */
- NULL, /* Dynamic string text */
- 0, /* Space */
- 8, /* Page item count */
- 8, /* Total item count */
- 0, /* First list index */
- 0, /* Focused item index */
- 0, /* Click item index */
- 0, /* Fix Char Width */
- NULL, /* Marrquee */
- NULL, /* Disabled items */
- };
- text_box_t TV_IDC_TextBox_Model =
- {
- 0, /* Language name */
- &TV_BG_42_bg_color, /* Bg color */
- &TV_119_text_color, /* Text Color */
- {271,42,410,40}, /*Position of the text*/
- TV_IDS_String_System_Info, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_OAD =
- {
- 0, /* Language name */
- &TV_BG_42_bg_color, /* Bg color */
- &TV_119_text_color, /* Text Color */
- {270,89,410,40}, /*Position of the text*/
- TV_IDS_String_System_Info, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_Software =
- {
- 0, /* Language name */
- &TV_BG_42_bg_color, /* Bg color */
- &TV_119_text_color, /* Text Color */
- {270,137,410,40}, /*Position of the text*/
- TV_IDS_String_System_Info, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_Time =
- {
- 0, /* Language name */
- &TV_BG_42_bg_color, /* Bg color */
- &TV_119_text_color, /* Text Color */
- {271,183,410,40}, /*Position of the text*/
- TV_IDS_String_System_Info, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_Hotline =
- {
- 0, /* Language name */
- &TV_BG_42_bg_color, /* Bg color */
- &TV_119_text_color, /* Text Color */
- {271,287,410,40}, /*Position of the text*/
- TV_IDS_String_System_Info, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_Email =
- {
- 0, /* Language name */
- &TV_BG_42_bg_color, /* Bg color */
- &TV_119_text_color, /* Text Color */
- {271,335,410,40}, /*Position of the text*/
- TV_IDS_String_System_Info, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- text_box_t TV_IDC_TextBox_Homepage =
- {
- 0, /* Language name */
- &TV_BG_42_bg_color, /* Bg color */
- &TV_119_text_color, /* Text Color */
- {271,385,410,40}, /*Position of the text*/
- TV_IDS_String_System_Info, /* Fg string id */
- NULL, /* String */
- NULL, /* Marrquee */
- 0 /* Fix Char Width */
- };
- /* window controls */
- WinControl_t TV_IDM_SystemInfo_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 */
- 0, /* Start X position of the control */
- 0, /* Start Y position of the control */
- 746, /* Width of the control */
- 42, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line111, /* 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 */
- 0, /* Start X position of the control */
- 42, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line211, /* 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 */
- 0, /* Start X position of the control */
- 89, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line311, /* 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 */
- 0, /* Start X position of the control */
- 136, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line411, /* 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 */
- 0, /* Start X position of the control */
- 183, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line511, /* 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 */
- 0, /* Start X position of the control */
- 230, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line611, /* 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 */
- 0, /* Start X position of the control */
- 277, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line711, /* 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 */
- 0, /* Start X position of the control */
- 324, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line811, /* 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 */
- 0, /* Start X position of the control */
- 371, /* Start Y position of the control */
- 746, /* Width of the control */
- 47, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line911, /* 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 */
- 0, /* Start X position of the control */
- 418, /* Start Y position of the control */
- 746, /* Width of the control */
- 42, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_Background_MainPage_Line1011, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- {
- NULL, /* Handle to the control */
- CLASS_LISTVIEW, /* Type of the control */
- CS_FONT_LEFT|CS_FONT_V_CENTER, /* Common Style of the widget */
- S_LIST_ROLLBACK, /* Particular Style of the widget */
- STATE_FOCUSED, /* State of the control */
- {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */
- 13, /* Start X position of the control */
- 45, /* Start Y position of the control */
- 251, /* Width of the control */
- 412, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_ListView_SystemInfo, /* 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_LEFT|CS_FONT_V_BOTTOM, /* 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 */
- 270, /* Start X position of the control */
- 42, /* Start Y position of the control */
- 411, /* Width of the control */
- 41, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_Model, /* 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_LEFT|CS_FONT_V_BOTTOM, /* 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 */
- 270, /* Start X position of the control */
- 89, /* Start Y position of the control */
- 411, /* Width of the control */
- 41, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_OAD, /* 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_LEFT|CS_FONT_V_BOTTOM, /* 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 */
- 270, /* Start X position of the control */
- 137, /* Start Y position of the control */
- 411, /* Width of the control */
- 41, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_Software, /* 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_LEFT|CS_FONT_V_BOTTOM, /* 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 */
- 270, /* Start X position of the control */
- 183, /* Start Y position of the control */
- 411, /* Width of the control */
- 41, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_Time, /* 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_LEFT|CS_FONT_V_BOTTOM, /* 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 */
- 270, /* Start X position of the control */
- 287, /* Start Y position of the control */
- 411, /* Width of the control */
- 41, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_Hotline, /* 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_LEFT|CS_FONT_V_BOTTOM, /* 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 */
- 270, /* Start X position of the control */
- 335, /* Start Y position of the control */
- 411, /* Width of the control */
- 41, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_Email, /* 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_LEFT|CS_FONT_V_BOTTOM, /* 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 */
- 270, /* Start X position of the control */
- 382, /* Start Y position of the control */
- 411, /* Width of the control */
- 43, /* Height of the control */
- 255, /* Region index */
- (PVOID)&TV_IDC_TextBox_Homepage, /* Pointer to its specific param */
- NULL, /* Pointer to a child control list */
- },
- };
- /* applet structure */
- STRUCT_APPLET TV_IDM_SystemInfo_applet = {
- 0, /* Current Focus Item */
- sizeof(TV_IDM_SystemInfo_control) / sizeof(TV_IDM_SystemInfo_control[0]), /* Number of controls */
- (WinControl_t*)TV_IDM_SystemInfo_control, /* Pointer to an array of a control list */
- };
- /* window structure */
- WinControl_t TV_IDM_SystemInfo_window= {
- NULL, /* Handle to the control */
- CLASS_POPUP, /* Type of the control */
- CAPTURE, /* Style of the control */
- 0,
- WIN_NORMAL, /* State of the control */
- {0, 0, 0, 0}, /* State of the control */
- 404, /* Start X position of the control */
- 106, /* Start Y position of the control */
- 806, /* Width of the control */
- 517, /* Height of the control */
- 1, /* Region index */
- NULL, /* Pointer to its specific param */
- (PVOID)&TV_IDM_SystemInfo_applet, /* Pointer to a child control list */
- };
|