ComplexWidgets file reference


Types

    Name Description Type
    WidgetMouseStateDescribes the status of the widget after hovering over it with the mouse.enum
    SimpleButtonBasic interactive widget - displays a button that reacts to mouse clicks. It has two forms - it can be displayed as a rectangular area of a given color or as a picture.
    SimpleButton button(window, {{0,0}, {100, 30}}, theme, "Btn", &image);
    ...or...
    SimpleButton button(window, {{0,0}, {100, 30}}, theme, "Btn");
    class
    SimpleInputBasic interactive widget - displays a input control that reacts to mouse clicks and keyboard inputs. It supports keyboard shortcuts like: Ctrl+A, Ctrl+X, Ctrl+C, Ctrl+V, Left and right Arrows, Backspace.
    SimpleInput input(window, {{0,0}, {100, 30}}, theme);
    class
    VScrollerBasic interactive widget - after connecting other widgets to it - it moves them according to specific rules to a different place and takes control over their Render() function. Displays all connected widgets in the specified area and the rest of the widgets are cuts out. Provides a graphical bar which allows to move the attached widgets. It needs to have a connected AreaWidget widget to works (see ConnectArea() function).class
    CustomWidgetThis is the base for quickly creating new widgets. It can also be used as a shell class that emulates other widgets in runtime.class
    BasicItemBase class for ContextMenu items.class
    ContextMenuItemA widget that represents the single option displayed in the "ContextMenu" widget.class
    DividerItemA widget that represents the divider (1px height rectangle) in the "ContextMenu" widget.class
    ContextMenuInteractive widget - displays context menu. This widget is activated with the help of callbacks (responding to right-click) and can be used as an area and limited to individual widgets (see guides).class
    ProgressBarInteractive widget, based on CustomWidget. Displays the progress bar.class
    CheckboxInteractive widget. Displays the checkbox widget.class
    RatioInteractive widget. Displays the ratio widget (after adding an option via AddOption() function).class