Chira Engine
A customizable MIT-licensed game engine.
chira::IPanel Class Referenceabstract
Inheritance diagram for chira::IPanel:
Collaboration diagram for chira::IPanel:

Public Member Functions

 IPanel (std::string title_, bool startVisible, ImVec2 windowSize={}, bool enforceSize=false)
 
void render ()
 
virtual void preRenderContents ()
 
virtual void renderContents ()=0
 
virtual void postRenderContents ()
 
std::string_view getTitle () const
 
void setTitle (const std::string &newTitle)
 
bool isVisible () const
 
void setVisible (bool visible_)
 
bool wasActivatedThisFrame () const
 
glm::vec2 getWindowSize () const
 
void setWindowSize (glm::vec2 size)
 
ImGuiWindowFlags & getWindowFlags ()
 

Protected Attributes

std::string title
 
bool visible
 
bool activatedThisFrame
 
ImVec2 nextWindowSize
 
ImGuiCond_ windowSizeCondition
 
ImGuiWindowFlags flags
 

Detailed Description

Definition at line 10 of file IPanel.h.


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