/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_NativeGame.c * @brief menu resource * Generator Version 6.2.49.696 * Source File Name and Date * * * @note Copyright (c) 2006-2008, Sunplus Technology Co., Ltd. * All rights reserved. * * This software is copyrighted by and is the property of Sunplus * Technology Co., Ltd. All rights are reserved by Sunplus Technology * Co., Ltd. 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 Sunplus Technology Co., Ltd. * * Sunplus Technology Co., Ltd. reserves the right to modify this * software without notice. * * Sunplus Technology Co., Ltd. * 19, Innovation First Road, Science-Based Industrial Park, * Hsin-Chu, 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_NativeGame.h" #include "TV_font_style_define.h" btn_text_t TV_IDC_NativeGame_Title = { {0,0,500,47}, /* Positon of the button */ &TV_BG_13_bg_color, /* Bg color */ &TV_BG_8_bg_icon, /* Bg icon */ 9, /* Side size */ 0, /* Fix Char Width */ &TV_14_text_color, /* Text Color */ {0,0,500,47}, /*Position of the text*/ TV_IDS_String_NativeGame, /* Fg string id */ NULL /* Marrquee */ }; list_color_t TV_IDC_NativeGame_List_listcolor = { {234,234,234,228}, /* Bg color for odd items */ {213,213,213,220}, /* 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_NativeGame_List = { &TV_IDC_NativeGame_List_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, 488, 46}, /* First item pos */ {0,47,488,46}, /* Focus color pos */ {0,47,488,46}, /* Focus icon pos */ {10,47,468,46}, /*Position of the text*/ 0, /* Offset related */ &TV_11_text_color, /* Fg color */ NULL, /* Fg string id */ NULL, /* Dynamic string text */ 0, /* Space */ 10, /* 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 */ }; bg_t TV_IDC_NativeGame_BG = { &TV_BG_79_bg_color, /* background color */ NULL /*background bitmap id */ }; border_t TV_IDC_NativeGame_Border = { &TV_BG_13_bg_color, /* background color */ NULL, /*background bitmap id */ 1 }; WinControl_t TV_IDC_NativeGame_ScrollBar_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_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 488, /* Start X position of the control */ 47, /* Start Y position of the control */ 12, /* Width of the control */ 460, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_Border, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDC_NativeGame_ScrollBar_applet = { 0, /* Current Focus Item */ sizeof(TV_IDC_NativeGame_ScrollBar_control) / sizeof(TV_IDC_NativeGame_ScrollBar_control[0]), /* Number of controls */ TV_IDC_NativeGame_ScrollBar_control, /* Pointer to an array of a control list */ }; prog_color_t TV_IDC_NativeGame_ScrollBar_color = { {47,43,71,255}, {213,213,213,220}, {47,43,71,255}, {213,213,213,220}, {47,43,71,255}, {213,213,213,220}, {47,43,71,255}, {213,213,213,220} }; scroll_basic_t TV_IDC_NativeGame_ScrollBar = { {491,50,6,454}, /* Positon of the bar */ 20, /* Max value */ 2, /* Page Count */ 0, /* Current value */ 3, /* Slider Size */ &TV_IDC_NativeGame_ScrollBar_color, /* Bar color */ }; icon_t TV_IDC_NativeGame_BottomLeft = { &TV_BG_4_bg_icon }; icon_t TV_IDC_NativeGame_BottomMid = { &TV_BG_3_bg_icon }; icon_t TV_IDC_NativeGame_BottomRight = { &TV_BG_4_bg_icon }; icon_t TV_IDC_NativeGame_PicMove = { &TV_BG_6_bg_icon }; text_box_t TV_IDC_NativeGame_TextMove = { 0, /* Language name */ &TV_BG_0_bg_color, /* Bg color */ &TV_12_text_color, /* Text Color */ {150,507,80,47}, /*Position of the text*/ TV_IDS_String_Move, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; icon_t TV_IDC_NativeGame_PicEnter = { &TV_BG_7_bg_icon }; text_box_t TV_IDC_NativeGame_TextEnter = { 0, /* Language name */ &TV_BG_15_bg_color, /* Bg color */ &TV_274_text_color, /* Text Color */ {355,507,80,47}, /*Position of the text*/ TV_IDS_String_Enter, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; /* window controls */ WinControl_t TV_IDM_NativeGame_control[] = { { 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 */ 500, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_Title, /* 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_LEFT|CS_FONT_V_CENTER|CS_SIDE_H|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_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 */ 488, /* Width of the control */ 460, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_List, /* 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 */ 488, /* Start X position of the control */ 47, /* Start Y position of the control */ 12, /* Width of the control */ 460, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_BG, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { NULL, /* Handle to the control */ CLASS_SCROLL, /* Type of the control */ CS_CTR_V|CS_SIDE_V, /* Common Style of the widget */ S_SCROLL_BASIC, /* Particular Style of the widget */ STATE_NORMAL, /* State of the control */ {0, 0, 0, 0}, /* Font style for each state */ 488, /* Start X position of the control */ 47, /* Start Y position of the control */ 12, /* Width of the control */ 460, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_ScrollBar, /* Pointer to its specific param */ (PVOID)&TV_IDC_NativeGame_ScrollBar_applet, /* Pointer to a child control list */ }, { 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 */ 0, /* Start X position of the control */ 507, /* Start Y position of the control */ 50, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_BottomLeft, /* 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 */ 50, /* Start X position of the control */ 507, /* Start Y position of the control */ 400, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_BottomMid, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { 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 */ 450, /* Start X position of the control */ 507, /* Start Y position of the control */ 50, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_BottomRight, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { 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 */ 83, /* Start X position of the control */ 507, /* Start Y position of the control */ 59, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_PicMove, /* 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_LEFT|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 */ 150, /* Start X position of the control */ 507, /* Start Y position of the control */ 80, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_TextMove, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, { 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 */ 276, /* Start X position of the control */ 507, /* Start Y position of the control */ 71, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_PicEnter, /* 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_LEFT|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 */ 355, /* Start X position of the control */ 507, /* Start Y position of the control */ 80, /* Width of the control */ 47, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_NativeGame_TextEnter, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_NativeGame_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_NativeGame_control) / sizeof(TV_IDM_NativeGame_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_NativeGame_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_NativeGame_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 */ 402, /* Start X position of the control */ 48, /* Start Y position of the control */ 500, /* Width of the control */ 554, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_NativeGame_applet, /* Pointer to a child control list */ };