/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_SleepInfo.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_SleepInfo.h" #include "TV_font_style_define.h" bg_t TV_IDC_Background_SleepInfo_bg = { &TV_BgColor_43, /* background color */ NULL /*background bitmap id */ }; btn_text_t TV_IDC_Button_SleepInfo_bg4 = { {3,36,313,109}, /* Positon of the button */ &TV_BgColor_84, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_97, /* Text Color */ {3,36,313,109}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; icon_t TV_IDC_Picture_SleepInfo_bg2 = { &TV_BgIcon_95 }; btn_text_t TV_IDC_Button_SleepInfo_title = { {2,0,315,34}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_98, /* Text Color */ {2,0,315,34}, /*Position of the text*/ TV_IDS_String_SleepInfo, /* Fg string id */ NULL /* Marrquee */ }; text_box_t TV_IDC_TextBox_SleepInfo_message = { 0, /* Language name */ &TV_BgColor_85, /* Bg color */ &TV_TextColor_99, /* Text Color */ {11,57,296,44}, /*Position of the text*/ TV_IDS_String_Time_Left, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; btn_text_t TV_IDC_Button = { {8,98,304,40}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_100, /* Text Color */ {8,98,304,40}, /*Position of the text*/ TV_IDS_String_Cancel_Sleep_Standby, /* Fg string id */ NULL /* Marrquee */ }; /* window controls */ WinControl_t TV_IDM_SleepInfo_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 */ 319, /* Width of the control */ 148, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_SleepInfo_bg, /* 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_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 3, /* Start X position of the control */ 36, /* Start Y position of the control */ 313, /* Width of the control */ 109, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_SleepInfo_bg4, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_ICON, /* Type of the control */ CS_PIC_REPEAT, /* Common Style of the widget */ S_ICON_H_CENTER|S_ICON_V_CENTER, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 2, /* Start X position of the control */ 0, /* Start Y position of the control */ 315, /* Width of the control */ 34, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Picture_SleepInfo_bg2, /* 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_CENTER, /* 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 */ 2, /* Start X position of the control */ 0, /* Start Y position of the control */ 315, /* Width of the control */ 34, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_SleepInfo_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, /* 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 */ 11, /* Start X position of the control */ 57, /* Start Y position of the control */ 296, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_SleepInfo_message, /* 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_NORMAL, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 8, /* Start X position of the control */ 98, /* Start Y position of the control */ 304, /* Width of the control */ 40, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_SleepInfo_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_SleepInfo_control) / sizeof(TV_IDM_SleepInfo_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_SleepInfo_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_SleepInfo_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 */ 492, /* Start X position of the control */ 257, /* Start Y position of the control */ 320, /* Width of the control */ 148, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_SleepInfo_applet, /* Pointer to a child control list */ };