FabGL
ESP32 VGA Controller and Graphics Library
fabui.h File Reference

This file contains all classes related to FabGL Graphical User Interface. More...

#include <stdint.h>
#include <stddef.h>
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/timers.h"
#include "fabglconf.h"
#include "fabutils.h"
#include "vgacontroller.h"
#include "canvas.h"
Include dependency graph for fabui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fabgl::uiAnchors
 Contains anchors enable/disable switches. More...
 
class  fabgl::uiApp
 Represents the whole application base class. More...
 
struct  fabgl::uiAppProps
 Properties of the application. More...
 
class  fabgl::uiButton
 Represents a button control. A button can have text and optionally a bitmap. More...
 
struct  fabgl::uiButtonStyle
 Contains the button style. More...
 
class  fabgl::uiCheckBox
 Represents a checkbox or a radiobutton. More...
 
struct  fabgl::uiCheckBoxStyle
 Contains the checkbox style. More...
 
class  fabgl::uiComboBox
 This is a combination of a listbox and a single-line editable textbox. More...
 
struct  fabgl::uiComboBoxProps
 Properties of the combobox. More...
 
struct  fabgl::uiComboBoxStyle
 Contains the listbox style. More...
 
class  fabgl::uiControl
 This is the base class for all controls. A control can have focus and is not activable. More...
 
class  fabgl::uiCustomListBox
 Shows generic a list of selectable items. More...
 
class  fabgl::uiEvtHandler
 Base class of all UI elements that can receive events. More...
 
class  fabgl::uiFileBrowser
 Shows and navigates Virtual Filesystem content. More...
 
class  fabgl::uiFrame
 A frame is a window with a title bar, maximize/minimize/close buttons and that is resizeable or moveable. More...
 
struct  fabgl::uiFrameProps
 Properties of the frame. More...
 
struct  fabgl::uiFrameStyle
 
class  fabgl::uiImage
 Image control to display a static bitmap. More...
 
struct  fabgl::uiImageStyle
 Contains the image style. More...
 
struct  fabgl::uiKeyEventInfo
 Contains details about the key event. More...
 
class  fabgl::uiLabel
 A label is a static text UI element. More...
 
struct  fabgl::uiLabelStyle
 Contains the label style. More...
 
class  fabgl::uiListBox
 Shows a list of selectable string items. More...
 
struct  fabgl::uiListBoxStyle
 Contains the listbox style. More...
 
struct  fabgl::uiMouseEventInfo
 Contains details about the mouse event. More...
 
class  fabgl::uiObject
 Base class of all UI elements like windows and controls. More...
 
struct  fabgl::uiObjectType
 Specifies the object type. More...
 
class  fabgl::uiPaintBox
 A paintbox control allows applications to perform custom drawings providing uiPaintBox.onPaint delegate. A paintbox can have horizontal and vertical scrollbars. More...
 
struct  fabgl::uiPaintBoxStyle
 Contains the paintbox style. More...
 
class  fabgl::uiPanel
 A panel is used to contain and to group some controls. More...
 
struct  fabgl::uiPanelStyle
 Contains the panel style. More...
 
class  fabgl::uiScrollableControl
 A scrollable control is a control with optionally vertical and/or horizontal scrollbars. More...
 
struct  fabgl::uiScrollableControlStyle
 Contains the scrollable control style. More...
 
class  fabgl::uiSlider
 A slider or track bar is a graphical control element with which a user may set a value by moving an indicator. More...
 
struct  fabgl::uiSliderStyle
 Contains the slider style. More...
 
class  fabgl::uiTextEdit
 Represents a text edit control. More...
 
struct  fabgl::uiTextEditProps
 Properties of the text edit. More...
 
struct  fabgl::uiTextEditStyle
 Sets or gets text edit style. More...
 
class  fabgl::uiWindow
 Base class for all visible UI elements (Frames and Controls) More...
 
struct  fabgl::uiWindowProps
 Contains some window options. More...
 
struct  fabgl::uiWindowState
 Specifies current window state. More...
 
struct  fabgl::uiWindowStyle
 Contains the window style. More...
 

Enumerations

enum  fabgl::uiButtonKind { fabgl::uiButtonKind::Button, fabgl::uiButtonKind::Switch }
 Specifies the button kind. More...
 
enum  fabgl::uiCheckBoxKind : int8_t { fabgl::uiCheckBoxKind::CheckBox, fabgl::uiCheckBoxKind::RadioButton }
 Specifies the combobox behaviour. More...
 
enum  fabgl::uiMessageBoxIcon {
  fabgl::uiMessageBoxIcon::None, fabgl::uiMessageBoxIcon::Question, fabgl::uiMessageBoxIcon::Info, fabgl::uiMessageBoxIcon::Warning,
  fabgl::uiMessageBoxIcon::Error
}
 Icon displayed by the uiApp.messageBox() method. More...
 
enum  fabgl::uiMessageBoxResult { fabgl::uiMessageBoxResult::Cancel, fabgl::uiMessageBoxResult::Button1, fabgl::uiMessageBoxResult::Button2, fabgl::uiMessageBoxResult::Button3 }
 Return values from uiApp.messageBox() method. More...
 
enum  fabgl::uiOrientation { fabgl::uiOrientation::Vertical, fabgl::uiOrientation::Horizontal }
 Item direction/orientation. More...
 
enum  fabgl::uiOrigin { fabgl::uiOrigin::Screen, fabgl::uiOrigin::Parent, fabgl::uiOrigin::Window }
 Specifies window rectangle origin. More...
 

Detailed Description

This file contains all classes related to FabGL Graphical User Interface.