Overload  1.1
Game engine with editor
Public Member Functions | List of all members
ProjectHubPanel Class Reference
Inheritance diagram for ProjectHubPanel:
OvUI::Panels::PanelWindow OvUI::Panels::APanelTransformable OvUI::Panels::APanel OvUI::API::IDrawable OvUI::Internal::WidgetContainer

Public Member Functions

 ProjectHubPanel (bool &p_readyToGo, std::string &p_path, std::string &p_projectName)
 
void UpdateGoButton (const std::string &p_path)
 
void CreateProject (const std::string &p_path)
 
void RegisterProject (const std::string &p_path)
 
void OpenProject (const std::string &p_path)
 
void Draw () override
 
- Public Member Functions inherited from OvUI::Panels::PanelWindow
 PanelWindow (const std::string &p_name="", bool p_opened=true, const Settings::PanelWindowSettings &p_panelSettings=Settings::PanelWindowSettings{})
 
void Open ()
 
void Close ()
 
void Focus ()
 
void SetOpened (bool p_value)
 
bool IsOpened () const
 
bool IsHovered () const
 
bool IsFocused () const
 
bool IsAppearing () const
 
- Public Member Functions inherited from OvUI::Panels::APanelTransformable
 APanelTransformable (const OvMaths::FVector2 &p_defaultPosition=OvMaths::FVector2(-1.f, -1.f), const OvMaths::FVector2 &p_defaultSize=OvMaths::FVector2(-1.f, -1.f), Settings::EHorizontalAlignment p_defaultHorizontalAlignment=Settings::EHorizontalAlignment::LEFT, Settings::EVerticalAlignment p_defaultVerticalAlignment=Settings::EVerticalAlignment::TOP, bool p_ignoreConfigFile=false)
 
void SetPosition (const OvMaths::FVector2 &p_position)
 
void SetSize (const OvMaths::FVector2 &p_size)
 
void SetAlignment (Settings::EHorizontalAlignment p_horizontalAlignment, Settings::EVerticalAlignment p_verticalAligment)
 
const OvMaths::FVector2GetPosition () const
 
const OvMaths::FVector2GetSize () const
 
Settings::EHorizontalAlignment GetHorizontalAlignment () const
 
Settings::EVerticalAlignment GetVerticalAlignment () const
 
- Public Member Functions inherited from OvUI::Panels::APanel
 APanel ()
 
void Draw () override
 
const std::string & GetPanelID () const
 
- Public Member Functions inherited from OvUI::Internal::WidgetContainer
void RemoveWidget (Widgets::AWidget &p_widget)
 
void RemoveAllWidgets ()
 
void ConsiderWidget (Widgets::AWidget &p_widget, bool p_manageMemory=true)
 
void UnconsiderWidget (Widgets::AWidget &p_widget)
 
void CollectGarbages ()
 
void DrawWidgets ()
 
template<typename T , typename ... Args>
T & CreateWidget (Args &&... p_args)
 
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > & GetWidgets ()
 

Additional Inherited Members

- Public Attributes inherited from OvUI::Panels::PanelWindow
std::string name
 
OvMaths::FVector2 minSize = { 0.f, 0.f }
 
OvMaths::FVector2 maxSize = { 0.f, 0.f }
 
bool resizable = true
 
bool closable = false
 
bool movable = true
 
bool dockable = false
 
bool hideBackground = false
 
bool forceHorizontalScrollbar = false
 
bool forceVerticalScrollbar = false
 
bool allowHorizontalScrollbar = false
 
bool bringToFrontOnFocus = true
 
bool collapsable = false
 
bool allowInputs = true
 
OvTools::Eventing::Event OpenEvent
 
OvTools::Eventing::Event CloseEvent
 
- Public Attributes inherited from OvUI::Panels::APanelTransformable
bool autoSize = true
 
- Public Attributes inherited from OvUI::Panels::APanel
bool enabled = true
 
- Protected Member Functions inherited from OvUI::Panels::PanelWindow
void _Draw_Impl () override
 
- Protected Member Functions inherited from OvUI::Panels::APanelTransformable
void Update ()
 
- Protected Attributes inherited from OvUI::Panels::APanelTransformable
OvMaths::FVector2 m_defaultPosition
 
OvMaths::FVector2 m_defaultSize
 
Settings::EHorizontalAlignment m_defaultHorizontalAlignment
 
Settings::EVerticalAlignment m_defaultVerticalAlignment
 
bool m_ignoreConfigFile
 
OvMaths::FVector2 m_position = OvMaths::FVector2(0.0f, 0.0f)
 
OvMaths::FVector2 m_size = OvMaths::FVector2(0.0f, 0.0f)
 
bool m_positionChanged = false
 
bool m_sizeChanged = false
 
Settings::EHorizontalAlignment m_horizontalAlignment = Settings::EHorizontalAlignment::LEFT
 
Settings::EVerticalAlignment m_verticalAlignment = Settings::EVerticalAlignment::TOP
 
bool m_alignmentChanged = false
 
bool m_firstFrame = true
 
- Protected Attributes inherited from OvUI::Panels::APanel
std::string m_panelID
 
- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets
 

Constructor & Destructor Documentation

◆ ProjectHubPanel()

ProjectHubPanel::ProjectHubPanel ( bool &  p_readyToGo,
std::string &  p_path,
std::string &  p_projectName 
)
inline

Member Function Documentation

◆ CreateProject()

void ProjectHubPanel::CreateProject ( const std::string &  p_path)
inline

◆ Draw()

void ProjectHubPanel::Draw ( )
inlineoverridevirtual

Implements OvUI::API::IDrawable.

◆ OpenProject()

void ProjectHubPanel::OpenProject ( const std::string &  p_path)
inline

◆ RegisterProject()

void ProjectHubPanel::RegisterProject ( const std::string &  p_path)
inline

◆ UpdateGoButton()

void ProjectHubPanel::UpdateGoButton ( const std::string &  p_path)
inline

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