Castor3D 0.16.0
Multiplatform 3D engine
Namespaces | Concepts | Typedefs | Enumerations | Functions
GuiModule.hpp File Reference

Namespaces

namespace  castor3d
 

Concepts

concept  castor3d::ControlFlagTypeT
 

Typedefs

using castor3d::ControlID = size_t
 
using castor3d::ControlFlagType = uint64_t
 
using castor3d::ControlFlags = castor::FlagCombination< ControlFlag >
 
using castor3d::ComboBoxFlags = castor::FlagCombination< ComboBoxFlag >
 
using castor3d::EditFlags = castor::FlagCombination< EditFlag >
 
using castor3d::SliderFlags = castor::FlagCombination< SliderFlag >
 
using castor3d::StaticFlags = castor::FlagCombination< StaticFlag >
 
using castor3d::ScrollBarFlags = castor::FlagCombination< ScrollBarFlag >
 
using castor3d::ProgressFlags = castor::FlagCombination< ProgressFlag >
 
using castor3d::OnControlEventFunction = castor::Function< void() >
 
using castor3d::OnControlEvent = castor::SignalT< OnControlEventFunction >
 
using castor3d::OnControlEventConnection = OnControlEvent::connection
 
using castor3d::OnButtonEventFunction = castor::Function< void() >
 
using castor3d::OnButtonEvent = castor::SignalT< OnButtonEventFunction >
 
using castor3d::OnButtonEventConnection = OnButtonEvent::connection
 
using castor3d::OnComboEventFunction = castor::Function< void( int32_t ) >
 
using castor3d::OnComboEvent = castor::SignalT< OnComboEventFunction >
 
using castor3d::OnComboEventConnection = OnComboEvent::connection
 
using castor3d::OnEditEventFunction = castor::Function< void( castor::U32String const & ) >
 
using castor3d::OnEditEvent = castor::SignalT< OnEditEventFunction >
 
using castor3d::OnEditEventConnection = OnEditEvent::connection
 
using castor3d::OnExpandablePanelEventFunction = castor::Function< void() >
 
using castor3d::OnExpandablePanelEvent = castor::SignalT< OnExpandablePanelEventFunction >
 
using castor3d::OnExpandablePanelEventConnection = OnExpandablePanelEvent::connection
 
using castor3d::OnListEventFunction = castor::Function< void( int32_t ) >
 
using castor3d::OnListEvent = castor::SignalT< OnListEventFunction >
 
using castor3d::OnListEventConnection = OnListEvent::connection
 
using castor3d::OnSliderEventFunction = castor::Function< void( int32_t ) >
 
using castor3d::OnSliderEvent = castor::SignalT< OnSliderEventFunction >
 
using castor3d::OnSliderEventConnection = OnSliderEvent::connection
 
using castor3d::OnScrollBarEventFunction = castor::Function< void( int32_t ) >
 
using castor3d::OnScrollBarEvent = castor::SignalT< OnScrollBarEventFunction >
 
using castor3d::OnScrollBarEventConnection = OnScrollBarEvent::connection
 
using castor3d::OnControlChangedFunction = castor::Function< void( Control const & ) >
 
using castor3d::OnControlChanged = castor::SignalT< OnControlChangedFunction >
 
using castor3d::OnControlChangedConnection = OnControlChanged::connection
 
using castor3d::ControlArray = castor::Vector< ControlRPtr >
 

Enumerations

enum class  castor3d::ControlType : uint8_t {
  castor3d::eNone = 0 , castor3d::ePanel = 1 , castor3d::eStatic = 2 , castor3d::eEdit = 3 ,
  castor3d::eSlider = 4 , castor3d::eComboBox = 5 , castor3d::eListBox = 6 , castor3d::eButton = 7 ,
  castor3d::eExpandablePanel = 8 , castor3d::eFrame = 9 , castor3d::eScrollBar = 10 , castor3d::eProgress = 11 ,
  castor3d::eCount , castor3d::eMin = eNone
}
 Enumeration of supported control types. More...
 
enum class  castor3d::ControlEvent : uint8_t { castor3d::eDrag = 0 , castor3d::eDrop = 1 , castor3d::eCount , castor3d::eMin = eDrag }
 Enumeration of supported control events. More...
 
enum class  castor3d::ComboBoxEvent : uint8_t { castor3d::eSelected = 0 , castor3d::eCount , castor3d::eMin = eSelected }
 Enumeration of supported combobox events. More...
 
enum class  castor3d::EditEvent : uint8_t { castor3d::eUpdated = 0 , castor3d::eReturn = 1 , castor3d::eCount , castor3d::eMin = eUpdated }
 Enumeration of supported edit events. More...
 
