Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
BlamImGuiWindow_ImGuiConsole Class Reference

Class for the ImGUI console implementation. More...

#include <console.hpp>

+ Inheritance diagram for BlamImGuiWindow_ImGuiConsole:
+ Collaboration diagram for BlamImGuiWindow_ImGuiConsole:

Public Member Functions

 BlamImGuiWindow_ImGuiConsole ()
 
 ~BlamImGuiWindow_ImGuiConsole ()
 
void OnLogMessageEvent (LogMessageEvent *event)
 
void OnKeyPressEvent (KeyPressEvent *event)
 
void Draw ()
 Draws the contents of the group. More...
 

Additional Inherited Members

- Public Attributes inherited from BlamImGuiWindow
bool show = false
 Controls whether or not the group should be shown. May not be used in all groups. More...
 

Detailed Description

Class for the ImGUI console implementation.

In order to retain console functionality during early OpenGL implementation, this allows for basic console usage within an imgui window.

Constructor & Destructor Documentation

◆ BlamImGuiWindow_ImGuiConsole()

BlamImGuiWindow_ImGuiConsole::BlamImGuiWindow_ImGuiConsole ( )
inline

◆ ~BlamImGuiWindow_ImGuiConsole()

BlamImGuiWindow_ImGuiConsole::~BlamImGuiWindow_ImGuiConsole ( )
inline

Member Function Documentation

◆ Draw()

void BlamImGuiWindow_ImGuiConsole::Draw ( )
inlinevirtual

Draws the contents of the group.

The specific functionality will vary for each drawing group, but in general it will call the needed ImGUI functions to draw onscreen. This function is called on the render loop every frame, for every object in the draw list.

Reimplemented from BlamImGuiWindow.

+ Here is the call graph for this function:

◆ OnKeyPressEvent()

void BlamImGuiWindow_ImGuiConsole::OnKeyPressEvent ( KeyPressEvent *  event)
inline

◆ OnLogMessageEvent()

void BlamImGuiWindow_ImGuiConsole::OnLogMessageEvent ( LogMessageEvent *  event)
inline

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