CheeseBoard
A library for use with the CheeseBoard Cheddar platform
Public Member Functions | List of all members
GfxItem Class Referenceabstract

#include <GfxItem.h>

Inheritance diagram for GfxItem:
Inheritance graph

Public Member Functions

virtual void draw (uint16_t xOffset=0, uint16_t yOffset=0)=0
 
virtual uint16_t width ()=0
 
virtual uint16_t height ()=0
 

Detailed Description

Base class for other Gfx objects.

Definition at line 5 of file GfxItem.h.

Member Function Documentation

◆ draw()

virtual void GfxItem::draw ( uint16_t  xOffset = 0,
uint16_t  yOffset = 0 
)
pure virtual

Draw the object on the display (don't send buffer).

Implemented in GfxStringListBox, GfxSSIDListBox, GfxTextBox2, GfxNetInfo, GfxSignalStrength, and GfxTextBox.

Here is the caller graph for this function:

◆ height()

virtual uint16_t GfxItem::height ( )
pure virtual

Get object height.

Returns
Object height in pixels.

Implemented in GfxStringListBox, GfxSSIDListBox, GfxTextBox2, GfxNetInfo, GfxSignalStrength, and GfxTextBox.

◆ width()

virtual uint16_t GfxItem::width ( )
pure virtual

Get object width.

Returns
Object width in pixels.

Implemented in GfxStringListBox, GfxSSIDListBox, GfxTextBox2, GfxNetInfo, GfxSignalStrength, and GfxTextBox.

Here is the caller graph for this function:

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