Dynamic Neural Field Composer 0.0.0
A C++20 library and interactive application for building and simulating Dynamic Neural Field (DNF) architectures.
Loading...
Searching...
No Matches
help_window.h
Go to the documentation of this file.
1#pragma once
2
3#include <imgui-platform-kit/user_interface_window.h>
4
6
7namespace dnf_composer
8{
9 extern ImFont* g_MediumLargeFont;
10 extern ImFont* g_BoldLargeFont;
11 extern ImFont* g_BoldMediumFont;
12 extern ImFont* g_MediumIconsFont;
13
14 namespace user_interface
15 {
16 class HelpWindow final : public imgui_kit::UserInterfaceWindow
17 {
18 private:
19 inline static bool isWindowActive = false;
20 inline static int activePage = 0;
21
22 public:
23 HelpWindow() = default;
24 void render() override { draw(); }
25 static bool isActive() { return isWindowActive; }
26 static void setActive(bool v) { isWindowActive = v; }
27 ~HelpWindow() override = default;
28
29 private:
30 static void draw();
31 static void renderPageNav();
32 static void renderPageAbout();
33 static void renderPageHowToUse();
34 static void renderPageQuickTips();
35 static void renderPageResources();
36 };
37 }
38}
Definition help_window.h:17
void render() override
Definition help_window.h:24
static void setActive(bool v)
Definition help_window.h:26
static bool isActive()
Definition help_window.h:25
Definition application.h:20
ImFont * g_MediumIconsFont
Font Awesome.
Definition application.h:145
ImFont * g_BoldMediumFont
Cera Pro Bold.
Definition application.h:132
ImFont * g_BoldLargeFont
Cera Pro Bold.
Definition application.h:133
ImFont * g_MediumLargeFont
Cera Pro Medium.
Definition application.h:129