Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
imgui.h File Reference
#include <SDL2/SDL_events.h>
#include <map>
#include "components/diagnostics/errors/errors.h"
#include "components/3rdparty/imgui/imgui.h"
+ Include dependency graph for imgui.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BlamImGuiWindow
 Class representing an ImGUI window. More...
 

Namespaces

 Blam
 Namespace surrounding all major engine components.
 
 Blam::UI
 Namespace containing functions relating to the Blamite UI system.
 
 Blam::UI::ImGUI
 Namespace for anything related to ImGUI.
 

Macros

#define duigvs(x)   Blam::UI::ImGUI::GetVisibility(x)
 Macro for Blam::DebugUI::GetVisibility(). More...
 
#define BLAM
 

Functions

BLAM BlamResult Blam::UI::ImGUI::Initialize ()
 Initialize ImGUI. More...
 
BLAM void Blam::UI::ImGUI::RenderFrame ()
 Renders ImGUI to the application window. More...
 
BLAM void Blam::UI::ImGUI::EndFrame ()
 Ends ImGUI drawing for the current frame. More...
 
BLAM void Blam::UI::ImGUI::Shutdown ()
 Shuts down ImGUI and cleans up any data related to it. More...
 
BLAM void Blam::UI::ImGUI::ProcessSDLEvent (SDL_Event event)
 Passes an SDL event to ImGUI for proper handling. More...
 
BLAM void Blam::UI::ImGUI::BuildWindows ()
 Initializes the ImGUI draw list. More...
 
BLAM void Blam::UI::ImGUI::RenderWindows ()
 Renders all ImGUI data. More...
 
BLAM void Blam::UI::ImGUI::CleanupWindows ()
 Cleans up any data used by the ImGUI draw list. More...
 
BLAM bool * Blam::UI::ImGUI::GetVisibility (std::string key)
 Retrieves the visibility of the specified draw list item. More...
 
BLAM void Blam::UI::ImGUI::AddToWindowList (std::string key, BlamImGuiWindow *group)
 Adds a new item to the ImGUI draw list. More...
 
BLAM BlamImGuiWindowBlam::UI::ImGUI::GetImGuiWindow (std::string key)
 Retrieves a drawing group with the specified ID. More...
 
BLAM void Blam::UI::ImGUI::ShowErrorDialog (const char *title, const char *message)
 Shows a simple error dialog created using ImGUI. More...
 
BLAM std::map< std::string, BlamImGuiWindow * > * Blam::UI::ImGUI::GetWindowList ()
 Retrieves the current ImGUI drawing list. More...
 

Macro Definition Documentation

◆ BLAM

#define BLAM

◆ duigvs

#define duigvs (   x)    Blam::UI::ImGUI::GetVisibility(x)

Macro for Blam::DebugUI::GetVisibility().

See #Blam::DebugUI::GetVisibility for details.

Note
Ideally, we would keep these heavily abbreviated macros to a minimum. This (and a few others) are made as short as possible due to their frequent use, as having the full names would cause a lot of ugly-looking code.
See also
Blam::DebugUI::GetVisibility()