Wakeup Light with touch user interface, anti-aliased Font, SD card access and RTC usage on STM32F746NG-DISCO board
Dependencies: BSP_DISCO_F746NG_patch_fixed LCD_DISCO_F746NG TS_DISCO_F746NG FATFileSystem TinyJpgDec_interwork mbed-src
UI.h
- Committer:
- the_sz
- Date:
- 2015-10-29
- Revision:
- 2:80026d18fcf3
- Child:
- 3:ecf7f1f8d749
File content as of revision 2:80026d18fcf3:
#ifndef __UI_h #define __UI_h #define UI_FLAG_TYPE_BOX_LIST (0x01 | UI_FLAG_NEEDS_CHROME) #define UI_FLAG_TYPE_MESSAGE_BOX (0x02 | UI_FLAG_NEEDS_CHROME) #define UI_FLAG_TYPE_CLOCK 0x04 #define UI_FLAG_TYPE_CLOCK_IN_WORDS (0x08 | UI_FLAG_NEEDS_CHROME) #define UI_FLAG_TYPE_TIMER_ADJUST (0x10 | UI_FLAG_NEEDS_CHROME) #define UI_FLAG_NEEDS_CHROME 0x20 typedef struct { int8_t flags; // UI_FLAG_... union { struct { } boxList; struct { } messageBox; struct { } clock; struct { } clockInWords; struct { } timerAdjust; } data; } UI_STRUCT; void UI_Init(void); void UI_Poll(void); void UI_Show(UI_STRUCT *ui); #endif