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 <object.h>
Public Member Functions | |
NanoObject (const NanoPoint &pos) | |
NanoObject (const NanoPoint &pos, const NanoPoint &size) | |
void | draw () override |
void | refresh () override |
void | update () override |
lcdint_t | width () const |
lcdint_t | height () const |
void | moveTo (const NanoPoint &p) |
void | moveBy (const NanoPoint &p) |
void | resize (const NanoPoint &size) |
void | setSize (const NanoPoint &size) |
void | setPos (const NanoPoint &p) |
const NanoPoint | bottom () const |
const NanoPoint | top () const |
const NanoPoint | left () const |
const NanoPoint | right () const |
const NanoPoint | center () const |
lcdint_t | x () const |
lcdint_t | y () const |
const NanoPoint & | getPosition () const |
const NanoRect & | getRect () const |
![]() | |
void | focus () |
void | defocus () |
bool | isFocused () |
bool | hasTiler () |
T & | getTiler () |
Protected Attributes | |
NanoRect | m_rect |
![]() | |
T * | m_tiler = nullptr |
Active tiler, assigned to the NanoEngineObject. | |
NanoEngineObject< T > * | m_next = nullptr |
Next NanoEngineObject in the list. | |
Friends | |
template<class N > | |
class | NanoObjectList |
Additional Inherited Members | |
![]() | |
void | setTiler (T *tiler) |
This is base class for all NanoObjects.
|
inlineexplicit |
Creates basic object with the size [1,1]
pos | location of the NanoObject being created |
|
inline |
Creates basic object with arbitrary size
pos | location of the NanoObject being created |
size | desirable size of NanoObject being created |
|
inline |
|
inline |
|
inlineoverridevirtual |
Draws nano object Engine canvas
Implements NanoEngineObject< T >.
Reimplemented in NanoObjectList< T >, NanoSprite< T >, and NanoSprite< GraphicsEngine::TilerT >.
|
inline |
|
inline |
Returns rectangle area, occupied by the NanoObject
|
inline |
Returns height of NanoObject
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Marks nano object location for refreshing on the new frame
Implements NanoEngineObject< T >.
Reimplemented in NanoObjectList< T >.
|
inline |
Resizes NanoObject and marks screen area for refresh.
size | new size of NanoObject |
|
inline |
|
inline |
Sets position of NanoObject, doesn't mark for update content on the screen
|
inline |
Sets new size of NanoObject. Doesn't update screen content
size | new size of NanoObject |
|
inline |
|
inlineoverridevirtual |
|
inline |
Returns width of NanoObject
|
inline |
|
inline |
|
protected |