Gorgon Game Engine
Gorgon::Widgets Namespace Reference

Namespaces

 internal
 

Classes

class  Button
 
class  Checkbox
 
class  Composer
 This object allows its users to compose widgets using other widgets. More...
 
class  DropdownBase
 This is the dropdown base for all dropdown lists, including ones that are not for item selection (e.g., DropdownChecklist). More...
 
class  Generator
 Generators create templates for widgets. More...
 
class  Inputbox
 This class allows users to enter any value to an inputbox. More...
 
class  Label
 
class  Layerbox
 
class  ListBase
 This is the abstract base of listboxes. More...
 
class  ListboxBase
 This is the base class for all listbox like widgets. More...
 
class  ListboxWidgetBase
 
class  ListItem
 This widget is designed to be used by Listbox, Table, Grid and Treeview. More...
 
class  MultiCollectionbox
 This is a simple multi select collectionbox. More...
 
class  MultiListbox
 This is a simple multi select listbox. More...
 
class  Panel
 
class  PresetRegistry
 This registry contains preset templates. More...
 
class  Progressor
 This widget displays a progress bar to track progress of an on going process. More...
 
class  RadioButtons
 Allows the use of radio buttons working together. More...
 
class  Registry
 This class stores templates for elements. More...
 
class  Scrollbar
 This widget is a scrollbar. More...
 
class  SimpleCollectionbox
 This is a simple collectionbox. More...
 
class  SimpleGenerator
 This class generates very simple templates. More...
 
class  SimpleListbox
 This is a simple listbox. More...
 
class  SingleSelectionDropdown
 This is the dropdown base for single item selection dropdown lists. More...
 
class  SliderBase
 This is an internal basis for slider. More...
 

Typedefs

template<class T_ , void(*)(const T_ &, ListItem &) TW_ = internal::SetTextUsingFrom<T_, ListItem>>
using DropdownCollection = SingleSelectionDropdown< T_, TW_, SimpleCollectionbox< T_, TW_ > >
 
template<class T_ , void(*)(const T_ &, ListItem &) TW_ = internal::SetTextUsingFrom<T_, ListItem>>
using DropdownList = SingleSelectionDropdown< T_, TW_, SimpleListbox< T_, TW_ > >
 
using HScrollbar = Scrollbar< int, FloatDivider< int >, FloatToValue< int >, Gorgon::NumericProperty, Registry::Scrollbar_Horizontal >
 
template<class T_ >
using HScroller = Scrollbar< T_, FloatDivider< T_ >, FloatToValue< T_ >, Gorgon::NumericProperty, Registry::Scrollbar_Horizontal >
 
using Progressbar = Progressor< int >
 This widget displays the progress. More...
 
using Textbox = Inputbox< std::string, UI::ConversionValidator< std::string >, TextualProperty >
 An inputbox variant designed to edit text. More...
 
template<class V_ = UI::ConversionValidator<std::string>>
using TextInputbox = Inputbox< std::string, V_, TextualProperty >
 This inputbox variant is designed to contain text. More...
 
using VScrollbar = Scrollbar< int, FloatDivider< int >, FloatToValue< int >, Gorgon::NumericProperty, Registry::Scrollbar_Vertical >
 
template<class T_ >
using VScroller = Scrollbar< T_, FloatDivider< T_ >, FloatToValue< T_ >, Gorgon::NumericProperty, Registry::Scrollbar_Vertical >
 

Typedef Documentation

◆ DropdownCollection

◆ DropdownList

using DropdownList = SingleSelectionDropdown<T_, TW_, SimpleListbox<T_, TW_> >

◆ HScrollbar

using HScrollbar = Scrollbar<int, FloatDivider<int>, FloatToValue<int>, Gorgon::NumericProperty, Registry::Scrollbar_Horizontal>

◆ HScroller

using HScroller = Scrollbar<T_, FloatDivider<T_>, FloatToValue<T_>, Gorgon::NumericProperty, Registry::Scrollbar_Horizontal>

◆ Progressbar

using Progressbar = Progressor<int>

This widget displays the progress.

It can be used as an integer variable through NumericProperty<int> with operators like =, +=, ++, –. Also this widget can be implicitly casted to integer. If you need a type other than int, you may use Progressor<T_> for any type, even non-numeric.

◆ Textbox

using Textbox = Inputbox<std::string, UI::ConversionValidator<std::string>, TextualProperty>

An inputbox variant designed to edit text.

◆ TextInputbox

using TextInputbox = Inputbox<std::string, V_, TextualProperty>

This inputbox variant is designed to contain text.

Unlike regular Textbox, this variant allows overriding the validator

◆ VScrollbar

using VScrollbar = Scrollbar<int, FloatDivider<int>, FloatToValue<int>, Gorgon::NumericProperty, Registry::Scrollbar_Vertical>

◆ VScroller

using VScroller = Scrollbar<T_, FloatDivider<T_>, FloatToValue<T_>, Gorgon::NumericProperty, Registry::Scrollbar_Vertical>