Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
imgui_font_selector.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
9 {
10 private:
11 
12 public:
13  void Draw()
14  {
15  if (show)
16  {
17  if (ImGui::Begin("ImGui Font Selector"))
18  {
19  ImGui::ShowFontSelector("Choose Font");
20  }
21 
22  ImGui::End();
23  }
24  }
25 };
BlamImGuiWindow::show
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: imgui.h:34
ImGui::End
IMGUI_API void End()
Definition: imgui.cpp:6016
BlamImGuiWindow
Class representing an ImGUI window.
Definition: imgui.h:31
ImGui::Begin
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
imgui.h
BlamImGuiWindow_ImGuiFontSelectorWindow
Wrapper for ImGui's built-in font selector.
Definition: imgui_font_selector.hpp:8
ImGui::ShowFontSelector
IMGUI_API void ShowFontSelector(const char *label)
Definition: imgui_demo.cpp:3141
BlamImGuiWindow_ImGuiFontSelectorWindow::Draw
void Draw()
Draws the contents of the group.
Definition: imgui_font_selector.hpp:13