FabGL
ESP32 VGA Controller and Graphics Library
|
Contains the button style. More...
#include <fabui.h>
Public Attributes | |
RGB | backgroundColor = RGB(2, 2, 2) |
Bitmap const * | bitmap = nullptr |
uint8_t | bitmapTextSpace = 4 |
RGB | downBackgroundColor = RGB(2, 2, 3) |
Bitmap const * | downBitmap = nullptr |
RGB | mouseDownBackgroundColor = RGB(3, 3, 3) |
RGB | mouseOverBackgroundColor = RGB(2, 2, 3) |
RGB | textColor = RGB(0, 0, 0) |
FontInfo const * | textFont = Canvas.getPresetFontInfoFromHeight(14, false) |
Contains the button style.
uint8_t fabgl::uiButtonStyle::bitmapTextSpace = 4 |
Spaces between image and text
Background color when mouse is down
Background color when mouse is over
FontInfo const* fabgl::uiButtonStyle::textFont = Canvas.getPresetFontInfoFromHeight(14, false) |
Text font