/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_SelectFavNet.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_SelectFavNet.h" #include "TV_font_style_define.h" bg_t TV_IDC_Background_FavNet = { &TV_BgColor_4, /* background color */ NULL /*background bitmap id */ }; btn_text_t TV_IDC_Button_FavNet_title = { {0,0,620,47}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ &TV_BgIcon_8, /* Bg icon */ 9, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_83, /* Text Color */ {0,0,620,47}, /*Position of the text*/ TV_IDS_String_SelectFavNet, /* Fg string id */ NULL /* Marrquee */ }; list_color_t TV_IDC_ListView_FavNet_listcolor = { {234,234,234,228}, /* Bg color for odd items */ {213,213,213,220}, /* Bg color for even items */ {255,193,30,255}, /* Bg color for the focused item */ {255,0,255,0} /* Bg color for the clicked item */ }; listview_t TV_IDC_ListView_FavNet = { &TV_IDC_ListView_FavNet_listcolor, ICON_ID_INVALID, /* Icon to show on the focused item */ ICON_ID_INVALID, /* Icon to show on the clicked item */ 0, /* Side size */ {11, 49, 580, 47}, /* First item pos */ {11,49,580,47}, /* Focus color pos */ {11,49,580,47}, /* Focus icon pos */ {11,49,580,47}, /*Position of the text*/ 0, /* Offset related */ &TV_TextColor_69, /* Fg color */ NULL, /* Fg string id */ NULL, /* Dynamic string text */ 0, /* Space */ 6, /* 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 */ }; prog_color_t TV_IDC_ScrollBar_FavNet_color = { {47,43,71,255}, {21,21,21,255}, {52,52,52,255}, {37,37,37,255}, {47,43,71,255}, {213,213,213,220}, {46,46,46,255}, {27,27,27,255} }; scroll_basic_t TV_IDC_ScrollBar_FavNet = { {603,47,10,282}, /* Positon of the bar */ 20, /* Max value */ 6, /* Page Count */ 0, /* Current value */ 5, /* Slider Size */ &TV_IDC_ScrollBar_FavNet_color, /* Bar color */ }; btn_text_t TV_IDC_Button_FavNet_Enter_Info = { {393,336,72,28}, /* Positon of the button */ &TV_BgColor_15, /* Bg color */ &TV_BgIcon_17, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_52, /* Text Color */ {393,336,72,28}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_FavNet_Enter = { {480,332,100,38}, /* Positon of the button */ &TV_BgColor_23, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_154, /* Text Color */ {480,332,66,38}, /*Position of the text*/ TV_IDS_String_Enter, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_FavNet_Return_Info = { {103,335,78,30}, /* Positon of the button */ &TV_BgColor_15, /* Bg color */ &TV_BgIcon_14, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_48, /* Text Color */ {103,335,78,30}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_FavNet_Return = { {173,329,105,38}, /* Positon of the button */ &TV_BgColor_15, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_155, /* Text Color */ {183,329,95,38}, /*Position of the text*/ TV_IDS_String_Exit, /* Fg string id */ NULL /* Marrquee */ }; /* window controls */ WinControl_t TV_IDM_SelectFavNet_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 */ 47, /* Start Y position of the control */ 620, /* Width of the control */ 320, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_FavNet, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_BUTTON, /* Type of the control */ CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* 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 */ 0, /* Start X position of the control */ 0, /* Start Y position of the control */ 620, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_FavNet_title, /* 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_ONEBYONE, /* Particular Style of the widget */ STATE_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 11, /* Start X position of the control */ 49, /* Start Y position of the control */ 580, /* Width of the control */ 282, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ListView_FavNet, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_SCROLL, /* Type of the control */ CS_CTR_V, /* Common Style of the widget */ S_SCROLL_BASIC, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 603, /* Start X position of the control */ 47, /* Start Y position of the control */ 10, /* Width of the control */ 284, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ScrollBar_FavNet, /* 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 */ 393, /* Start X position of the control */ 336, /* Start Y position of the control */ 72, /* Width of the control */ 28, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_FavNet_Enter_Info, /* 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_LEFT|CS_FONT_V_CENTER, /* 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 */ 480, /* Start X position of the control */ 332, /* Start Y position of the control */ 100, /* Width of the control */ 38, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_FavNet_Enter, /* 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 */ 103, /* Start X position of the control */ 335, /* Start Y position of the control */ 78, /* Width of the control */ 30, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_FavNet_Return_Info, /* 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_LEFT|CS_FONT_V_CENTER, /* 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 */ 173, /* Start X position of the control */ 329, /* Start Y position of the control */ 105, /* Width of the control */ 38, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_FavNet_Return, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_SelectFavNet_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_SelectFavNet_control) / sizeof(TV_IDM_SelectFavNet_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_SelectFavNet_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_SelectFavNet_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 */ 340, /* Start X position of the control */ 125, /* Start Y position of the control */ 650, /* Width of the control */ 450, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_SelectFavNet_applet, /* Pointer to a child control list */ };