/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_KeypadMenu.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_KeypadMenu.h" #include "TV_font_style_define.h" #ifdef CONFIG_KEYPAD_SINGLE_REUSE bg_t TV_IDC_KeypadMenuBG = { &TV_BgColor_190, /* background color */ NULL /*background bitmap id */ }; INT16 TV_IDC_GroupButton_KeypadMenu_icon[] = { TV_IDB_KEYBORD_StandBY_normal_2, TV_IDB_KEYBORD_MENU_normal_1, TV_IDB_KEYBORD_TVAV_normal_1, TV_IDB_KEYBORD_VOL_UP_normal_1, TV_IDB_KEYBORD_VOL_DOWN_normal_1, TV_IDB_KEYBORD_CH_UP_normal_1, TV_IDB_KEYBORD_CH_DOWN_normal_1, ICON_LAST, }; btng_icon_t TV_IDC_GroupButton_KeypadMenu = { &TV_BgColor_39, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ {3, 0, 60, 50}, /* Pos of the first item */ TV_IDC_GroupButton_KeypadMenu_icon, /* Fg icon */ 0, /* Space */ 7, /* Page item count */ 7, /* Total item count */ 0, /* First button index */ 0, /* Focused item index */ 0, /* Click item index */ NULL /* Disabled iterms */ }; /* window controls */ WinControl_t TV_IDM_KeypadMenu_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 */ 424, /* Width of the control */ 50, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_KeypadMenuBG, /* 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_TOP|CS_CTR_H, /* Common Style of the widget */ S_BTN_ICON, /* Particular Style of the widget */ STATE_FOCUSED, /* State of the control */ {TV_Large, TV_Large, TV_Large, TV_Large}, /* Font style for each state */ 3, /* Start X position of the control */ 0, /* Start Y position of the control */ 421, /* Width of the control */ 50, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_GroupButton_KeypadMenu, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_KeypadMenu_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_KeypadMenu_control) / sizeof(TV_IDM_KeypadMenu_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_KeypadMenu_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_KeypadMenu_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 */ 448, /* Start X position of the control */ 658, /* Start Y position of the control */ 424, /* Width of the control */ 50, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_KeypadMenu_applet, /* Pointer to a child control list */ }; #endif /* CONFIG_KEYPAD_SINGLE_REUSE */