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

Contains the window style. More...

#include <fabui.h>

Collaboration diagram for fabgl::uiWindowStyle:

Public Attributes

RGB activeBorderColor = RGB(2, 2, 3)
 
RGB borderColor = RGB(2, 2, 2)
 
uint8_t borderSize = 3
 
CursorName defaultCursor = CursorName::CursorPointerSimpleReduced
 
RGB focusedBorderColor = RGB(0, 0, 3)
 
uint8_t focusedBorderSize = 1
 

Detailed Description

Contains the window style.

Member Data Documentation

◆ activeBorderColor

RGB fabgl::uiWindowStyle::activeBorderColor = RGB(2, 2, 3)

Border color when active

◆ borderColor

RGB fabgl::uiWindowStyle::borderColor = RGB(2, 2, 2)

Border color

◆ borderSize

uint8_t fabgl::uiWindowStyle::borderSize = 3

Border size in pixels. This determines also the resize grips area.

◆ defaultCursor

CursorName fabgl::uiWindowStyle::defaultCursor = CursorName::CursorPointerSimpleReduced

Default window mouse cursor

◆ focusedBorderColor

RGB fabgl::uiWindowStyle::focusedBorderColor = RGB(0, 0, 3)

Border color when focused

◆ focusedBorderSize

uint8_t fabgl::uiWindowStyle::focusedBorderSize = 1

Border size when focused


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