/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_Language.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_Language.h" #include "TV_font_style_define.h" bg_t TV_IDC_LanguageBackgroundC = { &TV_BgColor_19, /* background color */ NULL /*background bitmap id */ }; border_t TV_IDC_Border = { &TV_BgColor_20, /* background color */ NULL, /*background bitmap id */ 1 }; String_id_t TV_IDC_GroupButton_string[] = { STRING_ID_INVALID, STRING_ID_INVALID, STRING_ID_INVALID, STRING_LAST }; btng_text_t TV_IDC_GroupButton = { &TV_BgColor_21, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ {1, 44, 106, 70}, /* Pos of the first item */ {11,44,86,70}, /*Position of the text*/ 0, /* Offset related */ &TV_TextColor_16, /* Fg color */ TV_IDC_GroupButton_string, /* Fg string id */ 0, /* Space */ 3, /* Page item count */ 3, /* Total item count */ 0, /* First button index */ 1, /* Focused item index */ 0, /* Click item index */ 0, /* Fix Char Width */ NULL, /* Marrquee */ NULL /* Disabled iterms */ }; btn_text_t TV_IDC_Button_ArrowL01 = { {2,77,11,11}, /* Positon of the button */ &TV_BgColor_2, /* Bg color */ &TV_BgIcon_19, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_0, /* Text Color */ {2,77,11,11}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_ArrowR01 = { {305,77,11,11}, /* Positon of the button */ &TV_BgColor_2, /* Bg color */ &TV_BgIcon_19, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_0, /* Text Color */ {305,77,11,11}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button51 = { {14,5,308,27}, /* Positon of the button */ &TV_BgColor_2, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_9, /* Text Color */ {14,5,159,27}, /*Position of the text*/ TV_IDS_String_OSDLanguage, /* Fg string id */ NULL /* Marrquee */ }; bg_t TV_IDC_Background_Language_Menu = { &TV_BgColor_3, /* background color */ &TV_BgIcon_4 /*background bitmap id */ }; WinControl_t TV_IDC_Button_Language_Menu_control[] = { { NULL, /* Handle to the control */ CLASS_BACKGROUND, /* Type of the control */ 0, /* Common Style of the widget */ S_BG_PICTURE, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 165, /* Start X position of the control */ 129, /* Start Y position of the control */ 22, /* Width of the control */ 21, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_Language_Menu, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_Language_Menu_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_Language_Menu_control) / sizeof(TV_IDC_Button_Language_Menu_control[0]), /* Number of controls */ TV_IDC_Button_Language_Menu_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_Language_Menu = { {159,127,113,30}, /* Positon of the button */ &TV_BgColor_0, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_3, /* Text Color */ {203,127,69,30}, /*Position of the text*/ TV_IDS_String_MENU, /* Fg string id */ NULL /* Marrquee */ }; bg_t TV_IDC_ChnMgr_Pic_enter1 = { &TV_BgColor_3, /* background color */ &TV_BgIcon_1 /*background bitmap id */ }; WinControl_t TV_IDC_ChnMgr_TextBox_rename1_control[] = { { NULL, /* Handle to the control */ CLASS_BACKGROUND, /* Type of the control */ 0, /* Common Style of the widget */ S_BG_PICTURE, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 22, /* Start X position of the control */ 127, /* Start Y position of the control */ 37, /* Width of the control */ 30, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ChnMgr_Pic_enter1, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_ChnMgr_TextBox_rename1_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_ChnMgr_TextBox_rename1_control) / sizeof(TV_IDC_ChnMgr_TextBox_rename1_control[0]), /* Number of controls */ TV_IDC_ChnMgr_TextBox_rename1_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_ChnMgr_TextBox_rename1 = { {19,127,123,33}, /* Positon of the button */ &TV_BgColor_0, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_3, /* Text Color */ {67,127,75,30}, /*Position of the text*/ TV_IDS_String_Enter, /* Fg string id */ NULL /* Marrquee */ }; /* window controls */ WinControl_t TV_IDM_Language_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 */ 320, /* Width of the control */ 160, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_LanguageBackgroundC, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_BORDER, /* Type of the control */ 0, /* Common Style of the widget */ 0, /* 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 */ 43, /* Start Y position of the control */ 320, /* Width of the control */ 72, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Border, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_BUTTON_GROUP, /* Type of the control */ CS_FONT_CENTER|CS_FONT_V_CENTER|CS_CTR_H, /* Common Style of the widget */ S_BTN_TEXT|S_BTNG_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 */ 1, /* Start X position of the control */ 44, /* Start Y position of the control */ 318, /* Width of the control */ 70, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_GroupButton, /* 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_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 2, /* Start X position of the control */ 77, /* Start Y position of the control */ 11, /* Width of the control */ 11, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_ArrowL01, /* 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_MIRROR|CS_FONT_CENTER|CS_FONT_V_TOP, /* Common Style of the widget */ S_BTN_TEXT, /* Particular Style of the widget */ STATE_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 305, /* Start X position of the control */ 77, /* Start Y position of the control */ 11, /* Width of the control */ 11, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_ArrowR01, /* 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_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_Large, TV_Large}, /* Font style for each state */ 14, /* Start X position of the control */ 5, /* Start Y position of the control */ 308, /* Width of the control */ 27, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button51, /* 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_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */ 155, /* Start X position of the control */ 127, /* Start Y position of the control */ 117, /* Width of the control */ 30, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_Language_Menu, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_Language_Menu_applet, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_BUTTON, /* Type of the control */ CS_PIC_REPEAT|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_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */ 19, /* Start X position of the control */ 127, /* Start Y position of the control */ 123, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ChnMgr_TextBox_rename1, /* Pointer to its specific param */ (PVOID)&TV_IDC_ChnMgr_TextBox_rename1_applet, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_Language_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_Language_control) / sizeof(TV_IDM_Language_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_Language_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_Language_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 */ 600, /* Start X position of the control */ 54, /* Start Y position of the control */ 322, /* Width of the control */ 160, /* Height of the control */ 0, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_Language_applet, /* Pointer to a child control list */ };