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

Contains the listbox style. More...

#include <fabui.h>

Collaboration diagram for fabgl::uiListBoxStyle:

Public Attributes

RGB backgroundColor = RGB(2, 2, 2)
 
RGB focusedBackgroundColor = RGB(3, 3, 3)
 
RGB focusedSelectedBackgroundColor = RGB(0, 0, 3)
 
int itemHeight = 16
 
RGB selectedBackgroundColor = RGB(0, 0, 2)
 
RGB selectedTextColor = RGB(3, 3, 3)
 
RGB textColor = RGB(0, 0, 0)
 
FontInfo const * textFont = Canvas.getPresetFontInfoFromHeight(14, false)
 

Detailed Description

Contains the listbox style.

Member Data Documentation

◆ backgroundColor

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

Background color

◆ focusedBackgroundColor

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

Background color when focused

◆ focusedSelectedBackgroundColor

RGB fabgl::uiListBoxStyle::focusedSelectedBackgroundColor = RGB(0, 0, 3)

Background color when selected and focused

◆ itemHeight

int fabgl::uiListBoxStyle::itemHeight = 16

Item height in pixels

◆ selectedBackgroundColor

RGB fabgl::uiListBoxStyle::selectedBackgroundColor = RGB(0, 0, 2)

Background color when selected

◆ selectedTextColor

RGB fabgl::uiListBoxStyle::selectedTextColor = RGB(3, 3, 3)

Text foreground color when selected

◆ textColor

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

Text foreground color

◆ textFont

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

Text font


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