/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_BissEdit.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_BissEdit.h" #include "TV_font_style_define.h" btn_icon_t TV_IDC_Button_BissEdit_Hint = { {0,282,699,47}, /* Positon of the button */ &TV_BgColor_5, /* Bg color */ &TV_BgIcon_3, /* Bg icon */ 0, /* Side size */ ICON_ID_INVALID, }; bg_t TV_IDC_BissEdit_Title_BG1 = { &TV_BgColor_5, /* background color */ &TV_BgIcon_81 /*background bitmap id */ }; bg_t TV_IDC_BissEdit_Title_BG2 = { &TV_BgColor_5, /* background color */ &TV_BgIcon_85 /*background bitmap id */ }; WinControl_t TV_IDC_Button_BissEdit_Title_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 */ 0, /* Start Y position of the control */ 9, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_BissEdit_Title_BG1, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_BACKGROUND, /* Type of the control */ CS_PIC_REPEAT, /* 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 */ 690, /* Start X position of the control */ 0, /* Start Y position of the control */ 9, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_BissEdit_Title_BG2, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_BissEdit_Title_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_BissEdit_Title_control) / sizeof(TV_IDC_Button_BissEdit_Title_control[0]), /* Number of controls */ TV_IDC_Button_BissEdit_Title_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_BissEdit_Title = { {9,0,681,47}, /* Positon of the button */ &TV_BgColor_5, /* Bg color */ &TV_BgIcon_78, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_116, /* Text Color */ {9,0,681,47}, /*Position of the text*/ TV_IDS_String_Edit, /* Fg string id */ NULL /* Marrquee */ }; btn_mix_t TV_IDC_Button_BissEdit_Move = { {275,282,190,47}, /* Positon of the button */ &TV_BgColor_6, /* 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, {340,282,92,47}, /* Pos of the fg string */ {275,294,59,24}, /* Pos of the fg icon */ NULL /* Marrquee */ }; btn_mix_t TV_IDC_Button_BissEdit_Return = { {456,282,190,47}, /* Positon of the button */ &TV_BgColor_6, /* Bg color */ NULL, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_52, /* Text Color */ TV_IDS_String_Return, /* Fg string id */ TV_IDB_guide_menubmp, {548,282,98,47}, /* Pos of the fg string */ {474,294,68,24}, /* Pos of the fg icon */ NULL /* Marrquee */ }; bg_t TV_IDC_Background_BissEdit_Enter = { &TV_BgColor_5, /* background color */ &TV_BgIcon_17 /*background bitmap id */ }; WinControl_t TV_IDC_Button_BissEdit_Enter_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 */ 69, /* Start X position of the control */ 294, /* Start Y position of the control */ 71, /* Width of the control */ 24, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Background_BissEdit_Enter, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_Button_BissEdit_Enter_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_Button_BissEdit_Enter_control) / sizeof(TV_IDC_Button_BissEdit_Enter_control[0]), /* Number of controls */ TV_IDC_Button_BissEdit_Enter_control, /* Pointer to an array of a control list */ }; btn_text_t TV_IDC_Button_BissEdit_Enter = { {61,282,180,47}, /* Positon of the button */ &TV_BgColor_5, /* Bg color */ &TV_BgIcon_15, /* Bg icon */ 0, /* Side size */ 0, /* Fix Char Width */ &TV_TextColor_45, /* Text Color */ {156,282,80,47}, /*Position of the text*/ TV_IDS_String_Enter, /* Fg string id */ NULL /* Marrquee */ }; String_id_t TV_IDC_BissEdit_ProgNameList_string[] = { TV_IDS_String_No, TV_IDS_String_ProgramName, TV_IDS_String_TPEdit_Freq, TV_IDS_String_Key, TV_IDS_String_SID, STRING_LAST }; list_color_t TV_IDC_BissEdit_ProgNameList_listcolor = { {213,213,213,220}, /* Bg color for odd items */ {234,234,234,228}, /* Bg color for even items */ {255,0,255,0}, /* Bg color for the focused item */ {255,0,255,0} /* Bg color for the clicked item */ }; listview_t TV_IDC_BissEdit_ProgNameList = { &TV_IDC_BissEdit_ProgNameList_listcolor, TV_IDB_cursorbmp, /* Icon to show on the focused item */ ICON_ID_INVALID, /* Icon to show on the clicked item */ 6, /* Side size */ {0, 47, 699, 47}, /* First item pos */ {0,47,699,47}, /* Focus color pos */ {0,47,699,47}, /* Focus icon pos */ {20,47,250,47}, /*Position of the text*/ 0, /* Offset related */ &TV_TextColor_134, /* Fg color */ TV_IDC_BissEdit_ProgNameList_string, /* Fg string id */ NULL, /* Dynamic string text */ 0, /* Space */ 5, /* Page item count */ 5, /* Total item count */ 0, /* First list index */ 0, /* Focused item index */ 0, /* Click item index */ 0, /* Fix Char Width */ NULL, /* Marrquee */ NULL, /* Disabled items */ }; text_box_t TV_IDC_Text_BISSEdit_ProgNO = { 0, /* Language name */ &TV_BgColor_137, /* Bg color */ &TV_TextColor_52, /* Text Color */ {350,47,349,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Text_BISSEdit_ProgName = { 0, /* Language name */ &TV_BgColor_137, /* Bg color */ &TV_TextColor_52, /* Text Color */ {350,94,349,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Text_BISSEdit_Freq = { 0, /* Language name */ &TV_BgColor_137, /* Bg color */ &TV_TextColor_52, /* Text Color */ {350,141,349,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Text_BISSEdit_Key = { 0, /* Language name */ &TV_BgColor_137, /* Bg color */ &TV_TextColor_52, /* Text Color */ {350,188,349,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Text_BISSEdit_SID = { 0, /* Language name */ &TV_BgColor_137, /* Bg color */ &TV_TextColor_52, /* Text Color */ {350,235,349,47}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; /* window controls */ WinControl_t TV_IDM_BissEdit_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_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 */ 0, /* Start X position of the control */ 282, /* Start Y position of the control */ 699, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_BissEdit_Hint, /* 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, /* 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 */ 699, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_BissEdit_Title, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_BissEdit_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, /* Common Style of the widget */ S_BTN_MIX, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 275, /* Start X position of the control */ 282, /* Start Y position of the control */ 190, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_BissEdit_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_CENTER|CS_FONT_V_CENTER, /* Common Style of the widget */ S_BTN_MIX, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 456, /* Start X position of the control */ 282, /* Start Y position of the control */ 190, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_BissEdit_Return, /* 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_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 */ 61, /* Start X position of the control */ 282, /* Start Y position of the control */ 180, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Button_BissEdit_Enter, /* Pointer to its specific param */ (PVOID)&TV_IDC_Button_BissEdit_Enter_applet, /* 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_SIDE_H, /* Common Style of the widget */ S_LIST_ONEBYONE, /* Particular Style of the widget */ STATE_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 0, /* Start X position of the control */ 47, /* Start Y position of the control */ 699, /* Width of the control */ 235, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_BissEdit_ProgNameList, /* 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_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 350, /* Start X position of the control */ 47, /* Start Y position of the control */ 349, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Text_BISSEdit_ProgNO, /* 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_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 350, /* Start X position of the control */ 94, /* Start Y position of the control */ 349, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Text_BISSEdit_ProgName, /* 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_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 350, /* Start X position of the control */ 141, /* Start Y position of the control */ 349, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Text_BISSEdit_Freq, /* 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_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 350, /* Start X position of the control */ 188, /* Start Y position of the control */ 349, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Text_BISSEdit_Key, /* 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_FOCUSED, /* State of the control */ {TV_Standard, TV_Standard, TV_Standard, TV_Standard}, /* Font style for each state */ 350, /* Start X position of the control */ 235, /* Start Y position of the control */ 349, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Text_BISSEdit_SID, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_BissEdit_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_BissEdit_control) / sizeof(TV_IDM_BissEdit_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_BissEdit_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_BissEdit_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 */ 318, /* Start X position of the control */ 155, /* Start Y position of the control */ 699, /* Width of the control */ 329, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_BissEdit_applet, /* Pointer to a child control list */ };