/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_ATVInfo.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_ATVInfo.h" #include "TV_font_style_define.h" bg_t TV_IDC_Background_ATVInfo_Prog = { &TV_BgColor_40, /* background color */ NULL /*background bitmap id */ }; bg_t TV_IDC_Background_ATVInfo_Prog2 = { &TV_BgColor_40, /* background color */ NULL /*background bitmap id */ }; bg_t TV_IDC_Background_ATVInfo_Other = { &TV_BgColor_26, /* background color */ NULL /*background bitmap id */ }; bg_t TV_IDC_Background_ATVInfo_Other2 = { &TV_BgColor_26, /* background color */ NULL /*background bitmap id */ }; bg_t TV_IDC_Background_ATVInfo_Other3 = { &TV_BgColor_26, /* background color */ NULL /*background bitmap id */ }; border_t TV_IDC_Border_1 = { &TV_BgColor_41, /* background color */ NULL, /*background bitmap id */ 1 }; border_t TV_IDC_Border_2 = { &TV_BgColor_41, /* background color */ NULL, /*background bitmap id */ 1 }; border_t TV_IDC_Border_3 = { &TV_BgColor_41, /* background color */ NULL, /*background bitmap id */ 1 }; border_t TV_IDC_Border_4 = { &TV_BgColor_41, /* background color */ NULL, /*background bitmap id */ 1 }; border_t TV_IDC_Border_5 = { &TV_BgColor_41, /* background color */ NULL, /*background bitmap id */ 1 }; text_box_t TV_IDC_TextBox_ATVInfo_Input = { 0, /* Language name */ &TV_BgColor_42, /* Bg color */ &TV_TextColor_39, /* Text Color */ {2,2,324,39}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_TextBox_ATVInfo_Prog = { 0, /* Language name */ &TV_BgColor_42, /* Bg color */ &TV_TextColor_39, /* Text Color */ {2,41,324,39}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_TextBox_ATVInfo_SoundMode = { 0, /* Language name */ &TV_BgColor_42, /* Bg color */ &TV_TextColor_62, /* Text Color */ {2,81,324,39}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_TextBox_ATVInfo_ColorSys = { 0, /* Language name */ &TV_BgColor_42, /* Bg color */ &TV_TextColor_39, /* Text Color */ {2,121,324,39}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_TextBox_ATVInfo_Rating = { 0, /* Language name */ &TV_BgColor_42, /* Bg color */ &TV_TextColor_39, /* Text Color */ {2,161,324,39}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; /* window controls */ WinControl_t TV_IDM_ATVInfo_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 */ 1, /* Start X position of the control */ 1, /* Start Y position of the control */ 326, /* Width of the control */ 40, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_ATVInfo_Prog, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { 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 */ 1, /* Start X position of the control */ 41, /* Start Y position of the control */ 326, /* Width of the control */ 40, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_ATVInfo_Prog2, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { 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_FOCUSED, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 1, /* Start X position of the control */ 81, /* Start Y position of the control */ 326, /* Width of the control */ 40, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_ATVInfo_Other, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { 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_CLICKED, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 1, /* Start X position of the control */ 121, /* Start Y position of the control */ 326, /* Width of the control */ 40, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_ATVInfo_Other2, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { 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_CLICKED, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 1, /* Start X position of the control */ 161, /* Start Y position of the control */ 326, /* Width of the control */ 40, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_ATVInfo_Other3, /* 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_CLICKED, /* 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 */ 328, /* Width of the control */ 40, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Border_1, /* 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_CLICKED, /* 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 */ 328, /* Width of the control */ 82, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Border_2, /* 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_CLICKED, /* 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 */ 328, /* Width of the control */ 122, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Border_3, /* 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_CLICKED, /* 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 */ 328, /* Width of the control */ 162, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Border_4, /* 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_CLICKED, /* 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 */ 328, /* Width of the control */ 202, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Border_5, /* 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, /* 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 */ 2, /* Start X position of the control */ 2, /* Start Y position of the control */ 324, /* Width of the control */ 39, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_ATVInfo_Input, /* 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, /* 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 */ 2, /* Start X position of the control */ 41, /* Start Y position of the control */ 324, /* Width of the control */ 39, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_ATVInfo_Prog, /* 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, /* Common Style of the widget */ 0, /* Particular Style of the widget */ STATE_CLICKED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 2, /* Start X position of the control */ 81, /* Start Y position of the control */ 324, /* Width of the control */ 39, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_ATVInfo_SoundMode, /* 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, /* Common Style of the widget */ 0, /* Particular Style of the widget */ STATE_CLICKED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 2, /* Start X position of the control */ 121, /* Start Y position of the control */ 324, /* Width of the control */ 39, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_ATVInfo_ColorSys, /* 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, /* Common Style of the widget */ 0, /* Particular Style of the widget */ STATE_CLICKED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 2, /* Start X position of the control */ 161, /* Start Y position of the control */ 324, /* Width of the control */ 39, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_ATVInfo_Rating, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_ATVInfo_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_ATVInfo_control) / sizeof(TV_IDM_ATVInfo_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_ATVInfo_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_ATVInfo_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 */ 850, /* Start X position of the control */ 0, /* Start Y position of the control */ 328, /* Width of the control */ 202, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_ATVInfo_applet, /* Pointer to a child control list */ };