tcMenu
Loading...
Searching...
No Matches
tcgfx::MenuBorder Struct Reference

#include <DrawingPrimitives.h>

Public Member Functions

 MenuBorder (uint8_t equalSides, BorderType type=BORD_OUTLINE_SQUARE)
 MenuBorder (uint8_t top_, uint8_t right_, uint8_t bottom_, uint8_t left_, BorderType type=BORD_OUTLINE_SQUARE)
BorderType getBorderType () const
bool areAllBordersEqual () const
bool isBorderOff () const
uint16_t getBoxDim (uint16_t size) const

Public Attributes

uint16_t top:3
uint16_t left:3
uint16_t bottom:3
uint16_t right:3
uint16_t borderType:3

Detailed Description

Used to represent a border in terms of top, right, bottom and left widths. The border type is a hint and on some hardware it may not be possible to apply the border in the way requested.


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