Widgets.h file
Namespaces
- namespace Jazz2
- Root namespace of Jazz² Resurrection.
- namespace Jazz2::UI
- User interface and menus.
- namespace Jazz2::UI::Windows
- Toolkit of windows, panels and controls, compiled only if
WITH_UI_WINDOWS.
Classes
- class Jazz2::UI::Windows::Label
- Text.
- class Jazz2::UI::Windows::WrappedLabel
- Text on as many lines as it needs in the width it gets.
- class Jazz2::UI::Windows::Button
- Button with a text, an icon or both.
- class Jazz2::UI::Windows::CheckBox
- Check box with a text.
- class Jazz2::UI::Windows::Separator
- Line between parts of a panel.
- class Jazz2::UI::Windows::ScrollView
- Shows a part of its content and lets the rest be scrolled to.
- class Jazz2::UI::Windows::Splitter
- Edge of a panel that is dragged to resize it.
- class Jazz2::UI::Windows::DragBar
- Row that moves what it belongs to when dragged, such as the title of a window.
- class Jazz2::UI::Windows::Form
- Rows of a label and what it's about, with the labels in a column as wide as the longest of them.
- class Jazz2::UI::Windows::FormRow
- Row of a Form.
- class Jazz2::UI::Windows::TextBox
- Single line of text that can be edited.
- class Jazz2::UI::Windows::NumberBox
- Number that can be dragged or typed.
- struct Jazz2::UI::Windows::ResizeEdges
- Edges a window is resized by, for the windows that can be.
Enums
-
enum class ButtonStyle : std::
uint8_t { Normal, Flat, Accent } - How a button is drawn.
Functions
- auto LerpColor(const Colorf& a, const Colorf& b, float t) -> Colorf
- Returns a color between two others, 0 for the first and 1 for the second.