LCDGFX LCD display driver
1.1.5
This library is developed to control SSD1306/SSD1325/SSD1327/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
|
#include <tiler.h>
Public Member Functions | |
virtual void | draw ()=0 |
virtual void | update ()=0 |
virtual void | refresh ()=0 |
void | focus () |
void | defocus () |
bool | isFocused () |
bool | hasTiler () |
T & | getTiler () |
Protected Member Functions | |
void | setTiler (T *tiler) |
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 |
Clears logic focus from NanoEngineObject
|
pure virtual |
draw() method is called by NanoEngine, when it needs to refresh object graphics.
Implemented in NanoObjectList< T >, NanoFixedWidthMenu< T >, NanoListMenu< T >, NanoTextMenuItem< T >, NanoObject< T >, NanoObject< GraphicsEngine::TilerT >, NanoSprite< T >, NanoSprite< GraphicsEngine::TilerT >, Ninja, Ninja, Ninja, and Player.
|
inline |
Sets logic focus on NanoEngineObject
|
inline |
Returns reference to NanoEngine. Before call to this function, please check that NanoEngine is valid via hasTiler() function.
|
inline |
Returns true if NanoEngineObject is bound to NanoEngine instance
|
inline |
Returns true if logic focus points to the object. At present NanoEngine allows many objects to be in focus at once
|
pure virtual |
update() method is called by NanoEngine, when it needs object to mark occupied place for refreshing.
Implemented in NanoObjectList< T >, NanoObject< T >, and NanoObject< GraphicsEngine::TilerT >.
|
inlineprotected |
Bind NanoEngineObject to specific NanoEngine
tiler | pointer to NanoEngine object |
|
pure virtual |
update() method is called by NanoEngine, when it needs all objects to update their logic state.
Implemented in NanoObjectList< T >, NanoObject< T >, NanoObject< GraphicsEngine::TilerT >, and NanoTextMenuItem< T >.