 |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
3 #include "../debug_ui.h"
36 ImGui::Begin(
"About ImGui", &
show, ImGuiWindowFlags_AlwaysAutoResize);
39 ImGui::Text(
"By Omar Cornut and all github contributors.");
40 ImGui::Text(
"ImGui is licensed under the MIT License, see LICENSE for more information.");
49 ImGui::SetNextWindowSize(ImVec2(700, 400));
51 static bool read_only =
true;
52 static char text[1024 * 16] =
53 "The MIT License (MIT)"
55 "\nCopyright(c) 2014 - 2015 Omar Cornut and ImGui contributors"
57 "\nPermission is hereby granted, free of charge, to any person obtaining a copy"
58 "\nof this software and associated documentation files(the 'Software'), to deal"
59 "\nin the Software without restriction, including without limitation the rights"
60 "\nto use, copy, modify, merge, publish, distribute, sublicense, and / or sell"
61 "\ncopies of the Software, and to permit persons to whom the Software is"
62 "\nfurnished to do so, subject to the following conditions :"
64 "\nThe above copyright notice and this permission notice shall be included in all"
65 "\ncopies or substantial portions of the Software."
67 "\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR"
68 "\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,"
69 "\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE"
70 "\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER"
71 "\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,"
72 "\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE"
75 ImGui::InputTextMultiline(
"##source", text, IM_ARRAYSIZE(text), ImVec2(-1.0f, ImGui::GetTextLineHeight() * 24), ImGuiInputTextFlags_AllowTabInput | (read_only ? ImGuiInputTextFlags_ReadOnly : 0));
void Draw()
Draws the about dialog and the MIT license if enabled.
Definition: about_imgui.hpp:31
AboutImGUI()
Empty constructor.
Definition: about_imgui.hpp:21
const BLAM char * GetVersion()
Retrieves the version of the engine in the following format:
Definition: engine_definitions.cpp:108
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: debug_ui.h:362
bool show_imgui_license
Toggles the ImGUI MIT license window.
Definition: about_imgui.hpp:15
Class representing an ImGUI drawing group/draw list item.
Definition: debug_ui.h:359
Class for the ImGUI about dialog.
Definition: about_imgui.hpp:12
~AboutImGUI()
Empty destructor.
Definition: about_imgui.hpp:26
Legacy namespace to contain data for the legacy ImGUI console.
Definition: debug_ui.h:434
@ Text
Master text object that wraps around both BitmapText and DWText.
Definition: render_stack.h:73