FabGL
ESP32 VGA Controller and Graphics Library
fabgl::uiTextEditStyle Struct Reference

Sets or gets text edit style. More...

#include <fabui.h>

Collaboration diagram for fabgl::uiTextEditStyle:

Public Attributes

RGB backgroundColor = RGB(2, 2, 2)
 
RGB focusedBackgroundColor = RGB(3, 3, 3)
 
RGB mouseOverBackgroundColor = RGB(2, 2, 3)
 
RGB textColor = RGB(0, 0, 0)
 
FontInfo const * textFont = Canvas.getPresetFontInfoFromHeight(14, false)
 

Detailed Description

Sets or gets text edit style.

Returns
L-value representing frame style (colors, font, etc...)

Member Data Documentation

◆ backgroundColor

RGB fabgl::uiTextEditStyle::backgroundColor = RGB(2, 2, 2)

Background color

◆ focusedBackgroundColor

RGB fabgl::uiTextEditStyle::focusedBackgroundColor = RGB(3, 3, 3)

Background color when focused

◆ mouseOverBackgroundColor

RGB fabgl::uiTextEditStyle::mouseOverBackgroundColor = RGB(2, 2, 3)

Background color when mouse is over

◆ textColor

RGB fabgl::uiTextEditStyle::textColor = RGB(0, 0, 0)

Text color

◆ textFont

FontInfo const* fabgl::uiTextEditStyle::textFont = Canvas.getPresetFontInfoFromHeight(14, false)

Text font


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