vcongui.h

来自「在ecos 下mingui 的移植开发」· C头文件 代码 · 共 65 行

H
65
字号
//// Virtual Console on MiniGUI.// Copyright (c) 1999, Wei Yongming (ymwei@263.net).//// Some idea and source come from CCE (Console Chinese Environment) // /***  This source is free software; you can redistribute it and/or**  modify it under the terms of the GNU General Public**  License as published by the Free Software Foundation; either**  version 2 of the License, or (at your option) any later version.****  This software is distributed in the hope that it will be useful,**  but WITHOUT ANY WARRANTY; without even the implied warranty of**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU**  General Public License for more details.****  You should have received a copy of the GNU General Public**  License along with this library; if not, write to the Free**  Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,**  MA 02111-1307, USA*/// Create date: 1999.09.23#ifndef	VCONGUI_H#define	VCONGUI_Htypedef	enum {false, true} bool;#define VCONGUI_VERSION "Version 0.4 (Nov. 2000)"#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */#define MIN_COLS    10#define MAX_COLS    100#define MIN_ROWS    10#define MAX_ROWS    60typedef struct _ChildInfo{    bool startupMessage;    const char* startupStr;    const char* execProg;    const char* execArgs;        WNDPROC     DefWinProc;     // other default window proc    bool        fMenu;          // have menu    int         left, top;      // initial position    int         rows, cols;     // number of rows and cols}CHILDINFO;typedef CHILDINFO* PCHILDINFO;void* VCOnMiniGUI (void* data);void* NewVirtualConsole (PCHILDINFO pChildInfo);#ifdef __cplusplus}#endif  /* __cplusplus */#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?