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

Public Member Functions

 FolderContextualMenu (const std::string &p_filePath, bool p_protected=false)
 
virtual void CreateList () override
 
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 ()
 

Public Attributes

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
 

Additional Inherited Members

- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets
 

Constructor & Destructor Documentation

◆ FolderContextualMenu()

FolderContextualMenu::FolderContextualMenu ( const std::string &  p_filePath,
bool  p_protected = false 
)
inline

Member Function Documentation

◆ CreateList()

virtual void FolderContextualMenu::CreateList ( )
inlineoverridevirtual

Reimplemented from BrowserItemContextualMenu.

Reimplemented in ScriptFolderContextualMenu.

◆ DeleteItem()

virtual void FolderContextualMenu::DeleteItem ( )
inlineoverridevirtual

Member Data Documentation

◆ ItemAddedEvent

OvTools::Eventing::Event<std::string> FolderContextualMenu::ItemAddedEvent

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