enum class  castor3d::ExpandablePanelEvent : uint8_t { castor3d::eExpand = 0 , castor3d::eRetract = 1 , castor3d::eCount , castor3d::eMin = eExpand }
 Enumeration of supported expandable panel events. More...
 
enum class  castor3d::ListBoxEvent : uint8_t { castor3d::eSelected = 0 , castor3d::eCount , castor3d::eMin = eSelected }
 Enumeration of supported listbox events. More...
 
enum class  castor3d::ButtonEvent : uint8_t { castor3d::eClicked = 0 , castor3d::eCount , castor3d::eMin = eClicked }
 Enumeration of supported button events. More...
 
enum class  castor3d::SliderEvent : uint8_t { castor3d::eThumbRelease = 0 , castor3d::eThumbTrack = 1 , castor3d::eCount , castor3d::eMin = eThumbRelease }
 Enumeration of supported slider events. More...
 
enum class  castor3d::ScrollBarEvent : uint8_t { castor3d::eThumbRelease = 0 , castor3d::eThumbTrack = 1 , castor3d::eCount , castor3d::eMin = eThumbRelease }
 Enumeration of supported combobox events. More...
 
enum class  castor3d::ControlFlag : ControlFlagType { castor3d::eAlwaysOnTop = 0x0000000000000001 , castor3d::eMovable = 0x0000000000000002 , castor3d::eResizable = 0x0000000000000004 }
 Listbox control supported flags. More...
 
enum class  castor3d::ComboBoxFlag : ControlFlagType { castor3d::eReadOnly = 0x0000000000000100 }
 Combo control supported flags. More...
 
enum class  castor3d::EditFlag : ControlFlagType { castor3d::eProcessEnter = 0x0000000000001000 , castor3d::eMultiline = 0x0000000000002000 , castor3d::eProcessTab = 0x0000000000004000 , castor3d::eWordWrap = 0x0000000000008000 }
 Edit control supported flags. More...
 
enum class  castor3d::SliderFlag : ControlFlagType { castor3d::eHorizontal = 0x0000000000100000 , castor3d::eVertical = 0x0000000000200000 }
 Slider control supported flags. More...
 
enum class  castor3d::StaticFlag : ControlFlagType {
  castor3d::eHAlignLeft = 0x0000000001000000 , castor3d::eHAlignCenter = 0x0000000002000000 , castor3d::eHAlignRight = 0x0000000004000000 , castor3d::eVAlignTop = 0x0000000010000000 ,
  castor3d::eVAlignCenter = 0x0000000020000000 , castor3d::eVAlignBottom = 0x0000000040000000
}
 Static control supported flags. More...
 
enum class  castor3d::ScrollBarFlag : ControlFlagType { castor3d::eHorizontal = 0x0000000100000000 , castor3d::eVertical = 0x0000000200000000 }
 ScrollBar control supported flags. More...
 
enum class  castor3d::ProgressFlag : ControlFlagType {
  castor3d::eLeftRight = 0x0000001000000000 , castor3d::eRightLeft = 0x0000002000000000 , castor3d::eTopBottom = 0x0000004000000000 , castor3d::eBottomTop = 0x0000008000000000 ,
  castor3d::eHasTitle = 0x0000010000000000
}
 Progress control supported flags. More...
 
enum class  castor3d::GuiEvent : uint8_t { castor3d::eShowMessageBox = 0 , castor3d::eResizeParent = 1 , castor3d::eCount , castor3d::eMin = eShowMessageBox }
 Enumeration of supported GUI events in ControlInfos. More...
 

Functions

 castor3d::CU_DeclareSmartPtr (castor3d, Layout, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, Spacer, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, GuiContext, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ControlsManager, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, Control, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, LayoutControl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ButtonCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ComboBoxCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, EditCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ExpandablePanelCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, FrameCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ListBoxCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, PanelCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ProgressCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ScrollableCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ScrollBarCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, SliderCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, StaticCtrl, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, StylesHolder, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, Theme, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ControlStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ButtonStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ComboBoxStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, EditStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ExpandablePanelStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, FrameStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ListBoxStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, PanelStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ProgressStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ScrollableStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, ScrollBarStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, SliderStyle, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, StaticStyle, C3D_API)
 
void castor3d::setMaterialColour (Pass &pass, castor::HdrRgbColour const &colour)
 
castor::HdrRgbColour const & castor3d::getMaterialColour (Pass const &pass)
 
MaterialObs castor3d::createMaterial (Engine &engine, castor::String const &name, castor::HdrRgbColour const &colour)