Example that shows how to use emWin. This example is based on NXP's POS demo available at lpcware.com

Dependencies:   EALib ewgui mbed

BlueboardPOS.h

Committer:
embeddedartists
Date:
2014-04-14
Revision:
2:cbf00ac63f35
Parent:
0:2052561807c5

File content as of revision 2:cbf00ac63f35:

#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;