Example that shows how to use emWin. This example is based on NXP's POS demo available at lpcware.com
Dependencies: EALib ewgui mbed
Diff: BlueboardPOS.h
- Revision:
- 0:2052561807c5
diff -r 000000000000 -r 2052561807c5 BlueboardPOS.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BlueboardPOS.h Mon Dec 16 10:58:05 2013 +0000 @@ -0,0 +1,25 @@ +#include <stdint.h> +//#include "emwin/Dialog.h" + +#define WM_USER_RFID_Load_OK (WM_USER + 0) +#define WM_USER_RFID_Store_OK (WM_USER + 1) +#define WM_USER_RFID_Credit_Low (WM_USER + 2) +#define WM_USER_RFID_Error (WM_USER + 3) +#define WM_USER_RFID_Reset_OK (WM_USER + 4) +#define WM_USER_RFID_Increment_OK (WM_USER + 5) +#define WM_USER_RFID_Swipe (WM_USER + 6) +#define WM_USER_RFID_INIT_ERR (WM_USER + 7) + + +void ShowWindow(WM_HWIN window); +void ShowLastWindow(void); +WM_HWIN CreateOrderEntry(void); +WM_HWIN CreateSwipeCard(void); +int DrawCustomSkin(const WIDGET_ITEM_DRAW_INFO * pDrawItemInfo); + +extern WM_HWIN hWinOrderEntry; +extern WM_HWIN hWinSwipeCard; +extern WM_HWIN hWinCallBack; + +extern uint32_t Credit; +extern uint8_t RFID_Cancelled;