Skip to content

File include/brisk/gui/GUI.hpp


Widget class

Widget

Stylesheet class

Stylesheet

Rules class

Rules

EventDelegate class

EventDelegate

Painter class

Painter

Builder class

Builder

Depends class (Tag::Depends)

Depends

SingleBuilder class

SingleBuilder

IndexedBuilder class

IndexedBuilder

ListBuilder class

template <typename T> ListBuilder

Attributes class

Attributes

ArgumentAttributes class

ArgumentAttributes

MatchAny class

MatchAny

MatchNth class

MatchNth

MatchVisible class

MatchVisible

MatchId class

MatchId

MatchRole class

MatchRole

MatchNone class

MatchNone

EventDelegate class

EventDelegate

Construction class

Construction

ResolvedType class (Internal::ResolvedType)

template <typename T> ResolvedType

Resolve class (Internal::Resolve)

template <typename InputT> Resolve

WidgetProps class (Internal::WidgetProps)

WidgetProps

LayoutEngine class (Internal::LayoutEngine)

LayoutEngine

WidgetArgumentAccept class (Internal::WidgetArgumentAccept)

WidgetArgumentAccept

PropFieldType class (Internal::PropFieldType)

template <typename T, int subfield = -1> PropFieldType

template <typename T> PropFieldType

PropFieldStorageType class (Internal::PropFieldStorageType)

template <typename T, bool Transition, bool Resolvable>
PropFieldStorageType

template <typename T> PropFieldStorageType

template <typename T> PropFieldStorageType

GUIPropertyCompound class

template <
    size_t index_, typename Type_, PropFlags flags_,
    PropFieldStorageType<Type_, flags_> Widget::*field,
    typename... Properties>
GUIPropertyCompound

GUIProperty class

template <size_t index_, typename T, PropFlags flags_,
          PropFieldStorageType<T, flags_> Widget::*field_,
          int subfield_ = -1>
GUIProperty

PropArg class (Tag::PropArg)

template <typename PropertyType> PropArg

ExtraTypes class (Tag::PropArg::ExtraTypes)

ExtraTypes

PropArg class (Tag::PropArg)

template <size_t index, typename T, PropFlags flags,
          PropFieldStorageType<T, flags> Widget::*field,
          int subfield>
PropArg

ExtraTypes class (Tag::PropArg::ExtraTypes)

ExtraTypes

PropArg class (Tag::PropArg)

template <size_t index, typename... Args, PropFlags flags,
          Trigger<Args...> Widget::*field, int subfield>
PropArg

template <
    size_t index_, typename Type_, PropFlags flags_,
    PropFieldStorageType<Type_, flags_> Widget::*field,
    typename... Properties>
PropArg

ExtraTypes class (Tag::PropArg::ExtraTypes)

ExtraTypes

Widget class

Widget

name function (Widget::name)

std::string name() const

/////////////////////////////////////////////////////////////////////////////

apply function (Widget::apply)

void apply(Builder builder)

/////////////////////////////////////////////////////////////////////////////

BuilderData class (Widget::BuilderData)

BuilderData

Iterator class (Widget::Iterator)

Iterator

/////////////////////////////////////////////////////////////////////////////

IteratorEx class (Widget::IteratorEx)

IteratorEx

State class (Widget::State)

State

isVisible function (Widget::isVisible)

bool isVisible() const noexcept

/////////////////////////////////////////////////////////////////////////////

hasClass function (Widget::hasClass)

bool hasClass(std::string_view className) const

/////////////////////////////////////////////////////////////////////////////

focus function (Widget::focus)

void focus(bool byKeyboard = false)

Sets focus to this widget

blur function (Widget::blur)

void blur()

Clears focus

widgets function (Widget::widgets)

const WidgetPtrs &widgets() const

/////////////////////////////////////////////////////////////////////////////

replace function (Widget::replace)

bool replace(Ptr oldWidget, Ptr newWidget, bool deep)

Replaces oldWidget with newWidget.
Param deep in subtree
Returns false if oldWidget wasn't found

paintTo function (Widget::paintTo)

void paintTo(Canvas &canvas) const

/////////////////////////////////////////////////////////////////////////////

StyleApplying class (Widget::StyleApplying)

StyleApplying

toggleState function (Widget::toggleState)

void toggleState(WidgetState mask, bool on)

////////////////////////////////////////////////////////////////////////////

doPaint function (Widget::doPaint)

void doPaint(Canvas &canvas) const

////////////////////////////////////////////////////////////////////////////

viewportSize function (Widget::viewportSize)

Size viewportSize() const noexcept

////////////////////////////////////////////////////////////////////////////

closeNearestPopup function (Widget::closeNearestPopup)

void closeNearestPopup()

Closes nearest parent with m_isPopup set to true

close function (Widget::close)

virtual void close(Widget *sender)

GUIProperty class (Widget::GUIProperty)

template <size_t index, typename T, PropFlags flags,
          PropFieldStorageType<T, flags> Widget::*field,
          int subfield>
GUIProperty

WithRole class (Tag::WithRole)

template <derived_from<Widget> WidgetType,
          Internal::FixedString Name>
WithRole

Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/