Foundation classes for a basic GUI implementing simple widgets and events
Dependents: TouchScreenGUIDemo
Font/FastFont/FastFontRenderer.h@18:d849f3ada858, 2016-05-28 (annotated)
- Committer:
- duncanFrance
- Date:
- Sat May 28 14:50:14 2016 +0000
- Revision:
- 18:d849f3ada858
- Parent:
- 8:a460cabc85ac
Moved the event queue into the EventDispatcher; Improved event handling across Window/Widget
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
duncanFrance | 8:a460cabc85ac | 1 | #ifndef SIMPLEGUI_FAST_FONT_RENDERER_H |
duncanFrance | 8:a460cabc85ac | 2 | #define SIMPLEGUI_FAST_FONT_RENDERER_H |
duncanFrance | 8:a460cabc85ac | 3 | |
duncanFrance | 8:a460cabc85ac | 4 | #include "FontRenderer.h" |
duncanFrance | 8:a460cabc85ac | 5 | #include "FastFont.h" |
duncanFrance | 8:a460cabc85ac | 6 | |
duncanFrance | 8:a460cabc85ac | 7 | class FastFontRenderer : public FontRenderer |
duncanFrance | 8:a460cabc85ac | 8 | { |
duncanFrance | 8:a460cabc85ac | 9 | |
duncanFrance | 8:a460cabc85ac | 10 | public: |
duncanFrance | 8:a460cabc85ac | 11 | |
duncanFrance | 8:a460cabc85ac | 12 | FastFontRenderer(); |
duncanFrance | 8:a460cabc85ac | 13 | |
duncanFrance | 8:a460cabc85ac | 14 | virtual void putc(const char c, GraphicsDisplay* display, Font* font); |
duncanFrance | 8:a460cabc85ac | 15 | virtual void puts(const char* s, GraphicsDisplay* display, Font* font); |
duncanFrance | 8:a460cabc85ac | 16 | // virtual void setFont(Font* font); |
duncanFrance | 8:a460cabc85ac | 17 | |
duncanFrance | 8:a460cabc85ac | 18 | private: |
duncanFrance | 8:a460cabc85ac | 19 | FastFont* _font; |
duncanFrance | 8:a460cabc85ac | 20 | }; |
duncanFrance | 8:a460cabc85ac | 21 | |
duncanFrance | 8:a460cabc85ac | 22 | #endif |