/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_TimerEditMenu.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_TimerEditMenu.h" #include "TV_font_style_define.h" bg_t TV_IDC_Background__SubMenu_Title_BG_1 = { &TV_BgColor_6, /* background color */ &TV_BgIcon_11 /*background bitmap id */ }; bg_t TV_IDC_Background__SubMenu_Title_BG_2 = { &TV_BgColor_6, /* background color */ &TV_BgIcon_13 /*background bitmap id */ }; WinControl_t TV_IDC_Button_SubMenu_Title_control[] = { { NULL, /* Handle to the control */ CLASS_BACKGROUND, /* Type of the control */ 0, /* Common Style of the widget */ S_BG_MIX, /* 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 */ 66, /* Width of the control */ 58, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background__SubMenu_Title_BG_1, /* 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_MIX, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 1062, /* Start X position of the control */ 0, /* Start Y position of the control */ 66, /* Width of the control */ 58, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background__SubMenu_Title_BG_2, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_SubMenu_Title_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_SubMenu_Title_control) / sizeof(TV_IDC_Button_SubMenu_Title_control[0]), /* Number of controls */ TV_IDC_Button_SubMenu_Title_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_SubMenu_Title = { {66,0,996,58}, /* Positon of the button */ &TV_BgColor_5, /* Bg color */ &TV_BgIcon_12, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_60, /* Text Color */ {66,0,996,58}, /*Position of the text*/ TV_IDS_String_TimerEdit, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_1 = { {0,58,1128,42}, /* Positon of the button */ &TV_BgColor_71, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,58,1128,42}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_2 = { {0,100,1128,47}, /* Positon of the button */ &TV_BgColor_10, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,100,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_3 = { {0,147,1128,47}, /* Positon of the button */ &TV_BgColor_71, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,147,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_4 = { {0,194,1128,47}, /* Positon of the button */ &TV_BgColor_10, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,194,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_5 = { {0,241,1128,47}, /* Positon of the button */ &TV_BgColor_71, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,241,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_6 = { {0,288,1128,47}, /* Positon of the button */ &TV_BgColor_10, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,288,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_7 = { {0,335,1128,47}, /* Positon of the button */ &TV_BgColor_71, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,335,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_8 = { {0,382,1128,47}, /* Positon of the button */ &TV_BgColor_10, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,382,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_9 = { {0,429,1128,47}, /* Positon of the button */ &TV_BgColor_71, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,429,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_10 = { {0,476,1128,47}, /* Positon of the button */ &TV_BgColor_10, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,476,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_11 = { {0,523,1128,47}, /* Positon of the button */ &TV_BgColor_71, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,523,1128,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; btn_text_t TV_IDC_Button_TimerEditMenu_BG_12 = { {0,570,1128,42}, /* Positon of the button */ &TV_BgColor_10, /* Bg color */ NULL, /* Bg icon */ 1, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {0,570,1128,42}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; bg_t TV_IDC_Background_TimerEditMenu = { &TV_BgColor_103, /* background color */ &TV_BgIcon_113 /*background bitmap id */ }; WinControl_t TV_IDC_GroupButton_TimerEditMenu_control[] = { { NULL, /* Handle to the control */ CLASS_BACKGROUND, /* Type of the control */ 0, /* Common Style of the widget */ S_BG_PICTURE, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 1010, /* Start X position of the control */ 113, /* Start Y position of the control */ 13, /* Width of the control */ 23, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_TimerEditMenu, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_GroupButton_TimerEditMenu_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_GroupButton_TimerEditMenu_control) / sizeof(TV_IDC_GroupButton_TimerEditMenu_control[0]), /* Number of controls */ TV_IDC_GroupButton_TimerEditMenu_control, /* Pointer to an array of a control list */ }; String_id_t TV_IDC_GroupButton_TimerEditMenu_string[] = { TV_IDS_String_Recorder, TV_IDS_String_Type, TV_IDS_String_Channel, TV_IDS_String_StartTime, TV_IDS_String_Duration, TV_IDS_String_Date, TV_IDS_String_Mode, STRING_LAST }; btng_text_t TV_IDC_GroupButton_TimerEditMenu = { &TV_BgColor_6, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ {169, 100, 286, 47}, /* Pos of the first item */ {169,100,286,47}, /*Position of the text*/ 0, /* Offset related */ &TV_TextColor_123, /* Fg color */ TV_IDC_GroupButton_TimerEditMenu_string, /* Fg string id */ 0, /* Space */ 7, /* Page item count */ 7, /* Total item count */ 0, /* First button index */ 0, /* Focused item index */ 0, /* Click item index */ 0, /* Fix Char Width */ NULL, /* Marrquee */ NULL /* Disabled iterms */ }; bg_t TV_IDC_Background_TimerEditMenu_Hint_BG = { &TV_BgColor_5, /* background color */ &TV_BgIcon_4 /*background bitmap id */ }; bg_t TV_IDC_Background_TimerEditMenu_Hint_BG_2 = { &TV_BgColor_5, /* background color */ &TV_BgIcon_20 /*background bitmap id */ }; WinControl_t TV_IDC_Button_TimerEditMenu_Hint_BG_control[] = { { NULL, /* Handle to the control */ CLASS_BACKGROUND, /* Type of the control */ 0, /* Common Style of the widget */ S_BG_PICTURE, /* 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 */ 612, /* Start Y position of the control */ 50, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_TimerEditMenu_Hint_BG, /* 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_PICTURE, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 1078, /* Start X position of the control */ 612, /* Start Y position of the control */ 50, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_TimerEditMenu_Hint_BG_2, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Hint_BG_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_TimerEditMenu_Hint_BG_control) / sizeof(TV_IDC_Button_TimerEditMenu_Hint_BG_control[0]), /* Number of controls */ TV_IDC_Button_TimerEditMenu_Hint_BG_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_TimerEditMenu_Hint_BG = { {50,612,1078,47}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ &TV_BgIcon_3, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {50,612,1078,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; icon_t TV_IDC_Picture_TimerEditMenu_Move = { &TV_BgIcon_6 }; WinControl_t TV_IDC_Button_TimerEditMenu_Move_control[] = { { NULL, /* Handle to the control */ CLASS_ICON, /* Type of the control */ 0, /* 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 */ 171, /* Start X position of the control */ 612, /* Start Y position of the control */ 72, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Picture_TimerEditMenu_Move, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Move_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_TimerEditMenu_Move_control) / sizeof(TV_IDC_Button_TimerEditMenu_Move_control[0]), /* Number of controls */ TV_IDC_Button_TimerEditMenu_Move_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_TimerEditMenu_Move = { {209,618,122,34}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_124, /* Text Color */ {232,618,94,34}, /*Position of the text*/ TV_IDS_String_Move, /* Fg string id */ NULL /* Marrquee */ }; icon_t TV_IDC_Picture_TimerEditMenu_Num = { &TV_BgIcon_61 }; WinControl_t TV_IDC_Button_TimerEditMenu_Num_control[] = { { NULL, /* Handle to the control */ CLASS_ICON, /* Type of the control */ 0, /* 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 */ 397, /* Start X position of the control */ 614, /* Start Y position of the control */ 72, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Picture_TimerEditMenu_Num, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Num_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_TimerEditMenu_Num_control) / sizeof(TV_IDC_Button_TimerEditMenu_Num_control[0]), /* Number of controls */ TV_IDC_Button_TimerEditMenu_Num_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_TimerEditMenu_Num = { {445,616,106,38}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_124, /* Text Color */ {445,620,94,34}, /*Position of the text*/ TV_IDS_String_0To9, /* Fg string id */ NULL /* Marrquee */ }; icon_t TV_IDC_Picture_TimerEditMenu_Move2 = { &TV_BgIcon_16 }; WinControl_t TV_IDC_Button_TimerEditMenu_Move2_control[] = { { NULL, /* Handle to the control */ CLASS_ICON, /* Type of the control */ 0, /* 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 */ 835, /* Start X position of the control */ 614, /* Start Y position of the control */ 90, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Picture_TimerEditMenu_Move2, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Move2_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_TimerEditMenu_Move2_control) / sizeof(TV_IDC_Button_TimerEditMenu_Move2_control[0]), /* Number of controls */ TV_IDC_Button_TimerEditMenu_Move2_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_TimerEditMenu_Move2 = { {907,618,114,36}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_124, /* Text Color */ {907,618,94,34}, /*Position of the text*/ TV_IDS_String_Save, /* Fg string id */ NULL /* Marrquee */ }; String_id_t TV_IDC_ComboBox_TimerEditMenu_Type_string[] = { TV_IDS_String_DTV, TV_IDS_String_Radio, STRING_LAST }; combo_t TV_IDC_ComboBox_TimerEditMenu_Type = { {549,148,457,43}, /* Positon of the combo box */ &TV_BgColor_16, /* Bg color */ &TV_BgIcon_114, /* Bg icon */ 6, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_125, /* Fg color */ {549,148,457,43}, /*Position of the text*/ 2, /* Total item count */ 0, /* Focused item index */ NULL, /* Marrquee */ TV_IDC_ComboBox_TimerEditMenu_Type_string, /* Fg string id */ NULL /* Dynamic string */ }; btn_text_t TV_IDC_Button_TimerEditMenu_ChnNameBG = { {549,195,457,43}, /* Positon of the button */ &TV_BgColor_17, /* Bg color */ &TV_BgIcon_114, /* Bg icon */ 6, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_65, /* Text Color */ {549,195,457,43}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; text_box_t TV_IDC_TextBox_TimerEditMenu_ChnName = { 0, /* Language name */ &TV_BgColor_6, /* Bg color */ &TV_TextColor_125, /* Text Color */ {590,195,400,43}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; static UINT8 TV_IDC_EditBox_TimerEditMenu_StartTime_text[]= "00:00"; static UINT8 TV_IDC_EditBox_TimerEditMenu_StartTime_patternText[]= "__:__"; edit_t TV_IDC_EditBox_TimerEditMenu_StartTime = { {549,242,457,43}, /* Positon of the edit box */ &TV_BgColor_16, /* Bg color */ &TV_BgIcon_114, /* Bg icon */ &TV_TextColor_125, /* Fg color */ {549,242,457,43}, /*Position of the text*/ 6, /* Side size */ 0, /* Fix Char Width */ TV_IDC_EditBox_TimerEditMenu_StartTime_text, /* Text */ TV_IDC_EditBox_TimerEditMenu_StartTime_patternText, /* Pattern Text */ 0, /* Seek Pointer */ 5, /* Maximum Digits */ '*', /* Hide_Character */ '0', /* Default Character */ {255,0,255,0}, /* cursor_color */ 228, /* select_char_color */ {NULL,NULL} }; static UINT8 TV_IDC_EditBox_TimerEditMenu_EndTime_text[]= "00:00"; static UINT8 TV_IDC_EditBox_TimerEditMenu_EndTime_patternText[]= "__:__"; edit_t TV_IDC_EditBox_TimerEditMenu_EndTime = { {549,290,457,43}, /* Positon of the edit box */ &TV_BgColor_17, /* Bg color */ &TV_BgIcon_114, /* Bg icon */ &TV_TextColor_125, /* Fg color */ {549,290,457,43}, /*Position of the text*/ 6, /* Side size */ 0, /* Fix Char Width */ TV_IDC_EditBox_TimerEditMenu_EndTime_text, /* Text */ TV_IDC_EditBox_TimerEditMenu_EndTime_patternText, /* Pattern Text */ 0, /* Seek Pointer */ 5, /* Maximum Digits */ '*', /* Hide_Character */ '0', /* Default Character */ {255,0,255,0}, /* cursor_color */ 124, /* select_char_color */ {NULL,NULL} }; static UINT8 TV_IDC_EditBox_TimerEditMenu_Date_text[]= "00/00/0000"; static UINT8 TV_IDC_EditBox_TimerEditMenu_Date_patternText[]= "__/__/____"; edit_t TV_IDC_EditBox_TimerEditMenu_Date = { {549,334,457,43}, /* Positon of the edit box */ &TV_BgColor_16, /* Bg color */ &TV_BgIcon_114, /* Bg icon */ &TV_TextColor_125, /* Fg color */ {549,334,457,43}, /*Position of the text*/ 6, /* Side size */ 0, /* Fix Char Width */ TV_IDC_EditBox_TimerEditMenu_Date_text, /* Text */ TV_IDC_EditBox_TimerEditMenu_Date_patternText, /* Pattern Text */ 0, /* Seek Pointer */ 10, /* Maximum Digits */ '*', /* Hide_Character */ '0', /* Default Character */ {255,0,255,0}, /* cursor_color */ 124, /* select_char_color */ {NULL,NULL} }; String_id_t TV_IDC_ComboBox_TimerEditMenu_Mode_string[] = { TV_IDS_String_Once, TV_IDS_String_Daily, TV_IDS_String_Weekly, TV_IDS_String_Monthly, STRING_LAST }; combo_t TV_IDC_ComboBox_TimerEditMenu_Mode = { {549,382,457,43}, /* Positon of the combo box */ &TV_BgColor_17, /* Bg color */ &TV_BgIcon_114, /* Bg icon */ 6, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_125, /* Fg color */ {549,382,457,43}, /*Position of the text*/ 4, /* Total item count */ 2, /* Focused item index */ NULL, /* Marrquee */ TV_IDC_ComboBox_TimerEditMenu_Mode_string, /* Fg string id */ NULL /* Dynamic string */ }; String_id_t TV_IDC_ComboBox_TimerEditMenu_Record_string[] = { TV_IDS_String_BannerOff, TV_IDS_String_On, STRING_LAST }; combo_t TV_IDC_ComboBox_TimerEditMenu_Record = { {549,102,457,43}, /* Positon of the combo box */ &TV_BgColor_17, /* Bg color */ &TV_BgIcon_114, /* Bg icon */ 6, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_125, /* Fg color */ {549,102,457,43}, /*Position of the text*/ 2, /* Total item count */ 0, /* Focused item index */ NULL, /* Marrquee */ TV_IDC_ComboBox_TimerEditMenu_Record_string, /* Fg string id */ NULL /* Dynamic string */ }; text_box_t TV_IDC_TextBox_TimerEditMenu_Time = { 0, /* Language name */ &TV_BgColor_6, /* Bg color */ &TV_TextColor_126, /* Text Color */ {798,62,317,37}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; btn_icon_t TV_IDC_Button_TimerEditMenu_Ch_Scramble = { {557,203,23,25}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ &TV_BgIcon_115, /* Bg icon */ 0, /* Side size */ ICON_ID_INVALID, }; icon_t TV_IDC_Picture_TimerEditMenu_Move1 = { &TV_BgIcon_17 }; WinControl_t TV_IDC_Button_TimerEditMenu_Move1_control[] = { { NULL, /* Handle to the control */ CLASS_ICON, /* Type of the control */ 0, /* 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 */ 615, /* Start X position of the control */ 614, /* Start Y position of the control */ 72, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Picture_TimerEditMenu_Move1, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_TimerEditMenu_Move1_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_TimerEditMenu_Move1_control) / sizeof(TV_IDC_Button_TimerEditMenu_Move1_control[0]), /* Number of controls */ TV_IDC_Button_TimerEditMenu_Move1_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_TimerEditMenu_Move1 = { {667,620,112,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 */ {680,620,94,34}, /*Position of the text*/ TV_IDS_String_Enter, /* Fg string id */ NULL /* Marrquee */ }; /* window controls */ WinControl_t TV_IDM_TimerEditMenu_control[] = { { NULL, /* Handle to the control */ CLASS_BUTTON, /* Type of the control */ CS_PIC_REPEAT|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 */ 0, /* Start X position of the control */ 0, /* Start Y position of the control */ 1128, /* Width of the control */ 58, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_SubMenu_Title, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_SubMenu_Title_applet, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_BUTTON, /* Type of the control */ 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 */ 58, /* Start Y position of the control */ 1128, /* Width of the control */ 42, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_1, /* 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|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 */ 100, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_2, /* 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 */ 0, /* Start X position of the control */ 147, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_3, /* 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 */ 0, /* Start X position of the control */ 194, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_4, /* 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 */ 0, /* Start X position of the control */ 241, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_5, /* 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|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 */ 288, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_6, /* 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|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 */ 335, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_7, /* 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|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 */ 382, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_8, /* 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|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 */ 429, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_9, /* 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|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 */ 476, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_10, /* 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|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 */ 523, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_11, /* 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|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 */ 570, /* Start Y position of the control */ 1128, /* Width of the control */ 42, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_BG_12, /* 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_CENTER|CS_CTR_V, /* Common Style of the widget */ S_BTN_TEXT|S_BTNG_ROLLBACK|S_BTNG_ONEBYONE, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 169, /* Start X position of the control */ 100, /* Start Y position of the control */ 891, /* Width of the control */ 365, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_GroupButton_TimerEditMenu, /* Pointer to its specific param */ (PVOID)&TV_IDC_GroupButton_TimerEditMenu_applet, /* 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, /* 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 */ 612, /* Start Y position of the control */ 1128, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_Hint_BG, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_TimerEditMenu_Hint_BG_applet, /* 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 */ 157, /* Start X position of the control */ 612, /* Start Y position of the control */ 174, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_Move, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_TimerEditMenu_Move_applet, /* 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 */ 397, /* Start X position of the control */ 612, /* Start Y position of the control */ 154, /* Width of the control */ 48, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_Num, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_TimerEditMenu_Num_applet, /* 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 */ 835, /* Start X position of the control */ 614, /* Start Y position of the control */ 194, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_Move2, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_TimerEditMenu_Move2_applet, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_COMBO, /* Type of the control */ CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */ S_COMBO_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 */ 549, /* Start X position of the control */ 148, /* Start Y position of the control */ 457, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ComboBox_TimerEditMenu_Type, /* 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_TOP|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 */ 549, /* Start X position of the control */ 195, /* Start Y position of the control */ 457, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_ChnNameBG, /* 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 */ 590, /* Start X position of the control */ 195, /* Start Y position of the control */ 400, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_TimerEditMenu_ChnName, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_EDIT, /* Type of the control */ CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */ S_EDIT_UNDER_LINE|S_EDIT_CURSOR_TWINKLE, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 549, /* Start X position of the control */ 242, /* Start Y position of the control */ 457, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_EditBox_TimerEditMenu_StartTime, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_EDIT, /* Type of the control */ CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */ S_EDIT_UNDER_LINE|S_EDIT_CURSOR_TWINKLE, /* Particular Style of the widget */ STATE_DISABLED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 549, /* Start X position of the control */ 290, /* Start Y position of the control */ 457, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_EditBox_TimerEditMenu_EndTime, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_EDIT, /* Type of the control */ CS_FONT_CENTER|CS_FONT_V_CENTER|CS_SIDE_H, /* Common Style of the widget */ S_EDIT_CURSOR_TWINKLE, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 549, /* Start X position of the control */ 334, /* Start Y position of the control */ 457, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_EditBox_TimerEditMenu_Date, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_COMBO, /* Type of the control */ CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */ S_COMBO_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 */ 549, /* Start X position of the control */ 382, /* Start Y position of the control */ 457, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ComboBox_TimerEditMenu_Mode, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_COMBO, /* Type of the control */ CS_PIC_REPEAT|CS_FONT_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */ S_COMBO_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 */ 549, /* Start X position of the control */ 102, /* Start Y position of the control */ 457, /* Width of the control */ 43, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_ComboBox_TimerEditMenu_Record, /* 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 */ 798, /* Start X position of the control */ 62, /* Start Y position of the control */ 317, /* Width of the control */ 37, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_TextBox_TimerEditMenu_Time, /* 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_ICON, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 556, /* Start X position of the control */ 203, /* Start Y position of the control */ 24, /* Width of the control */ 25, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_Ch_Scramble, /* 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 */ 615, /* Start X position of the control */ 614, /* Start Y position of the control */ 164, /* Width of the control */ 46, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_TimerEditMenu_Move1, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_TimerEditMenu_Move1_applet, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_TimerEditMenu_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_TimerEditMenu_control) / sizeof(TV_IDM_TimerEditMenu_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_TimerEditMenu_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_TimerEditMenu_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 */ 88, /* Start X position of the control */ 0, /* Start Y position of the control */ 1128, /* Width of the control */ 660, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_TimerEditMenu_applet, /* Pointer to a child control list */ };