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