/***************************************************************/ /** This file is generated, do not edit * @file TV_IDM_PingTest.c * @brief menu resource * Generator Version 6.2.57.711 * 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_PingTest.h" #include "TV_font_style_define.h" bg_t TV_IDC_Ping_Test_BG11 = { &TV_BG_78_bg_color, /* background color */ NULL /*background bitmap id */ }; icon_t TV_IDC_Ping_Test_Pic_Left11 = { &TV_BG_33_bg_icon }; btn_text_t TV_IDC_Ping_Test_Bottom11 = { {271,269,512,36}, /* Positon of the button */ &TV_BG_0_bg_color, /* Bg color */ &TV_BG_35_bg_icon, /* Bg icon */ 8, /* Side size */ 0, /* Fix Char Width */ &TV_69_text_color, /* Text Color */ {408,269,120,8}, /*Position of the text*/ STRING_ID_INVALID, /* Fg string id */ NULL /* Marrquee */ }; icon_t TV_IDC_Ping_Test_Pic_Right11 = { &TV_BG_34_bg_icon }; btn_text_t TV_IDC_IDS_String_Ping_Test = { {271,53,512,36}, /* Positon of the button */ &TV_BG_13_bg_color, /* Bg color */ &TV_BG_32_bg_icon, /* Bg icon */ 8, /* Side size */ 0, /* Fix Char Width */ &TV_79_text_color, /* Text Color */ {281,56,492,33}, /*Position of the text*/ TV_IDS_String_Ping_Test, /* Fg string id */ NULL /* Marrquee */ }; text_box_t TV_IDC_Ping_Test_TextBox_Times = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {281,100,220,33}, /*Position of the text*/ TV_IDS_String_Timers, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Ping_Test_TextBox_Bytes = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {281,140,220,33}, /*Position of the text*/ TV_IDS_String_Ping_Test_Byte, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Ping_Test_TextBox_OKs = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {281,180,220,33}, /*Position of the text*/ TV_IDS_String_OK, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Ping_Test_TextBox_Bads = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {281,220,220,33}, /*Position of the text*/ TV_IDS_String_Ping_Test_Bad, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Ping_Test_TextBox_Times1 = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {531,100,220,33}, /*Position of the text*/ TV_IDS_String_0, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Ping_Test_TextBox_Bytes1 = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {531,140,220,33}, /*Position of the text*/ TV_IDS_String_0, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Ping_Test_TextBox_OKs1 = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {531,180,220,33}, /*Position of the text*/ TV_IDS_String_0, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; text_box_t TV_IDC_Ping_Test_TextBox_Bads1 = { 0, /* Language name */ &TV_BG_78_bg_color, /* Bg color */ &TV_20_text_color, /* Text Color */ {531,220,220,33}, /*Position of the text*/ TV_IDS_String_0, /* Fg string id */ NULL, /* String */ NULL, /* Marrquee */ 0 /* Fix Char Width */ }; /* window controls */ WinControl_t TV_IDM_PingTest_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 */ 278, /* Start X position of the control */ 89, /* Start Y position of the control */ 498, /* Width of the control */ 180, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_BG11, /* 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 */ 271, /* Start X position of the control */ 89, /* Start Y position of the control */ 7, /* Width of the control */ 180, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_Pic_Left11, /* 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|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 */ 271, /* Start X position of the control */ 269, /* Start Y position of the control */ 512, /* Width of the control */ 36, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_Bottom11, /* 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 */ 776, /* Start X position of the control */ 89, /* Start Y position of the control */ 7, /* Width of the control */ 180, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_Pic_Right11, /* 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|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 */ 271, /* Start X position of the control */ 53, /* Start Y position of the control */ 512, /* Width of the control */ 36, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_IDS_String_Ping_Test, /* 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_TOP, /* 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 */ 281, /* Start X position of the control */ 100, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_Times, /* 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_TOP, /* 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 */ 281, /* Start X position of the control */ 140, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_Bytes, /* 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_TOP, /* 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 */ 281, /* Start X position of the control */ 180, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_OKs, /* 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_TOP, /* 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 */ 281, /* Start X position of the control */ 220, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_Bads, /* 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_TOP, /* 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 */ 531, /* Start X position of the control */ 100, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_Times1, /* 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_TOP, /* 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 */ 531, /* Start X position of the control */ 140, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_Bytes1, /* 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_TOP, /* 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 */ 531, /* Start X position of the control */ 180, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_OKs1, /* 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_TOP, /* 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 */ 531, /* Start X position of the control */ 220, /* Start Y position of the control */ 220, /* Width of the control */ 33, /* Height of the control */ 255, /* Region index */ (PVOID)&TV_IDC_Ping_Test_TextBox_Bads1, /* Pointer to its specific param */ NULL, /* Pointer to a child control list */ }, }; /* applet structure */ STRUCT_APPLET TV_IDM_PingTest_applet = { 0, /* Current Focus Item */ sizeof(TV_IDM_PingTest_control) / sizeof(TV_IDM_PingTest_control[0]), /* Number of controls */ (WinControl_t*)TV_IDM_PingTest_control, /* Pointer to an array of a control list */ }; /* window structure */ WinControl_t TV_IDM_PingTest_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 */ 256, /* Start X position of the control */ 141, /* Start Y position of the control */ 960, /* Width of the control */ 519, /* Height of the control */ 1, /* Region index */ NULL, /* Pointer to its specific param */ (PVOID)&TV_IDM_PingTest_applet, /* Pointer to a child control list */ };