1INTRODUCTION.................................................................................................................... 3
2EMWIN BSP DIRECTORY STRUCTURE...................................................................... 4
2.1 Sample Codes (SampleCode\NuMaker)...................................................................................4
2.2 Configuration Files (ThirdParty\emWin\Config).....................................................................4
2.3 Documents (ThirdParty\emWin\Doc)........................................................................................4
2.4 Include Files (ThirdParty\emWin\Include) ...............................................................................4
2.5 Library (ThirdParty\emWin\Lib).................................................................................................5
2.6 Tools (ThirdParty\emWin\Tool) .................................................................................................5
3EMWIN SAMPLE CODE ..................................................................................................... 6
3.1 Project Structure..........................................................................................................................6
3.2 System Initialization....................................................................................................................7
3.3 emWin Initialization .....................................................................................................................8
3.4 Build emWin Project....................................................................................................................9
3.5 Download and Run ......................................................................................................................9
3.6 Touch Screen .............................................................................................................................10
4EMWIN GUIBUILDER........................................................................................................12
4.1 Create Widget.............................................................................................................................12
4.2 Handle Widget Event.................................................................................................................12
5CHANGE DISPLAY PANEL.............................................................................................14
5.1 emWin Display Configuration..................................................................................................14
5.2 Display Driver.............................................................................................................................14
6SUPPORTING RESOURCES..........................................................................................15