Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Editor::Modal Class Reference

#include <Modal.h>

Inheritance diagram for Editor::Modal:
Inheritance graph
[legend]
Collaboration diagram for Editor::Modal:
Collaboration graph
[legend]

Public Member Functions

 Modal (EditorApp *app, const char *title, bool canClose)
 
bool Ready ()
 
void Close ()
 
virtual void Draw ()
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Protected Member Functions

virtual void DrawInternal ()
 

Protected Attributes

EditorAppm_app
 
const char * m_title
 
ImGuiID m_id
 
bool m_shouldClose
 
bool m_canClose
 

Constructor & Destructor Documentation

◆ Modal()

Modal::Modal ( EditorApp app,
const char *  title,
bool  canClose 
)

Member Function Documentation

◆ Close()

void Modal::Close ( )

◆ Draw()

void Modal::Draw ( )
virtual

Reimplemented in Editor::FileActionOpenModal, and Editor::NewSystemModal.

Here is the call graph for this function:

◆ DrawInternal()

virtual void Editor::Modal::DrawInternal ( )
inlineprotectedvirtual

◆ Ready()

bool Modal::Ready ( )

Member Data Documentation

◆ m_app

EditorApp* Editor::Modal::m_app
protected

◆ m_canClose

bool Editor::Modal::m_canClose
protected

◆ m_id

ImGuiID Editor::Modal::m_id
protected

◆ m_shouldClose

bool Editor::Modal::m_shouldClose
protected

◆ m_title

const char* Editor::Modal::m_title
protected

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