|
LCDGFX LCD display driver
1.2.0
Lightweight graphics library for SSD1306, SSD1325, SSD1327, SSD1331, SSD1351, SH1106, SH1107, IL9163, ST7735, ST7789, ILI9341, PCD8544 displays over I2C/SPI
|
Template class for all NanoEngine objects. More...
#include <tiler.h>


Public Member Functions | |
| virtual void | draw ()=0 |
| draw() method is called by NanoEngine, when it needs to refresh object graphics. | |
| virtual void | update ()=0 |
| update() method is called by NanoEngine, when it needs all objects to update their logic state. | |
| virtual void | refresh ()=0 |
| update() method is called by NanoEngine, when it needs object to mark occupied place for refreshing. | |
| void | focus () |
| Sets logic focus on NanoEngineObject. | |
| void | defocus () |
| Clears logic focus from NanoEngineObject. | |
| bool | isFocused () |
| Returns true if logic focus points to the object. More... | |
| bool | hasTiler () |
| Returns true if NanoEngineObject is bound to NanoEngine instance. | |
| T & | getTiler () |
| Returns reference to NanoEngine. More... | |
Protected Member Functions | |
| void | setTiler (T *tiler) |
| Bind NanoEngineObject to specific NanoEngine. More... | |
Protected Attributes | |
| T * | m_tiler = nullptr |
| Active tiler, assigned to the NanoEngineObject. | |
| NanoEngineObject< T > * | m_next = nullptr |
| Next NanoEngineObject in the list. | |
Friends | |
| template<class C , class D > | |
| class | NanoEngineTiler |
Template class for all NanoEngine objects.
|
inline |
Returns reference to NanoEngine.
Before call to this function, please check that NanoEngine is valid via hasTiler() function.
|
inline |
Returns true if logic focus points to the object.
At present NanoEngine allows many objects to be in focus at once
|
inlineprotected |
Bind NanoEngineObject to specific NanoEngine.
| tiler | pointer to NanoEngine object |