Graphical demo for the LPC4088 Experiment Base Board with one of the Display Expansion Kits. This program displays how to write text in different fonts.
TextDemo.h@0:5e5e9ec91fc8, 2015-06-25 (annotated)
- Committer:
- embeddedartists
- Date:
- Thu Jun 25 10:30:15 2015 +0000
- Revision:
- 0:5e5e9ec91fc8
First version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
embeddedartists | 0:5e5e9ec91fc8 | 1 | |
embeddedartists | 0:5e5e9ec91fc8 | 2 | #ifndef TEXTDEMO_H |
embeddedartists | 0:5e5e9ec91fc8 | 3 | #define TEXTDEMO_H |
embeddedartists | 0:5e5e9ec91fc8 | 4 | |
embeddedartists | 0:5e5e9ec91fc8 | 5 | #include "EaLcdBoardGPIO.h" |
embeddedartists | 0:5e5e9ec91fc8 | 6 | #include "lpc_swim.h" |
embeddedartists | 0:5e5e9ec91fc8 | 7 | #include "lpc_swim_font.h" |
embeddedartists | 0:5e5e9ec91fc8 | 8 | |
embeddedartists | 0:5e5e9ec91fc8 | 9 | class TextDemo { |
embeddedartists | 0:5e5e9ec91fc8 | 10 | public: |
embeddedartists | 0:5e5e9ec91fc8 | 11 | |
embeddedartists | 0:5e5e9ec91fc8 | 12 | TextDemo(uint8_t *pFrameBuf, uint16_t dispWidth, uint16_t dispHeight); |
embeddedartists | 0:5e5e9ec91fc8 | 13 | |
embeddedartists | 0:5e5e9ec91fc8 | 14 | void run(EaLcdBoardGPIO& lcdBoard, uint32_t loops, uint32_t delayMs); |
embeddedartists | 0:5e5e9ec91fc8 | 15 | |
embeddedartists | 0:5e5e9ec91fc8 | 16 | protected: |
embeddedartists | 0:5e5e9ec91fc8 | 17 | |
embeddedartists | 0:5e5e9ec91fc8 | 18 | private: |
embeddedartists | 0:5e5e9ec91fc8 | 19 | SWIM_WINDOW_T _win; |
embeddedartists | 0:5e5e9ec91fc8 | 20 | }; |
embeddedartists | 0:5e5e9ec91fc8 | 21 | |
embeddedartists | 0:5e5e9ec91fc8 | 22 | #endif /* TEXTDEMO_H */ |
embeddedartists | 0:5e5e9ec91fc8 | 23 |