/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_UserMenu.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_UserMenu.h" #include "TV_font_style_define.h" String_id_t TV_IDC_ListView1_string[] = { TV_IDS_String_EQ, TV_IDS_String_EQ100HZ, TV_IDS_String_EQ1KHZ, TV_IDS_String_EQ300HZ, TV_IDS_String_EQ3KHZ, TV_IDS_String_EQ8KHZ, TV_IDS_String_Path_EQ, TV_IDS_String_BAND100HZ, TV_IDS_String_BAND1KHZ, TV_IDS_String_BAND300HZ, TV_IDS_String_BAND3KHZ, TV_IDS_String_BAND8KHZ, TV_IDS_String_O, TV_IDS_String_Confirm_Exit_Channel_Scan, TV_IDS_String_Confirm_Skip_ATV_Scan, TV_IDS_String_Confirm_Skip_DTV_Scan, TV_IDS_String_Picture_home, TV_IDS_String_Picture_standard, TV_IDS_String_Picture_dynamic, TV_IDS_String_Picture_mild, TV_IDS_String_Picture_user, TV_IDS_String_SPDIF, TV_IDS_String_TV, TV_IDS_String_Monitor, TV_IDS_String_SCART_Output, TV_IDS_String_No_Audio, STRING_LAST }; list_color_t TV_IDC_ListView1_listcolor = { {13,13,13,255}, /* Bg color for odd items */ {27,27,27,255}, /* Bg color for even items */ {41,41,41,255}, /* Bg color for the focused item */ {46,46,46,255} /* Bg color for the clicked item */ }; listview_t TV_IDC_ListView1 = { &TV_IDC_ListView1_listcolor, ICON_ID_INVALID, /* Icon to show on the focused item */ ICON_ID_INVALID, /* Icon to show on the clicked item */ 0, /* Side size */ {14, 0, 120, 10}, /* First item pos */ {14,0,120,10}, /* Focus color pos */ {76,0,58,10}, /* Focus icon pos */ {14,0,58,10}, /*Position of the text*/ 0, /* Offset related */ &TV_TextColor_52, /* Fg color */ TV_IDC_ListView1_string, /* Fg string id */ NULL, /* Dynamic string text */ 0, /* Space */ 3, /* Page item count */ 26, /* Total item count */ 0, /* First list index */ 0, /* Focused item index */ 0, /* Click item index */ 0, /* Fix Char Width */ NULL, /* Marrquee */ NULL, /* Disabled items */ }; /* window controls */ WinControl_t TV_IDM_UserMenu_control[] = { { NULL, /* Handle to the control */ CLASS_LISTVIEW, /* Type of the control */ CS_FONT_CENTER|CS_FONT_V_TOP, /* 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 */ 14, /* Start X position of the control */ 0, /* Start Y position of the control */ 120, /* Width of the control */ 36, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ListView1, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_UserMenu_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_UserMenu_control) / sizeof(TV_IDM_UserMenu_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_UserMenu_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_UserMenu_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 */ 136, /* Width of the control */ 36, /* Height of the control */ 0, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_UserMenu_applet, /* Pointer to a child control list */ };