📄 eng_io.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: eng_io.c
*
* Purpose: UI engine module to support I/O related operations
*
* Author: Jenda Jao
*
* Date: Jan 08, 2002
*
* Functions:
*
* Revision History:
*
*/
#ifndef __ENGIO_H__
#define __ENGIO_H__
#include "ttype.h"
#include "engine.h"
/////////////////////
//// input function
// Get a string (include space) / password / dec_num / hex_num
void ENGvInputItem(SItem* pSItem);
/////////////////////
//// output functions
#define PRINT_ITEM_NORMAL 0
#define PRINT_ITEM_HIGHLIGHT 1
#define PRINT_VAR_LABEL 2
// print whole page
void ENGvPrintPage(void);
// print variable part of a page
// print changed items only. if just print all, let byOldFirstLineID=NULL_LINE_ID.
void ENGvPrintVarPage(void);
// print a item for all types, and append space to user defined length
void ENGvPrintItem(UINT16 wLineID, UINT16 wItemID, UINT8 byType);
///////////////////
//// print message
#define PRINT_THEN_RETURN 0
#define PRINT_THEN_PAUSE 1
// print message in bottom line
// if pause, return getkey, else return '\0'
char ENGcPrintMessage(PSTR str, BOOL bPause);
#define ENGvClearMsgBar() ENGcPrintMessage(" ", PRINT_THEN_RETURN)
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -