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

Class for the Font Editor. More...

#include <font_editor.hpp>

+ Inheritance diagram for BlamImGuiWindow_FontEditor:
+ Collaboration diagram for BlamImGuiWindow_FontEditor:

Public Member Functions

void Draw ()
 Draws the contents of the group. More...
 
void SetActiveFont (std::string font_id, BlamFontPackage *font_package)
 Updates the currently selected font package. 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 Font Editor.

Allows modification of certain font properties in real-time.

Member Function Documentation

◆ Draw()

void BlamImGuiWindow_FontEditor::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:

◆ SetActiveFont()

void BlamImGuiWindow_FontEditor::SetActiveFont ( std::string  font_id,
BlamFontPackage font_package 
)
inline

Updates the currently selected font package.

Parameters
font_id- The ID/name of the font package.
font_package- The font package data.
+ Here is the caller graph for this function:

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