emWin Samples
| Sample | Description | Executable | "C"-source | |
|---|---|---|---|---|
| WM_RadialMenu | A collection of different samples covering most of the emWin functionalities. | View "C" source | ||
| GUIDEMO | A collection of different samples covering most of the emWin functionalities. | Download "C" files | ||
| Notepad | Typing on a notepad which is shifted in and out. | SKINNING_Notepad.exe | Download "C" files | |
| Speedometer | Shows a speedometer rolling into the screen, performing acceleration as well as deceleration and rolling out of the screen. | MEMDEV_Speedometer.exe | View "C" source | |
| Window Effects | Memory device based Animations. | MEMDEV_WindowEffects.exe | Download "C" files | |
| Skinning | Dialog based application using the skinning feature and window animations. | SKINNING_NestedModal.exe | Download "C" files | |
| Listwheel Effects | Fading and moving of windows. | MEMDEV_ListWheelEffects.exe | Download "C" files | |
| BrewingAutomation | The demo shows a brewing automation process. | BrewingAutomation.exe | Download "C" files | |
| Automatic alpha blending | Animation with several widgets changing their transparency. | ALPHA_TransWidgets.exe | View "C" source | |
| Zoom and rotate | This demo shows how to use the functions GUI_MEMDEV_Rotate() and GUI_MEMDEV_RotateHQ() for rotating and zooming images. | MEMDEV_ZoomAndRotate.exe | Download "C" files | |
| Iconview | The demo uses the ICONVIEW widget for showing an icon based menu like often required in hand held devices. | WIDGET_IconView.exe | Download "C" files | |
| Thai language | Shows how to use emWin to draw Thai text with compound characters. | FONT_ThaiText.exe | View "C" source | |
| Arabic language | Shows how to use emWin to draw Arabic text with bidirectional text support. |
FONT_Arabic.exe | Download "C" files | |
| Showing sprites | Animated sprites move over the desktop window. | SPRITE_SimpleDolphins.exe | View "C" source | |
| Washing machine | Shows a washing machine demo with a blue dolphin moving on top of the application. |
WashingMachine.exe | View "C" source | |
| Graph widget 1 | Shows how to use the GRAPH widget to visualize a function graph. | WIDGET_GraphXY.exe | View "C" source | |
| Graph widget 2 | Shows how to use the GRAPH widget to visualize measurement values. | WIDGET_GraphYT.exe | View "C" source | |
| Antialiased text | Shows how to draw antialiased text with different antialiasing qualities. | AA_Text.exe | View "C" source | |
| Bargraph | Shows a bargraph using alpha blending. | ALPHA_Bargraph.exe | View "C" source | |
| Dashboard & ATM | Contains a dashboard and a ATM simulation in one executable. | DashBoard_ATM.exe | Download "C" files | |
| House control | Simulates a house with elevator and a rotating sign on the roof. | HouseControl.exe | View "C" source | |
| Reversi | A simple board game. | Reversi.exe | View "C" source | |
| ImageFlow | The demo uses memory devices for drawing perspectively distorted images. |
MEMDEV_ImageFlow.exe | Download "C" files | |
| Drawing scaled JPEGs | Shows how to draw scaled *.JPEG files by displaying all JPEG's from a user definable directory without loading them completely into memory. |
2DGL_DrawJPEGScaled.exe | View "C" source |
* Samples marked with a star are either new or have been recently updated.
emWin Tutorials
| Tutorial | Description | Executable | "C"-source | |
|---|---|---|---|---|
| Export screen to BMP image | Shows how to generate BMP screenshots. | 2DGL_BMPExport.exe | View "C" source | |
| Drawing bitmap files | Shows how to draw *.BMP files by displaying all bitmaps of the windows directory. | 2DGL_DrawBMP.exe | View "C" source | |
| Drawing GIF files | Shows how to draw *.GIF files by displaying a GIF movie. | 2DGL_DrawGIF.exe | View "C" source | |
| Drawing JPEG files | Shows how to draw *.JPEG files by displaying all JPEG's of the windows subdirectory webwallpaper. | 2DGL_DrawJPEG.exe | View "C" source | |
| Drawing PNG files | Shows how to draw a *.PNG file. | 2DGL_DrawPNG.exe | View "C" source | |
| Polygon demo | Shows how to draw a polygon. | 2DGL_DrawPolygon.exe | View "C" source | |
| Draw scale using GUI-functions | Shows how to draw a scale using GUI-functions. | 2DGL_DrawScale.exe | View "C" source | |
| High resolution antialiasing | Shows the difference between normal and high resolution antialiasing by a moving needle. | AA_HiResAntialiasing.exe | View "C" source | |
| High resolution pixel | Shows how to draw lines using high resolution antialiasing. | AA_HiResPixels.exe | View "C" source | |
| Antialiased lines | Shows how to use antialiasing with different quality factors. | AA_Lines.exe | View "C" source | |
| Bitmap drawing on hardware with alpha blending support | Draws a bitmap with alpha blending information on a system with multiple layers and support for alpha blending. | ALPHA_DrawBitmapHWAlpha.exe | Download "C" files | |
| Semi transparent dialog | Shows a semi transparent dialog with sliders to adjust the transparency. | ALPHA_TransparentDialog.exe | Download "C" files | |
| Driver performance | This sample can be used for measuring the dispaly driver performance. | BASIC_DriverPerformance.exe | View "C" source | |
| Hello1 | The typical "Hello world" program with a counting value. | BASIC_Hello1.exe | View "C" source | |
| HelloWorld | The typical "Hello world" program. | BASIC_HelloWorld.exe | View "C" source | |
| Demo lookup table | Shows how to change colors by modifying the lookup table (LUT). | COLOR_DemoLUT.exe | Download "C" files | |
| Color bar demo | Shows how to draw a color bar with gradient bars (Black -> Color, White -> Color). | COLOR_ShowColorBar.exe | View "C" source | |
| Cursor demo | Shows how to use different cursors. | CURSOR_Sample.exe | View "C" source | |
| Creating a dialog with several kinds of controlls | Shows how to create a dialog using GUI_ExecDialogBox. | DIALOG_All.exe | View "C" source | |
| Counting dialog | Creates a dialog with a text widget using the big digit fonts for counting. | DIALOG_Count.exe | View "C" source | |
| Using message boxes | Shows how to create a message box. | DIALOG_MessageBox.exe | View "C" source | |
| Customized message box | Shows how to create a customized message box. | DIALOG_MessageBoxUser.exe | View "C" source | |
| Modal dialog | Creates a nested modal dialog after pressing a button. | DIALOG_NestedModal.exe | View "C" source | |
| Creating a dialog with RADIO widgets | Shows how to create a dialog with a group of radio buttons. | DIALOG_Radio.exe | View "C" source | |
| Using SLIDER widgets | Shows how to use SLIDER widgets to modify RGB-Colors. | DIALOG_SliderColor.exe | View "C" source | |
| Shift-JIS demo | Shows how to create and use Shift-JIS (Japanese industrie standard) fonts with double byte characters. | FONT_ShiftJIS.exe | View "C" source | |
| True type fonts | Shows a preview of all installed true type fonts. | FONT_ShowAllTTFs.exe | View "C" source | |
| External binary font demo | Shows how to use external binary fonts (XBF) in emWin. | FONT_ShowXBF.exe | Download "C" files | |
| Automatic banding memory device | Shows how to use an GUI_AUTODEV-object to draw overlapping items without flickering. | MEMDEV_AutoDev.exe | View "C" source | |
| Banding memory device | Shows how to use banding memory devices to draw overlapping items without flickering. | MEMDEV_Banding.exe | View "C" source | |
| Fade in demo | Shows how to use memory devices for a fade in/fade out effect. | MEMDEV_FadeIn.exe | View "C" source | |
| Fading Performance | Measures the performance while fading memory devices. | MEMDEV_FadingPerformance.exe | View "C" source | |
| Basic memory device demo | Shows how to use memory devices for drawing operations. | MEMDEV_MemDev.exe | View "C" source | |
| Printing demo | Shows how to use a memory device to print something on a printer device. | MEMDEV_Printing.exe | View "C" source | |
| Multi tasking demo | Shows how to access the LCD-display by more than one task. | MT_MultiTasking.exe | View "C" source | |
| Moving layers | Shows how to use moving layers, alpha blending and chroma blending with multiple layers. | MULTILAYER_AlphaChromaMove.exe | Download "C" files | |
| Multiuser | Runs 3 applications on 3 displays simultaneously: House control, Reversi and a configuration dialog. | MultiUser.exe | Download "C" files | |
| Hardkey sample | Shows how to use simulation hardkeys. | SIM_HardKey.exe | Download "C" files | |
| Animated sprites and multi tasking | One task shows an animated dialog. A second task moves animated sprites over this dialog. | SPRITE_MultiTaskingDolphins.exe | View "C" source | |
| Runtime calibration | Shows how a touch screen can be calibrated at runtime. | TOUCH_Calibrate.exe | View "C" source | |
| Touch panel demo | Shows how to access a touch panel without using buttons. | TOUCH_Sample.exe | View "C" source | |
| VNC demo | Shows how to use the VNC support (creates a VNC server and waits for a connection). | VNC.exe | View "C" source | |
| Dialog sample | Shows how to use the virtual screen support in a dialog based application. | VSCREEN_MultiPage.exe | Download "C" files | |
| Real time graph | Shows a real time graph on the first page and uses a second page for the color setup. | VSCREEN_RealTime.exe | Download "C" files | |
| Button with user defined bitmap | Shows how to use a BUTTON widget to create a button with a phone logo. | WIDGET_ButtonPhone.exe | View "C" source | |
| Round button | Shows how to create a customized button with a round outline. | WIDGET_ButtonRound.exe | View "C" source | |
| Simple button | Shows how to use a BUTTON widget. | WIDGET_ButtonSimple.exe | View "C" source | |
| Checkbox sample | Shows how to use check boxes with user defined images and in different sizes. | WIDGET_Checkbox.exe | Download "C" files | |
| Custom effect frame | Shows how to use widgets with customized effect frames. | WIDGET_CustomEffect.exe | View "C" source | |
| Fully customized treeview widget | Shows how to customize the treeview widget to exactly meet your needs. | WIDGET_CustomTreeview.exe | View "C" source | |
| Dropdown widget demo | Shows how to create and use a DROPDOWN widget. | WIDGET_Dropdown.exe | View "C" source | |
| Edit text demo | Shows how to use an EDIT widget to edit text. | WIDGET_Edit.exe | View "C" source | |
| User defined edit mode demo | Shows how to use a user defined edit mode with an EDIT widget. | WIDGET_EditWinmode.exe | View "C" source | |
| Widget effect demo | Shows how to use different effects (3D, simple, none) with widgets. | WIDGET_Effect.exe | View "C" source | |
| Frame window demo | Shows how to use FRAMEWIN widgets to give your windows a PC-windows like appearance. | WIDGET_FrameWin.exe | View "C" source | |
| Header widget demo | Shows how to use a HEADER widget for your own needs. | WIDGET_Header.exe | View "C" source | |
| Listbox demo | Shows how to use LISTBOX widgets. | WIDGET_ListBox.exe | View "C" source | |
| Owner drawn list box | Shows how to create an owner drawn list box. | WIDGET_ListBoxOwnerDraw.exe | View "C" source | |
| Listview widget demo | Shows how to use a LISTVIEW widget. | WIDGET_ListView.exe | View "C" source | |
| ListWheel | The demo shows how the LISTWHEEL widget can be used. | WIDGET_ListWheel.exe | Download "C" files | |
| Menu widget demo | Shows a typicall application window with a menu. | WIDGET_Menu.exe | View "C" source | |
| Text editor | Shows how to use a MULTIEDIT widget to create a small text editor. | WIDGET_Multiedit.exe | View "C" source | |
| Try out text editor | Shows a dialog for trying out many of the available options of the MULTIEDIT widget. | WIDGET_MultieditTryIt.exe | View "C" source | |
| Multipage widget | Shows how to use a MULTIPAGE widget. | WIDGET_Multipage.exe | View "C" source | |
| Num pad demo | The sample shows how to create a num pad which sends the pressed key to the window with the input focus. | WIDGET_NumPad.exe | View "C" source | |
| Popup menu demo | Shows how to use a MENU widget to create a popup menu. | WIDGET_PopupMenu.exe | View "C" source | |
| Progress bar demo | Shows how to use PROGBAR widgets to realize progress bars in your application. | WIDGET_Progbar.exe | View "C" source | |
| Widget large scheme sample | Shows the appearance of the large widget scheme. | WIDGET_SchemeLarge.exe | Download "C" files | |
| Widget medium scheme sample | Shows the appearance of the medium widget scheme. | WIDGET_SchemeMedium.exe | Download "C" files | |
| Widget small scheme sample | Shows the appearance of the small widget scheme. | WIDGET_SchemeSmall.exe | Download "C" files | |
| Scroll bar demo | Shows how to use SCROLLBAR widgets to realize scrolling in your application. | WIDGET_ScrollbarMove.exe | View "C" source | |
| Simple listbox | Shows how to use a LISTBOX widget. | WIDGET_SimpleListBox.exe | View "C" source | |
| Simple progress bar | Shows how to create a progress bar. | WIDGET_SimpleProgbar.exe | View "C" source | |
| Sorted listview sample | Shows how to use the sorting functions of the listview widget. | WIDGET_SortedListview.exe | View "C" source | |
| Spinbox sample | Shows a simple spinbox widget. | WIDGET_Spinbox.exe | View "C" source | |
| Treeview widget | Shows a treeview widget containing a massive number of entries. | WIDGET_Treeview.exe | Download "C" files | |
| Treeview widget | Shows how to use the treeview widget. | WIDGET_TreeviewTryit.exe | View "C" source | |
| Using the WINDOW widget | Demonstrates the use of a window widget to create a dialog from a resource table. | WIDGET_Window.exe | View "C" source | |
| Late clipping demo | Explains how to use late clipping. | WM_LateClipping.exe | View "C" source | |
| Motion demo | Shows the motion functionality of the window manager. | WM_Motion.exe | View "C" source | |
| Redrawing demo | Explains the redrawing mechanism of emWin by using a new callback routine for the background window. | WM_Redraw.exe | View "C" source | |
| Window manager demo | Explains a couple of the most often needed window manager functions. | WM_Sample.exe | View "C" source | |
| Video demo | Explains how to react on WM_NOTIFY_VIS_CHANGED by using the function WM_IsCompletelyVisible(). | WM_Video.exe | View "C" source | |
| XEye | Two eyes are watching the PID position. | XEye.exe | View "C" source |
* Tutorials marked with a star are either new or have been recently updated.
Samples






















