FabGL
ESP32 Display Controller and Graphics Library

◆ begin() [2/2]

void begin ( char const *  modeline = nullptr,
int  viewPortWidth = -1,
int  viewPortHeight = -1,
int  displayColors = 16 
)

Initializes InputBox from VGA modeline, using a VGA16Controller.

Parameters
modelineOptional modeline (uses 640x480 resolution if not specified)
viewPortWidthViewport width (-1 = automatic)
viewPortHeightViewport height (-1 = automatic)
displayColorsNumber of colors for the display (2, 4, 8 or 16)

Definition at line 73 of file inputbox.cpp.