Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvUI::Plugins::ContextualMenu Class Reference

#include <ContextualMenu.h>

Inheritance diagram for OvUI::Plugins::ContextualMenu:
OvUI::Plugins::IPlugin OvUI::Internal::WidgetContainer BrowserItemContextualMenu HierarchyActorContextualMenu FileContextualMenu FolderContextualMenu PreviewableContextualMenu< Resource, ResourceLoader > PreviewableContextualMenu< OvCore::Resources::Material, OvCore::ResourceManagement::MaterialManager > PreviewableContextualMenu< OvRendering::Resources::Model, OvCore::ResourceManagement::ModelManager > PreviewableContextualMenu< OvRendering::Resources::Texture, OvCore::ResourceManagement::TextureManager > SceneContextualMenu ShaderContextualMenu ScriptFolderContextualMenu MaterialContextualMenu ModelContextualMenu TextureContextualMenu

Public Member Functions

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 OvUI::Plugins::IPlugin
void * userData = nullptr
- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets

Detailed Description

A simple plugin that will show a contextual menu on right click You can add widgets to a contextual menu

Member Function Documentation

◆ Close()

void OvUI::Plugins::ContextualMenu::Close ( )

Force close the contextual menu

◆ Execute()

void OvUI::Plugins::ContextualMenu::Execute ( )

Execute the plugin

@project: Overload

: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

Implements OvUI::Plugins::IPlugin.

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