Arctic Engine
Designed to give you control and not take anything away.
arctic::GuiFactory Class Reference

Class for creating GUI panels. More...

#include <gui.h>

Public Member Functions

std::shared_ptr< ButtonMakeButton ()
 Creates a new button panel. More...
 
std::shared_ptr< CheckboxMakeCheckbox ()
 Creates a new checkbox panel. More...
 
std::shared_ptr< EditboxMakeEditbox ()
 Creates a new edit box panel. More...
 
std::shared_ptr< ScrollbarMakeHorizontalScrollbar ()
 Creates a new horizontal scrollbar panel. More...
 
std::shared_ptr< PanelMakePanel ()
 Creates a new panel. More...
 
std::shared_ptr< ProgressbarMakeProgressbar ()
 Creates a new progress bar panel. More...
 
std::shared_ptr< TextMakeText ()
 Creates a new text panel. More...
 
std::shared_ptr< PanelMakeTransparentPanel ()
 Creates a new transparent panel. More...
 
std::shared_ptr< ScrollbarMakeVerticalScrollbar ()
 Creates a new vertical scrollbar panel. More...
 

Public Attributes

std::shared_ptr< GuiThemetheme_
 

Protected Attributes

Ui64 last_tag_ = 0
 

Detailed Description

Class for creating GUI panels.

Member Function Documentation

◆ MakeButton()

std::shared_ptr< Button > arctic::GuiFactory::MakeButton ( )

Creates a new button panel.

Returns
Shared pointer to the created button panel.

◆ MakeCheckbox()

std::shared_ptr< Checkbox > arctic::GuiFactory::MakeCheckbox ( )

Creates a new checkbox panel.

Returns
Shared pointer to the created checkbox panel.

◆ MakeEditbox()

std::shared_ptr< Editbox > arctic::GuiFactory::MakeEditbox ( )

Creates a new edit box panel.

Returns
Shared pointer to the created edit box panel.

◆ MakeHorizontalScrollbar()

std::shared_ptr< Scrollbar > arctic::GuiFactory::MakeHorizontalScrollbar ( )

Creates a new horizontal scrollbar panel.

Returns
Shared pointer to the created scrollbar panel.

◆ MakePanel()

std::shared_ptr< Panel > arctic::GuiFactory::MakePanel ( )

Creates a new panel.

Returns
Shared pointer to the created panel.

◆ MakeProgressbar()

std::shared_ptr< Progressbar > arctic::GuiFactory::MakeProgressbar ( )

Creates a new progress bar panel.

Returns
Shared pointer to the created progress bar panel.

◆ MakeText()

std::shared_ptr< Text > arctic::GuiFactory::MakeText ( )

Creates a new text panel.

Returns
Shared pointer to the created text panel.

◆ MakeTransparentPanel()

std::shared_ptr< Panel > arctic::GuiFactory::MakeTransparentPanel ( )

Creates a new transparent panel.

Returns
Shared pointer to the created panel.

◆ MakeVerticalScrollbar()

std::shared_ptr< Scrollbar > arctic::GuiFactory::MakeVerticalScrollbar ( )

Creates a new vertical scrollbar panel.

Returns
Shared pointer to the created scrollbar panel.

The documentation for this class was generated from the following files: