Castor3D 0.15.0
Multiplatform 3D engine
Espaces de nommage | Concepts | Définitions de type | Énumérations | Fonctions
Référence du fichier GuiModule.hpp

Espaces de nommage

namespace  castor3d
 

Concepts

concept  castor3d::ControlFlagTypeT
 

Définitions de type

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 = std::function< void() >
 
using castor3d::OnControlEvent = castor::SignalT< OnControlEventFunction >
 
using castor3d::OnControlEventConnection = OnControlEvent::connection
 
using castor3d::OnButtonEventFunction = std::function< void() >
 
using castor3d::OnButtonEvent = castor::SignalT< OnButtonEventFunction >
 
using castor3d::OnButtonEventConnection = OnButtonEvent::connection
 
using castor3d::OnComboEventFunction = std::function< void(int32_t) >
 
using castor3d::OnComboEvent = castor::SignalT< OnComboEventFunction >
 
using castor3d::OnComboEventConnection = OnComboEvent::connection
 
using castor3d::OnEditEventFunction = std::function< void(castor::U32String const &) >
 
using castor3d::OnEditEvent = castor::SignalT< OnEditEventFunction >
 
using castor3d::OnEditEventConnection = OnEditEvent::connection
 
using castor3d::OnExpandablePanelEventFunction = std::function< void() >
 
using castor3d::OnExpandablePanelEvent = castor::SignalT< OnExpandablePanelEventFunction >
 
using castor3d::OnExpandablePanelEventConnection = OnExpandablePanelEvent::connection
 
using castor3d::OnListEventFunction = std::function< void(int32_t) >
 
using castor3d::OnListEvent = castor::SignalT< OnListEventFunction >
 
using castor3d::OnListEventConnection = OnListEvent::connection
 
using castor3d::OnSliderEventFunction = std::function< void(int32_t) >
 
using castor3d::OnSliderEvent = castor::SignalT< OnSliderEventFunction >
 
using castor3d::OnSliderEventConnection = OnSliderEvent::connection
 
using castor3d::OnScrollBarEventFunction = std::function< void(int32_t) >
 
using castor3d::OnScrollBarEvent = castor::SignalT< OnScrollBarEventFunction >
 
using castor3d::OnScrollBarEventConnection = OnScrollBarEvent::connection
 
using castor3d::OnControlChangedFunction = std::function< void(Control const &) >
 
using castor3d::OnControlChanged = castor::SignalT< OnControlChangedFunction >
 
using castor3d::OnControlChangedConnection = OnControlChanged::connection
 
using castor3d::ControlArray = std::vector< ControlRPtr >
 

Énumérations

enum class  castor3d::ControlType : uint8_t {
  castor3d::eNone , castor3d::ePanel , castor3d::eStatic , castor3d::eEdit ,
  castor3d::eSlider , castor3d::eComboBox , castor3d::eListBox , castor3d::eButton ,
  castor3d::eExpandablePanel , castor3d::eFrame , castor3d::eScrollBar , castor3d::eProgress
}
 Enumeration of supported control types. Plus de détails...
 
enum class  castor3d::ControlEvent : uint8_t { castor3d::eDrag , castor3d::eDrop , castor3d::eCount }
 Enumeration of supported control events. Plus de détails...
 
enum class  castor3d::ComboBoxEvent : uint8_t { castor3d::eSelected , castor3d::eCount }
 Enumeration of supported combobox events. Plus de détails...
 
enum class  castor3d::EditEvent : uint8_t { castor3d::eUpdated , castor3d::eReturn , castor3d::eCount }
 Enumeration of supported edit events. Plus de détails...
 
enum class  castor3d::ExpandablePanelEvent : uint8_t { castor3d::eExpand , castor3d::eRetract , castor3d::eCount }
 Enumeration of supported expandable panel events. Plus de détails...
 
enum class  castor3d::ListBoxEvent : uint8_t { castor3d::eSelected , castor3d::eCount }
 Enumeration of supported listbox events. Plus de détails...
 
enum class  castor3d::ButtonEvent : uint8_t { castor3d::eClicked , castor3d::eCount }
 Enumeration of supported button events. Plus de détails...
 
enum class  castor3d::SliderEvent : uint8_t { castor3d::eThumbRelease , castor3d::eThumbTrack , castor3d::eCount }
 Enumeration of supported slider events. Plus de détails...
 
enum class  castor3d::ScrollBarEvent : uint8_t { castor3d::eThumbRelease , castor3d::eThumbTrack , castor3d::eCount }
 Enumeration of supported combobox events. Plus de détails...
 
enum class  castor3d::ControlFlag : ControlFlagType { castor3d::eAlwaysOnTop = 0x0000000000000001 , castor3d::eMovable = 0x0000000000000002 , castor3d::eResizable = 0x0000000000000004 }
 Listbox control supported flags. Plus de détails...
 
enum class  castor3d::ComboBoxFlag : ControlFlagType { castor3d::eReadOnly = 0x0000000000000100 }
 Combo control supported flags. Plus de détails...
 
enum class  castor3d::EditFlag : ControlFlagType { castor3d::eProcessEnter = 0x0000000000001000 , castor3d::eMultiline = 0x0000000000002000 , castor3d::eProcessTab = 0x0000000000004000 , castor3d::eWordWrap = 0x0000000000008000 }
 Edit control supported flags. Plus de détails...
 
enum class  castor3d::SliderFlag : ControlFlagType { castor3d::eHorizontal = 0x0000000000100000 , castor3d::eVertical = 0x0000000000200000 }
 Slider control supported flags. Plus de détails...
 
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. Plus de détails...
 
enum class  castor3d::ScrollBarFlag : ControlFlagType { castor3d::eHorizontal = 0x0000000100000000 , castor3d::eVertical = 0x0000000200000000 }
 ScrollBar control supported flags. Plus de détails...
 
enum class  castor3d::ProgressFlag : ControlFlagType { castor3d::eLeftRight = 0x0000001000000000 , castor3d::eRightLeft = 0x0000002000000000 , castor3d::eTopBottom = 0x0000004000000000 , castor3d::eBottomTop = 0x0000008000000000 }
 Progress control supported flags. Plus de détails...
 
enum class  castor3d::GuiEvent : uint8_t { castor3d::eShowMessageBox , castor3d::eResizeParent }
 Enumeration of supported GUI events in ControlInfos. Plus de détails...
 

Fonctions

 castor3d::CU_DeclareSmartPtr (castor3d, Layout, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, Spacer, 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)
 
MaterialObs castor3d::createMaterial (Engine &engine, castor::String const &name, TextureLayoutUPtr texture)