FabGL
ESP32 VGA Controller and Graphics Library
|
Classes | |
struct | AltVirtualKeyDef |
Associates a virtualkey and various shift states (ctrl, alt, etc..) to another virtualkey. More... | |
struct | Bitmap |
Represents an image with 64 colors image and transparency. More... | |
struct | BitmapDrawingInfo |
class | CanvasClass |
A class with a set of drawing methods. More... | |
class | CollisionDetector |
A class to detect sprites collisions. More... | |
struct | EmuState |
struct | FontInfo |
struct | Glyph |
Represents a glyph position, size and binary data. More... | |
union | GlyphOptions |
Specifies various glyph painting options. More... | |
struct | GlyphsBuffer |
struct | GlyphsBufferRenderInfo |
class | KeyboardClass |
The PS2 Keyboard controller class. More... | |
struct | KeyboardLayout |
All in one structure to fully represent a keyboard layout. More... | |
struct | PaintOptions |
Specifies general paint options. More... | |
struct | PaintState |
struct | Path |
struct | Point |
Represents the coordinate of a point. More... | |
struct | Primitive |
class | PS2ControllerClass |
The PS2 device controller class. More... | |
class | QuadTree |
struct | QuadTreeObject |
struct | RawData |
Represents a region of raw screen buffer. More... | |
struct | Rect |
Represents a rectangle. More... | |
struct | RGB |
Represents an RGB color. More... | |
class | Scene |
Scene is an abstract class useful to encapsulate functionalities of a scene (sprites, collision detector and updates). More... | |
struct | Size |
Represents a bidimensional size. More... | |
struct | Sprite |
Represents a sprite. More... | |
class | SquareWaveGeneratorClass |
This is a square wave generator that uses APLL internal Audio PLL clock. More... | |
class | TerminalClass |
An ANSI-VT100 compatible display terminal. More... | |
struct | TerminalCursorState |
struct | Timings |
Specifies the VGA timings. This is a modeline decoded. More... | |
class | VGAControllerClass |
Represents the VGA controller. More... | |
struct | VirtualKeyDef |
Associates scancode to virtualkey. More... | |
Typedefs | |
typedef void(* | CollisionDetectionCallback) (void *callbackObj, Sprite *spriteA, Sprite *spriteB, Point collisionPoint) |
Functions | |
void | replace_placeholders (uint32_t prg_start, int size, gpio_num_t clkGPIO, gpio_num_t datGPIO) |
void | collisionDetectionCallback (void *callbackObj, Sprite *spriteA, Sprite *spriteB, Point collisionPoint) |
template<typename T > | |
const T & | max (const T &a, const T &b) |
template<typename T > | |
const T & | min (const T &a, const T &b) |
template<typename T > | |
const T & | clamp (const T &v, const T &lo, const T &hi) |
template<typename T > | |
const T & | wrap (const T &v, const T &lo, const T &hi) |
template<typename T > | |
void | swap (T &v1, T &v2) |
bool | calcParity (uint8_t v) |
bool | operator== (RGB const &lhs, RGB const &rhs) |
bool | operator!= (RGB const &lhs, RGB const &rhs) |
uint8_t | glyphMapItem_getIndex (uint32_t const volatile *mapItem) |
Color | glyphMapItem_getBGColor (uint32_t const volatile *mapItem) |
Color | glyphMapItem_getFGColor (uint32_t const volatile *mapItem) |
GlyphOptions | glyphMapItem_getOptions (uint32_t const volatile *mapItem) |
void | glyphMapItem_setOptions (uint32_t volatile *mapItem, GlyphOptions const &options) |
Variables | |
const KeyboardLayout | USLayout |
Predefined US layout. Often used as inherited layout for other layouts. More... | |
const KeyboardLayout | UKLayout |
UK keyboard layout. More... | |
const KeyboardLayout | GermanLayout |
German keyboard layout. More... | |
const KeyboardLayout | ItalianLayout |
Italian keyboard layout. More... | |
const int16_t | REPEATRATES [32] |
const ulp_insn_t | ULPCode [] |
const char | TERMID [] = "?64;1;6;22c" |
const char | CSI_7BIT [] = "\e[" |
const char | CSI_8BIT [] = "\x9B" |
const char | DCS_7BIT [] = "\eP" |
const char | DCS_8BIT [] = "\x90" |
const char | SS2_7BIT [] = "\eN" |
const char | SS2_8BIT [] = "\x8E" |
const char | SS3_7BIT [] = "\eO" |
const char | SS3_8BIT [] = "\x8F" |
const char | ST_7BIT [] = "\e\\" |
const char | ST_8BIT [] = "\x9C" |
const char | OSC_7BIT [] = "\e]" |
const char | OSC_8BIT [] = "\x9D" |
const char * | CTRLCHAR_TO_STR [] |
RGB | COLOR2RGB [16] |
typedef void(* fabgl::CollisionDetectionCallback) (void *callbackObj, Sprite *spriteA, Sprite *spriteB, Point collisionPoint) |
enum fabgl::Color |
This enum defines named colors.
First eight full implement all available colors when 1 bit per channel mode is used (having 8 colors).
|
strong |
|
strong |
enum fabgl::PS2Device |
Represents the type of device attached to PS/2 port.
enum fabgl::ScreenBlock |
Represents one of the four blocks of horizontal or vertical line.
enum fabgl::VirtualKey |
Represents each possible real or derived (SHIFT + real) key.
|
inline |
const T& fabgl::clamp | ( | const T & | v, |
const T & | lo, | ||
const T & | hi | ||
) |
void fabgl::collisionDetectionCallback | ( | void * | callbackObj, |
Sprite * | spriteA, | ||
Sprite * | spriteB, | ||
Point | collisionPoint | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const T& fabgl::max | ( | const T & | a, |
const T & | b | ||
) |
const T& fabgl::min | ( | const T & | a, |
const T & | b | ||
) |
void fabgl::replace_placeholders | ( | uint32_t | prg_start, |
int | size, | ||
gpio_num_t | clkGPIO, | ||
gpio_num_t | datGPIO | ||
) |
void fabgl::swap | ( | T & | v1, |
T & | v2 | ||
) |
const T& fabgl::wrap | ( | const T & | v, |
const T & | lo, | ||
const T & | hi | ||
) |
RGB fabgl::COLOR2RGB[16] |
const char fabgl::CSI_7BIT[] = "\e[" |
const char fabgl::CSI_8BIT[] = "\x9B" |
const char* fabgl::CTRLCHAR_TO_STR[] |
const char fabgl::DCS_7BIT[] = "\eP" |
const char fabgl::DCS_8BIT[] = "\x90" |
const KeyboardLayout fabgl::GermanLayout |
German keyboard layout.
const KeyboardLayout fabgl::ItalianLayout |
Italian keyboard layout.
const char fabgl::OSC_7BIT[] = "\e]" |
const char fabgl::OSC_8BIT[] = "\x9D" |
const int16_t fabgl::REPEATRATES[32] |
const char fabgl::SS2_7BIT[] = "\eN" |
const char fabgl::SS2_8BIT[] = "\x8E" |
const char fabgl::SS3_7BIT[] = "\eO" |
const char fabgl::SS3_8BIT[] = "\x8F" |
const char fabgl::ST_7BIT[] = "\e\\" |
const char fabgl::ST_8BIT[] = "\x9C" |
const char fabgl::TERMID[] = "?64;1;6;22c" |
const KeyboardLayout fabgl::UKLayout |
UK keyboard layout.
const ulp_insn_t fabgl::ULPCode[] |
const KeyboardLayout fabgl::USLayout |
Predefined US layout. Often used as inherited layout for other layouts.