tcMenu
Classes | Typedefs | Functions
DrawingPrimitives.h File Reference

Go to the source code of this file.

Classes

struct  tcgfx::MenuPadding
 
struct  tcgfx::Coord
 
struct  tcgfx::PaletteDrawingData
 
class  tcgfx::DrawableIcon
 

Typedefs

typedef uint16_t tcgfx::color_t
 

Functions

void tcgfx::makePadding (MenuPadding &padding, int top, int right, int bottom, int left)
 

Detailed Description

contains a series of core components needed by all graphical renderers

Typedef Documentation

◆ color_t

typedef uint16_t tcgfx::color_t

Defines a basic color type that can be used with RGB() macro regardless of the color depth.

Function Documentation

◆ makePadding()

void tcgfx::makePadding ( MenuPadding padding,
int  top,
int  right,
int  bottom,
int  left 
)
inline

Populate a padding structure with values using the same form as HTML, top, right, bottom, left.

Parameters
paddingreference type of padding
topthe top value
rightthe right value
bottomthe bottom value
leftthe left value