📄 readme.html
字号:
<html>
<head>
<title>emWin - Trial version</title>
</head>
<style>
H1, H2, H3 { color: blue }
H1, H2, H3 { font-family: Helvetica;}
PRE { color: black; margin-left: 2%; }
BODY { color: black; margin-left: 2%; font-family: Verdana; font-size=75%}
TABLE{ color: black; font-family: Verdana; font-size=100%}
</style>
<body bgcolor="#FFFFFF">
<!-------------------------------------------------------------------------->
<!-- Contents -->
<!-------------------------------------------------------------------------->
<h1><font size=+3><b><i>emWin</i></b></font> - Trial version</h1>
<OL>
<LI><A HREF="#1">Introduction</A> </LI>
<LI><A HREF="#2">Requirements</A> </LI>
<LI><A HREF="#3">List of files</A> </LI>
<LI><A HREF="#4">Rebuilding the project</A> </LI>
<LI><A HREF="#5">Debugging the application</A> </LI>
<LI><A HREF="#6">Modifying the application</A> </LI>
<LI><A HREF="#7">Samples</A> </LI>
</OL>
<hr>
<!-------------------------------------------------------------------------->
<!-- Introduction -->
<!-------------------------------------------------------------------------->
<h2><a name="1">Introduction</a></h2>
This trial version allows you to evaluate all functions of <font size=+1><b><i>emWin</i></b></font>. It contains a fully-featured library including the following:<br>
<OL>
<LI>Window manager</LI>
<LI>Memory devices</LI>
<LI>Antialiasing</LI>
<LI>Widget library</LI>
<LI>Touch panel support</LI>
</OL>
It also contains the following tools:<br>
<OL>
<LI>The <font size=+1><b><i>emWin</i></b></font> - viewer: A useful tool to step through the simulation.</LI>
<LI>A demo version of the font converter.</LI>
<LI>A demo version of the bitmap converter.</LI>
</OL>
You need Microsoft Visual C++ 6.0 or later in order to rebuild the project.<br><br>
<hr>
<!-------------------------------------------------------------------------->
<!-- Requirements -->
<!-------------------------------------------------------------------------->
<h2><a name="2">Requirements</a></h2>
<OL>
<LI>Windows 98 or later</LI>
<LI>Microsoft Visual C++ 6.0 or later</LI>
</OL>
<hr>
<!-------------------------------------------------------------------------->
<!-- List of files -->
<!-------------------------------------------------------------------------->
<h2><a name="3">List of files</a></h2>
The trial version contains the following files:<br>
<table>
<tr>
<td width=50% HEIGHT="30"><B>Folder\File(s)</td>
<td width=50%><B>Explanation</td>
</tr>
<tr>
<td>Application\*.h, *.c</td>
<td>Source of the demo program</td>
</tr>
<tr>
<td>Config\*.h, *.c</td>
<td>Configuration files used to build the trial library. !!!CHANGES HAVE NO EFFECT!!!</td>
</tr>
<tr>
<td>Exe\Device.bmp</td>
<td>Bitmap file of the demo board</td>
</tr>
<tr>
<td>Exe\Device1.bmp</td>
<td>Bitmap file of the demo board with hard key definitions</td>
</tr>
<tr>
<td>Exe\GUISimulation.exe</td>
<td>Ready to use demo program</td>
</tr>
<tr>
<td>GUI\Include\*.h</td>
<td>Include files needed to use the library</td>
</tr>
<tr>
<td>GUI\Library\GUI.lib</td>
<td>GUI-library for Visual C++ V6.0 or later</td>
</tr>
<tr>
<td>Sample\*.c</td>
<td>Source code of the samples</td>
</tr>
<tr>
<td>Simulation\*.*</td>
<td>Simulation library, ressources and SIM_X.c</td>
</tr>
<tr>
<td>System\Main.c</td>
<td>Module containing the main function</td>
</tr>
<tr>
<td>Tool\BmpCvtDemo.exe</td>
<td>Demo version of the emWin Bitmap converter</td>
</tr>
<tr>
<td>Tool\emWinView.exe</td>
<td>emWin Viewer, used for debugging the application</td>
</tr>
<tr>
<td>Tool\FontCvtDemo.exe</td>
<td>Demo version of the font converter</td>
</tr>
<tr>
<td>Tool\vncviewer.exe</td>
<td>Used to view and to control the application from a different system</td>
</tr>
<tr>
<td>CleanUp.bat</td>
<td>Removes the compiler output</td>
</tr>
<tr>
<td>ReadMe.html</td>
<td>This file</td>
</tr>
<tr>
<td>SimulationTrial.dsp</td>
<td>Project file for Visual C++ V6.0</td>
</tr>
<tr>
<td>SimulationTrial.dsw</td>
<td>Workspace file for Visual C++ V6.0</td>
</tr>
</table>
<br>
<hr>
<!-------------------------------------------------------------------------->
<!-- Rebuilding the project -->
<!-------------------------------------------------------------------------->
<h2><a name="4">Rebuilding the project</a></h2>
Please note that configuration changes in the files LCDConf.h and GUIConf.h takes no effect on the library.
Changes in the configuration files take only effect if rebuilding the library.
<ol>
<li>Copy all files to your hard drive.</li>
<li>Make sure Visual C++ V6.0 or later is installed.</li>
<li>Open the project by double-clicking the workspace.</li>
<li>Press <FONT FACE="Courier New"><B>F7</B></FONT> to rebuild the project.</li>
<li>Press <FONT FACE="Courier New"><B>F5</B></FONT> to start the simulation.</li>
</ol>
<hr>
<!-------------------------------------------------------------------------->
<!-- Debugging the application -->
<!-------------------------------------------------------------------------->
<h2><a name="5">Debugging the application</a></h2>
<ol>
<li>Start the viewer by double-clicking emWinView.exe.</li>
<li>Step through the application. The viewer shows the contents of the LCD-display.</li>
</ol>
<hr>
<!-------------------------------------------------------------------------->
<!-- Modifying the application -->
<!-------------------------------------------------------------------------->
<h2><a name="6">Modifying the application</a></h2>
Feel free to change the demo program. You can modify the source files of the demo program and add or delete files to/from the project.
<ol>
<li>Edit the source code or modify the project by adding or deleting files.</li>
<li>Press <FONT FACE="Courier New"><B>F7</B></FONT> to rebuild the project.</li>
<li>Press <FONT FACE="Courier New"><B>F5</B></FONT> to start the simulation.</li>
</ol>
<hr>
<!-------------------------------------------------------------------------->
<!-- Samples -->
<!-------------------------------------------------------------------------->
<h2><a name="7">Samples</a></h2>
The following examples are available as source code in this trial version:<br>
<br>
<table>
<tr>
<td HEIGHT="60"><font size=+1><B><li>GUIDemo</li></B></font>
<td></td>
</tr>
<tr>
<td><BR><B>Contains the source of the demo program</B></td>
<td><FONT FACE="Courier New"><B><a href=Application>Application\*.*</a></font></td>
</tr>
<tr>
<td HEIGHT="60"><font size=+1><B><li>Applicaton samples</li></B></font>
<td></td>
</tr>
<tr>
<td><BR><B>House control</B><BR>
<BR>Simulates a house with elevator and a rotating sign on the roof.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\Application\HouseControl.c>Sample\Application\HouseControl.c</a></font></td>
</tr>
<tr>
<td><BR><B>Reversi</B><BR>
<BR>A simple board game.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\Application\Reversi.c>Sample\Application\Reversi.c</a></font></td>
</tr>
<tr>
<td><BR><B>XEye</B><BR>
<BR>Two eyes are watching the PID position.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\Application\XEye.c>Sample\Application\XEye.c</a></font></td>
</tr>
<tr>
<td HEIGHT="60"><font size=+1><B><li>Virtual screen support</li></B></font>
<td></td>
</tr>
<tr>
<td><BR><B>Real time graph</B><BR>
<BR>Shows a real time graph on the first page and uses a second page for the color setup.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\VSCREEN_RealTime.c>Sample\GUI\VSCREEN_RealTime.c</a></font></td>
</tr>
<tr>
<td><BR><B>Dialog sample</B><BR>
<BR>Shows how to use the virtual screen support in a dialog based application.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\VSCREEN_MultiPage>Sample\GUI\VSCREEN_MultiPage\*.*</a></font></td>
</tr>
<tr>
<td HEIGHT="60"><font size=+1><B><li>2D graphic library</li></B></font>
<td></td>
</tr>
<tr>
<td><BR><B>Export simulation output to BMP-file</B><BR>
<BR>Shows how to create a BMP-file with the contents of the simulation window.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\2DGL_BMPExport.c>Sample\GUI\2DGL_BMPExport.c</a></font></td>
</tr>
<tr>
<td><BR><B>Drawing bitmap files</B><BR>
<BR>Shows how to draw *.BMP files by displaying all bitmaps of the windows directory.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\2DGL_DrawBMP.c>Sample\GUI\2DGL_DrawBMP.c</a></font></td>
</tr>
<tr>
<td><BR><B>Drawing JPEG files</B><BR>
<BR>Shows how to draw *.JPEG files by displaying all JPEG's of the windows directory.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\2DGL_DrawJPEG.c>Sample\GUI\2DGL_DrawJPEG.c</a></font></td>
</tr>
<tr>
<td><BR><B>Polygon demo</B><BR>
<BR>Shows how to draw a polygon.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\2DGL_DrawPolygon.c>Sample\GUI\2DGL_DrawPolygon.c</a></font></td>
</tr>
<tr>
<td><BR><B>Draw scale using GUI-functions</B><BR>
<BR>Shows how to draw a scale using GUI-functions.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\2DGL_DrawScale.c>Sample\GUI\2DGL_DrawScale.c</a></font></td>
</tr>
<tr>
<td HEIGHT="60"><font size=+1><B><li>Antialiasing</li></B></font>
<td></td>
</tr>
<tr>
<td><BR><B>High resolution antialiasing</B><BR>
<BR>Shows the difference between normal and high resolution antialiasing by a moving needle.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\AA_HiResAntialiasing.c>Sample\GUI\AA_HiResAntialiasing.c</a></font></td>
</tr>
<tr>
<td><BR><B>High resolution pixel</B><BR>
<BR>Shows how to draw lines using high resolution antialiasing.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\AA_HiResPixels.c>Sample\GUI\AA_HiResPixels.c</a></font></td>
</tr>
<tr>
<td><BR><B>Antialiased lines</B><BR>
<BR>Shows how to use antialiasing with different quality factors.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\AA_Lines.c>Sample\GUI\AA_Lines.c</a></font></td>
</tr>
<tr>
<td HEIGHT="60"><font size=+1><B><li>Basic</li></B></font>
<td></td>
</tr>
<tr>
<td><BR><B>HelloWorld</B><BR>
<BR>The typical "Hello world" program.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\BASIC_HelloWorld.c>Sample\GUI\BASIC_HelloWorld.c</a></font></td>
</tr>
<tr>
<td><BR><B>Hello1</B><BR>
<BR>The typical "Hello world" program with a counting value.</td>
<td><FONT FACE="Courier New"><B><a href=Sample\GUI\BASIC_Hello1.c>Sample\GUI\BASIC_Hello1.c</a></font></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -