SSD1306 OLED display driver  1.7.1
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
Public Member Functions | Protected Attributes | List of all members
NanoSprite< T, E > Class Template Reference

#include <sprite.h>

Public Member Functions

 NanoSprite (const NanoPoint &pos, const NanoPoint &size, const uint8_t *bitmap)
 
void draw ()
 
void refresh ()
 
void moveTo (const NanoPoint &p)
 
void moveBy (const NanoPoint &p)
 
const NanoPoint bottom () const
 
const NanoPoint top () const
 
const NanoPoint left () const
 
const NanoPoint right () const
 
const NanoPoint center () const
 
void setBitmap (const uint8_t *bitmap)
 
lcdint_t x () const
 
lcdint_t y () const
 

Protected Attributes

const NanoPoint m_size
 

Detailed Description

template<typename T, T & E>
class NanoSprite< T, E >

This is template class for user sprites implementation. It requires NanoEngine type and NanoEngine instance as arguments.

Definition at line 40 of file sprite.h.


The documentation for this class was generated from the following file: