Overload  1.1
Game engine with editor
Public Member Functions | List of all members
ScriptFolderContextualMenu Class Reference
Inheritance diagram for ScriptFolderContextualMenu:
FolderContextualMenu BrowserItemContextualMenu OvUI::Plugins::ContextualMenu OvUI::Plugins::IPlugin OvUI::Internal::WidgetContainer

Public Member Functions

 ScriptFolderContextualMenu (const std::string &p_filePath, bool p_protected=false)
void CreateScript (const std::string &p_name, const std::string &p_path)
virtual void CreateList () override
- Public Member Functions inherited from FolderContextualMenu
 FolderContextualMenu (const std::string &p_filePath, bool p_protected=false)
virtual void DeleteItem () override
- Public Member Functions inherited from BrowserItemContextualMenu
 BrowserItemContextualMenu (const std::string p_filePath, bool p_protected=false)
virtual void Execute () override
- Public Member Functions inherited from OvUI::Plugins::ContextualMenu
void Execute ()
void Close ()
- 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 FolderContextualMenu
OvTools::Eventing::Event< std::string > ItemAddedEvent
- Public Attributes inherited from BrowserItemContextualMenu
bool m_protected
std::string filePath
OvTools::Eventing::Event< std::string > DestroyedEvent
OvTools::Eventing::Event< std::string, std::string > RenamedEvent
- Public Attributes inherited from OvUI::Plugins::IPlugin
void * userData = nullptr
- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets

Constructor & Destructor Documentation

◆ ScriptFolderContextualMenu()

ScriptFolderContextualMenu::ScriptFolderContextualMenu ( const std::string &  p_filePath,
bool  p_protected = false 

Member Function Documentation

◆ CreateList()

virtual void ScriptFolderContextualMenu::CreateList ( )

Reimplemented from FolderContextualMenu.

◆ CreateScript()

void ScriptFolderContextualMenu::CreateScript ( const std::string &  p_name,
const std::string &  p_path 

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