📄 allpages.h
字号:
/*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* All rights reserved.
*
* This software is copyrighted by and is the sole property of
* VIA Networking Technologies, Inc. This software may only be used
* in accordance with the corresponding license agreement. Any unauthorized
* use, duplication, transmission, distribution, or disclosure of this
* software is expressly forbidden.
*
* This software is provided by VIA Networking Technologies, Inc. "as is"
* and any express or implied warranties, including, but not limited to, the
* implied warranties of merchantability and fitness for a particular purpose
* are disclaimed. In no event shall VIA Networking Technologies, Inc.
* be liable for any direct, indirect, incidental, special, exemplary, or
* consequential damages.
*
*
* File: allpage.h
*
* Purpose: UI definition for all pages
*
* Author: Jenda Jao
*
* Date: Jan 08, 2002
*
*/
#ifndef __ALLPAGES_H__
#define __ALLPAGES_H__
#include "engine.h"
typedef enum EPageID
{
PAGE_LOGIN = 0xFF, // Used in ui engine, the position can't be changed.
PAGE_MAIN_MENU = 0, // Used in ui engine, the position can't be changed.
PAGE_MAIN_MENU_NOLOGOUT, // Used in ui engine, the position can't be changed.
PAGE_PORT_STATUS,
PAGE_PORT,
PAGE_TRUNK_LIST,
PAGE_VLAN_MENU,
PAGE_VLAN_MODE_DIS,
PAGE_VLAN_LIST_P,
PAGE_VLAN_ADD_P,
PAGE_VLAN_EDIT_P,
PAGE_VLAN_LIST_Q,
PAGE_VLAN_ADD_Q,
PAGE_VLAN_EDIT_Q,
PAGE_VLAN_8021Q_INGR,
PAGE_SNIFF_DISABLE,
PAGE_SNIFF_ENABLE,
PAGE_QOS_DISABLE,
PAGE_QOS_ENABLE,
#ifdef __ASIC_VT6526
PAGE_RATE_CONTROL,
#endif
PAGE_MISC_MENU,
PAGE_MISC,
PAGE_ADMIN_DIS,
PAGE_ADMIN_EBL,
PAGE_DEFAULT,
PAGE_RESTART,
PAGE_VERSION
#ifdef __MODULE_WEB_SMART
,PAGE_IP_CONF
#endif
};
#ifndef __ASIC_VT6524
#ifdef __SWITCH_PORT_18
#define ROW_NUM_IN_2_FIELD 9
#define ROW_NUM_IN_3_FIELD 6
#else
#define ROW_NUM_IN_2_FIELD 13
#define ROW_NUM_IN_3_FIELD 9
#endif
#else
#ifdef __SWITCH_PORT_18
#define ROW_NUM_IN_2_FIELD 8
#define ROW_NUM_IN_3_FIELD 6
#else
#define ROW_NUM_IN_2_FIELD 12
#define ROW_NUM_IN_3_FIELD 8
#endif
#endif
extern DIRECT_MEMTYPE_CODE SPage* g_apSPage[];
extern DIRECT_MEMTYPE_CODE BYTE g_abyPreviousPageID[];
extern DIRECT_MEMTYPE_CODE SItemListbox g_SIListboxLogPortName;
extern DIRECT_MEMTYPE_CODE SItemListbox g_SIListboxPanelPortName;
// shared string
extern DIRECT_MEMTYPE_CODE char g_strHelpMsg[];
extern DIRECT_MEMTYPE_CODE char g_strPortStatus[];
extern DIRECT_MEMTYPE_CODE char g_strPortCfg[];
extern DIRECT_MEMTYPE_CODE char g_strTrunkCfg[];
extern DIRECT_MEMTYPE_CODE char g_strVlanCfg[];
extern DIRECT_MEMTYPE_CODE char g_strAdvVlanCfg[];
extern DIRECT_MEMTYPE_CODE char g_strSniffCfg[];
extern DIRECT_MEMTYPE_CODE char g_strQosCfg[];
#ifdef __ASIC_VT6526
extern DIRECT_MEMTYPE_CODE char g_strRateCfg[];
#endif
extern DIRECT_MEMTYPE_CODE char g_strMiscOpr[];
extern DIRECT_MEMTYPE_CODE char g_strAdvCfg[];
extern DIRECT_MEMTYPE_CODE char g_strPasswdSet[];
extern DIRECT_MEMTYPE_CODE char g_strSysInfo[];
#ifdef __MODULE_WEB_SMART
extern DIRECT_MEMTYPE_CODE char g_strIpConf[];
#endif
extern DIRECT_MEMTYPE_CODE char g_strRtnToMain[];
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -