⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vcongui_8h-source.htm

📁 MINIGUI1.6开发API
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: vcongui.h Source File</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main&nbsp;Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.htm">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File&nbsp;List</a> | <a class="qindex" href="functions.htm">Data&nbsp;Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related&nbsp;Pages</a></div><div class="nav"><a class="el" href="dir_000003.htm">include</a></div><h1>vcongui.h</h1><a href="vcongui_8h.htm">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 00022 <span class="comment">/*</span>00023 <span class="comment"> * $Id: vcongui.h 7364 2007-08-16 05:20:20Z xgwang $</span>00024 <span class="comment"> *</span>00025 <span class="comment"> *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, </span>00026 <span class="comment"> *                     pSOS, ThreadX, NuCleus, OSE, and Win32.</span>00027 <span class="comment"> *</span>00028 <span class="comment"> *             Copyright (C) 2002-2007 Feynman Software.</span>00029 <span class="comment"> *             Copyright (C) 1998-2002 Wei Yongming.</span>00030 <span class="comment"> *</span>00031 <span class="comment"> * Some idea and source come from CCE (Console Chinese Environment) </span>00032 <span class="comment"> * Thank He Rui and Takashi MANABE for their great work and good license.</span>00033 <span class="comment"> *</span>00034 <span class="comment"> * The copyright statement of CCE and KON2:</span>00035 <span class="comment"> *</span>00036 <span class="comment"> * KON2 - Kanji ON Console -</span>00037 <span class="comment"> * Copyright (C) 1992-1996 Takashi MANABE (manabe@papilio.tutics.tut.ac.jp)</span>00038 <span class="comment"> *</span>00039 <span class="comment"> * CCE - Console Chinese Environment -</span>00040 <span class="comment"> * Copyright (C) 1998-1999 Rui He (herui@cs.duke.edu)</span>00041 <span class="comment"> *</span>00042 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>00043 <span class="comment"> * modification, are permitted provided that the following conditions</span>00044 <span class="comment"> * are met:</span>00045 <span class="comment"> *</span>00046 <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span>00047 <span class="comment"> *    notice, this list of conditions and the following disclaimer.</span>00048 <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span>00049 <span class="comment"> *    notice, this list of conditions and the following disclaimer in the</span>00050 <span class="comment"> *    documentation and/or other materials provided with the distribution.</span>00051 <span class="comment"> *</span>00052 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY</span>00053 <span class="comment"> * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>00054 <span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span>00055 <span class="comment"> * ARE DISCLAIMED.  IN NO EVENT SHALL THE TERRENCE R. LAMBERT BE LIABLE</span>00056 <span class="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL</span>00057 <span class="comment"> * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS</span>00058 <span class="comment"> * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)</span>00059 <span class="comment"> * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span>00060 <span class="comment"> * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY</span>00061 <span class="comment"> * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</span>00062 <span class="comment"> * SUCH DAMAGE.</span>00063 <span class="comment"> * </span>00064 <span class="comment"> */</span>00065 00066 <span class="preprocessor">#ifndef _MGUI_VCONGUI_H</span>00067 <span class="preprocessor"></span><span class="preprocessor">#define _MGUI_VCONGUI_H</span>00068 <span class="preprocessor"></span>00069 <span class="preprocessor">#ifdef __cplusplus</span>00070 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {00071 <span class="preprocessor">#endif  </span><span class="comment">/* __cplusplus */</span>00072 00081 <span class="preprocessor">#ifndef __cplusplus</span>00082 <span class="preprocessor"></span><span class="preprocessor">#ifndef __ECOS__</span>00083 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {<span class="keyword">false</span>, <span class="keyword">true</span>} bool;00084 <span class="preprocessor">#endif</span>00085 <span class="preprocessor"></span><span class="preprocessor">#endif</span>00086 <span class="preprocessor"></span>00087 <span class="preprocessor">#define VCONGUI_VERSION "Version 0.5 (Nov. 2001)"</span>00088 <span class="preprocessor"></span>00089 <span class="preprocessor">#define MIN_COLS    10</span>00090 <span class="preprocessor"></span><span class="preprocessor">#define MAX_COLS    100</span>00091 <span class="preprocessor"></span><span class="preprocessor">#define MIN_ROWS    10</span>00092 <span class="preprocessor"></span><span class="preprocessor">#define MAX_ROWS    60</span>00093 <span class="preprocessor"></span>00094 <span class="preprocessor">#define GetCharWidth GetSysCharWidth</span>00095 <span class="preprocessor"></span><span class="preprocessor">#define GetCCharWidth GetSysCCharWidth</span>00096 <span class="preprocessor"></span><span class="preprocessor">#define GetCharHeight GetSysCharHeight</span>00097 <span class="preprocessor"></span><a name="l00102"></a><a class="code" href="struct__CHILDINFO.htm">00102</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__CHILDINFO.htm">_CHILDINFO</a>00103 {<a name="l00105"></a><a class="code" href="struct__CHILDINFO.htm#o0">00105</a>     <span class="keywordtype">bool</span> <a class="code" href="struct__CHILDINFO.htm#o0">startupMessage</a>;<a name="l00107"></a><a class="code" href="struct__CHILDINFO.htm#o1">00107</a>     <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct__CHILDINFO.htm#o1">startupStr</a>;<a name="l00112"></a><a class="code" href="struct__CHILDINFO.htm#o2">00112</a>     <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct__CHILDINFO.htm#o2">execProg</a>;<a name="l00114"></a><a class="code" href="struct__CHILDINFO.htm#o3">00114</a>     <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="struct__CHILDINFO.htm#o3">execArgs</a>;00115     <a name="l00120"></a><a class="code" href="struct__CHILDINFO.htm#o4">00120</a>     <a class="code" href="group__window__create__fns.htm#ga0">WNDPROC</a>     <a class="code" href="struct__CHILDINFO.htm#o4">DefWinProc</a>;<a name="l00122"></a><a class="code" href="struct__CHILDINFO.htm#o5">00122</a>     <span class="keywordtype">bool</span>        <a class="code" href="struct__CHILDINFO.htm#o5">fMenu</a>;<a name="l00124"></a><a class="code" href="struct__CHILDINFO.htm#o7">00124</a>     <span class="keywordtype">int</span>         <a class="code" href="struct__CHILDINFO.htm#o6">left</a>, <a class="code" href="struct__CHILDINFO.htm#o7">top</a>;<a name="l00126"></a><a class="code" href="struct__CHILDINFO.htm#o8">00126</a>     <span class="keywordtype">int</span>         <a class="code" href="struct__CHILDINFO.htm#o8">rows</a>, <a class="code" href="struct__CHILDINFO.htm#o9">cols</a>;00127 }<a class="code" href="struct__CHILDINFO.htm">CHILDINFO</a>;<a name="l00129"></a><a class="code" href="group__vcongui__fns.htm#ga1">00129</a> <span class="keyword">typedef</span> <a class="code" href="struct__CHILDINFO.htm">CHILDINFO</a>* <a class="code" href="struct__CHILDINFO.htm">PCHILDINFO</a>;00130 00139 <span class="keywordtype">void</span>* <a class="code" href="group__vcongui__fns.htm#ga2">VCOnMiniGUI</a> (<span class="keywordtype">void</span>* data);00140 00141 <span class="preprocessor">#ifndef _LITE_VERSION</span>00142 <span class="preprocessor"></span><span class="keywordtype">void</span>* NewVirtualConsole (PCHILDINFO pChildInfo);00143 <span class="preprocessor">#endif</span>00144 <span class="preprocessor"></span>00147 <span class="preprocessor">#ifdef __cplusplus</span>00148 <span class="preprocessor"></span>}00149 <span class="preprocessor">#endif  </span><span class="comment">/* __cplusplus */</span>00150 00151 <span class="preprocessor">#endif </span><span class="comment">/* _MGUI_VCONGUI_H */</span>00152 00153 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Nov 22 15:35:51 2007 for MiniGUI V1.6.10 API Reference by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="http://www.minigui.com/api_ref/1.6.10/doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>

⌨️ 快捷键说明

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