Cogs.Core
ShowLicensesCommand.h
1#pragma once
2#include "markdown/imgui_markdown.h"
3#include "Commands/EditorCommand.h"
4
5namespace Cogs::Core {
6
8 {
10
11 void apply() override {}
12 void undo() override {}
13 void beginModal() override;
14 void showGui() override;
15 bool continueModal() override;
16
17 private:
18 bool modal = false;
19 const char* licensesText = nullptr;
20 ImGui::MarkdownConfig config;
21 };
22}
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Abstract base class for all editor commands showing GUI in interactive mode.
Definition: EditorCommand.h:40
void beginModal() override
Called when the command is initiated.
void apply() override
Run the command.
void showGui() override
Display custom ImGUI.
bool continueModal() override
Shall return true while the GUI should still be shown. False when.