RemoveModelModal
#include "GUI/Elements/Modals/RemoveModelModal.h"
Inherits from ModalWindow, IWindow, std::enable_shared_from_this< IWindow >
Public Functions
Name | |
---|---|
RemoveModelModal(std::string modelAlias, int usedCount, std::function< void()> onRemove) | |
virtual void | onImGui() override |
Additional inherited members
Public Functions inherited from ModalWindow
Name | |
---|---|
ModalWindow(const std::string & title) | |
void | close()<br>Hides this dialog and all its children. |
void | open() |
Public Functions inherited from IWindow
Name | |
---|---|
IWindow(bool show =false) | |
virtual | ~IWindow() =default |
virtual const char * | getID() const =0 |
InputController & | getInput()<br>Returns window input controller. |
InputController * | getInputPtr() |
const char * | getName() const |
bool * | getShowPtr() |
void | hide() |
bool | isVisible() const |
virtual void | render() =0 |
const std::string & | setName(const char * name) |
void | show() |
Protected Functions inherited from IWindow
Name | |
---|---|
void | updateWindowInfo()<br>Collect information about the current window. |
Public Attributes inherited from IWindow
Name | |
---|---|
glm::vec2 | m_windowMax <br>Bottom right corner of the window. |
glm::vec2 | m_windowMin <br>Top left corner of the window, same as m_windowPos (separate variable for clarity) |
glm::vec2 | m_windowPos <br>Top-left corner of the window in screen coordinates. |
glm::ivec2 | m_windowSize <br>Window width and height dimensions. |
Protected Attributes inherited from IWindow
Name | |
---|---|
std::string | imGuiName |
InputController | Input |
bool | m_show |
WindowManager * | m_windowManager <br>Weak reference to a WindowManager set when this window is added to it. |
Friends inherited from IWindow
Name | |
---|---|
class | WindowManager |
Public Functions Documentation
function RemoveModelModal
cpp
RemoveModelModal(
std::string modelAlias,
int usedCount,
std::function< void()> onRemove
)
RemoveModelModal(
std::string modelAlias,
int usedCount,
std::function< void()> onRemove
)
function onImGui
cpp
virtual void onImGui() override
virtual void onImGui() override
Reimplements: ModalWindow::onImGui
Updated on 2024-03-16 at 19:15:01 +0000