/***************************************************************/ /** 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 */ };