/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_LcnMultChnDetect.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_LcnMultChnDetect.h" #include "TV_font_style_define.h" bg_t TV_IDC_MultChnListDetect_BG = { &TV_BgColor_152, /* background color */ NULL /*background bitmap id */ }; border_t TV_IDC_MultChnListDetect_Border = { &TV_BgColor_153, /* background color */ NULL, /*background bitmap id */ 2 }; btn_text_t TV_IDC_MultChnListDetect_Text_Button_Title = { {0,0,430,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,430,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; text_box_t TV_IDC_MultChnListDetect_Text_title = { 0, /* Language name */ &TV_BgColor_6, /* Bg color */ &TV_TextColor_170, /* Text Color */ {0,7,428,30}, /*Position of the text*/ TV_IDS_String_Multi_channelList_detect, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_MultChnListDetect_Text = { 0, /* Language name */ &TV_BgColor_6, /* Bg color */ &TV_TextColor_171, /* Text Color */ {2,59,428,30}, /*Position of the text*/ TV_IDS_String_Please_select_a_prefered_list, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; border_t TV_IDC_MultChnListDetect_Border2 = { &TV_BgColor_154, /* background color */ NULL, /*background bitmap id */ 1 }; WinControl_t TV_IDC_MultChnListDetect_ListView_control[] = { { NULL, /* Handle to the control */ CLASS_BORDER, /* Type of the control */ 0, /* Common Style of the widget */ 0, /* Particular Style of the widget */ STATE_FOCUSED, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 24, /* Start X position of the control */ 104, /* Start Y position of the control */ 390, /* Width of the control */ 120, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_Border2, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_MultChnListDetect_ListView_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_MultChnListDetect_ListView_control) / sizeof(TV_IDC_MultChnListDetect_ListView_control[0]), /* Number of controls */ TV_IDC_MultChnListDetect_ListView_control, /* Pointer to an array of a control list */ }; list_color_t TV_IDC_MultChnListDetect_ListView_listcolor = { {234,234,234,228}, /* Bg color for odd items */ {213,213,213,220}, /* Bg color for even items */ {0,153,203,255}, /* Bg color for the focused item */ {255,0,255,0} /* Bg color for the clicked item */ }; listview_t TV_IDC_MultChnListDetect_ListView = { &TV_IDC_MultChnListDetect_ListView_listcolor, ICON_ID_INVALID, /* Icon to show on the focused item */ ICON_ID_INVALID, /* Icon to show on the clicked item */ 0, /* Side size */ {24, 104, 390, 24}, /* First item pos */ {24,104,390,24}, /* Focus color pos */ {24,104,390,24}, /* Focus icon pos */ {24,104,390,24}, /*Position of the text*/ 0, /* Offset related */ &TV_TextColor_172, /* 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_mix_t TV_IDC_MultChnListDetect_Move = { {10,259,184,30}, /* Positon of the button */ &TV_BgColor_155, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_52, /* Text Color */ TV_IDS_String_Move, /* Fg string id */ TV_IDB_guide_move_1bmp, {77,259,112,30}, /* Pos of the fg string */ {11,263,59,24}, /* Pos of the fg icon */ NULL /* Marrquee */ }; btn_mix_t TV_IDC_MultChnListDetect_OK = { {210,259,218,30}, /* Positon of the button */ &TV_BgColor_155, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_52, /* Text Color */ TV_IDS_String_Select, /* Fg string id */ TV_IDB_guide_enter_okbmp, {274,259,154,30}, /* Pos of the fg string */ {211,263,59,24}, /* Pos of the fg icon */ NULL /* Marrquee */ }; /* window controls */ WinControl_t TV_IDM_LcnMultChnDetect_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 */ 1, /* Start Y position of the control */ 430, /* Width of the control */ 299, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_BG, /* 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 */ 0, /* Start Y position of the control */ 430, /* Width of the control */ 300, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_Border, /* 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 */ 430, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_Text_Button_Title, /* 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|CS_FONT_MARQUEE, /* Common Style of the widget */ 0, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Small, TV_Game, TV_Game, TV_Game}, /* Font style for each state */ 0, /* Start X position of the control */ 7, /* Start Y position of the control */ 428, /* Width of the control */ 30, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_Text_title, /* 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|CS_FONT_MARQUEE, /* Common Style of the widget */ 0, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */ 2, /* Start X position of the control */ 59, /* Start Y position of the control */ 428, /* Width of the control */ 30, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_Text, /* 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_CENTER|CS_FONT_V_CENTER|CS_FONT_MARQUEE, /* Common Style of the widget */ S_LIST_ROLLBACK|S_LIST_ONEBYONE, /* Particular Style of the widget */ STATE_FOCUSED, /* State of the control */ {TV_Game, TV_Game, TV_Game, TV_Game}, /* Font style for each state */ 24, /* Start X position of the control */ 104, /* Start Y position of the control */ 390, /* Width of the control */ 120, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_ListView, /* Pointer to its specific param */ (PVOID)&TV_IDC_MultChnListDetect_ListView_applet, /* 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_MIX, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Small, TV_Game, TV_Game, TV_Game}, /* Font style for each state */ 10, /* Start X position of the control */ 259, /* Start Y position of the control */ 184, /* Width of the control */ 30, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_Move, /* 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_MIX, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Small, TV_Game, TV_Game, TV_Game}, /* Font style for each state */ 210, /* Start X position of the control */ 259, /* Start Y position of the control */ 218, /* Width of the control */ 30, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_MultChnListDetect_OK, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_LcnMultChnDetect_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_LcnMultChnDetect_control) / sizeof(TV_IDM_LcnMultChnDetect_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_LcnMultChnDetect_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_LcnMultChnDetect_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 */ 393, /* Start X position of the control */ 217, /* Start Y position of the control */ 430, /* Width of the control */ 300, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_LcnMultChnDetect_applet, /* Pointer to a child control list */ };