 |
Blamite Game Engine - blam!
00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #include <Strings/components/utils/io/io.h>
19 bool devtools_bar =
true;
20 bool main_menu =
true;
22 bool window_wrap =
false;
27 window_wrap = show_in_window;
152 ImGui::Text(
"can't imagine why you'd need it, but here it is");
Class for the engine Globals editor.
Definition: engine_text_viewer.hpp:13
BLAM void CleanupWindows()
Cleans up any data used by the ImGUI draw list.
Definition: debug_ui.cpp:144
Class for the engine Globals editor.
Definition: globals_editor.hpp:14
BLAM Ogre::HlmsUnlitDatablock * CreateDefaultUnlitDatablockForPrimitives(std::string id)
Creates a default Unlit datablock for use with 2D and 3D primitives.
Definition: materials.cpp:966
virtual void Draw()
Draws the contents of the group.
Definition: imgui.h:43
Class for the Ogre HLMS Debug utility.
Definition: ogre_hlms_debug.hpp:18
Wrapper for ImGui's demo window.
Definition: imgui_demo.hpp:8
#define duigvs(x)
Macro for Blam::DebugUI::GetVisibility().
Definition: imgui.h:18
BlamVector4 resolve_font_uv(int coord_x, int coord_y, int tex_width, int tex_height, int slots_x, int slots_y)
Definition: text.cpp:17
Class for the old and awful theme picker dialog.
Definition: theme_picker.hpp:17
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:130
std::string font_name
The name of the font package to use for this text widget.
Definition: ui.h:524
IMGUI_API void EndMenu()
Definition: imgui_widgets.cpp:6224
IMGUI_API void EndMainMenuBar()
Definition: imgui_widgets.cpp:5995
@ TrueType
Indicates that the font package stores a TrueType (or similar) font directly.
IMGUI_API bool Checkbox(const char *label, bool *v)
Definition: imgui_widgets.cpp:974
void Draw()
Draws the contents of the group.
Definition: blam_ui_editor.hpp:165
bool show
Controls whether or not the group should be shown. May not be used in all groups.
Definition: imgui.h:34
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying glyph
Definition: ARPHICPL.TXT:16
Class for the Discord Rich Presence test dialog.
Definition: discord_rpc_tester.hpp:20
Class for the Font Editor.
Definition: font_editor.hpp:13
BlamFontPackage * font_package
The font package being used for this text widget.
Definition: ui.h:525
int character_height
The line height of this text widget, in pixels.
Definition: ui.h:520
BlamVector2 shadow_offset
The offset of the text shadow, in pixels.
Definition: ui.h:521
@ Basic_Rectangle
A basic filled or outline rectangle.
@ Basic_Ellipse
A basic filled or outline ellipse.
IMGUI_API bool InputText(const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiInputTextCallback callback=NULL, void *user_data=NULL)
Definition: imgui_widgets.cpp:3068
@ Group_VLayout
A group widget which displays all items in a vertical list.
BLAM float * GetGlobalAsFloat(std::string name)
Retrieves a global's value as a float.
Definition: globals.cpp:403
Class for the ImGUI about dialog.
Definition: about_imgui.hpp:10
IMGUI_API void End()
Definition: imgui.cpp:6016
const char * message
The contents of the error dialog.
Definition: error_dialog.hpp:17
void SetHidden(bool new_hidden) override
Sets the hidden state of the widget.
Definition: text.cpp:451
A class containing a theoretical update check dialog.
Definition: update_checker.hpp:21
BLAM void TakeScreenshot()
Instructs OGRE to save a screenshot on the next frame.
Definition: ogre.cpp:383
IMGUI_API bool BeginMainMenuBar()
Definition: imgui_widgets.cpp:5975
const char * title
The title of the error dialog.
Definition: error_dialog.hpp:16
BlamMap< char, BlamFontGlyph * > glyphs
Map containing all glyphs within the font package.
Definition: fonts.h:92
BLAM BlamFontPackage * GetFont(std::string id)
Retrieves a font package from its name.
Definition: fonts.cpp:744
IMGUI_API bool DragInt(const char *label, int *v, float v_speed=1.0f, int v_min=0, int v_max=0, const char *format="%d")
Definition: imgui_widgets.cpp:2209
void ShowImGuiPropertyEditor() override
Displays an ImGUI-based property editor.
Definition: text.cpp:72
IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)
Definition: imgui.cpp:7147
bool show_error_dialog
Whether or not to show the error dialog.
Definition: error_dialog.hpp:15
Class representing an ImGUI window.
Definition: imgui.h:31
IMGUI_API bool MenuItem(const char *label, const char *shortcut=NULL, bool selected=false, bool enabled=true)
Definition: imgui_widgets.cpp:6240
Class for the modern Config Editor.
Definition: config_editor.hpp:14
int monospace_width
The monospaced width of each character. Only used when monospace is set to true.
Definition: fonts.h:95
Class for the World Editor utility.
Definition: world_editor.hpp:13
Dialog to prompt for developer key authentication.
Definition: license_prompt.hpp:18
Ogre::HlmsDatablock * CreateCopiedDatablock()
Creates a copy of this glyph's datablock, intended to allow for it to be recolored on a per-instance ...
Definition: BlamFontPackage.cpp:33
~BlamUIWidget_Text()
Definition: text.cpp:36
This is the ImGUI-based implementation of the stats widget.
Definition: stats.hpp:21
Class representing a font glyph.
Definition: fonts.h:43
IMGUI_API bool Begin(const char *name, bool *p_open=NULL, ImGuiWindowFlags flags=0)
Definition: imgui.cpp:5397
void UpdateMetrics() override
Updates metrics for the widget.
Definition: text.cpp:98
IMGUI_API bool DragFloat2(const char *label, float v[2], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
Definition: imgui_widgets.cpp:2169
IMGUI_API bool CollapsingHeader(const char *label, ImGuiTreeNodeFlags flags=0)
Definition: imgui_widgets.cpp:5422
Wrapper for ImGui's built-in metrics window.
Definition: imgui_metrics.hpp:8
Class for the Blam UI Editor debug utility.
Definition: blam_ui_editor.hpp:11
void Draw() override
Draws the widget on-screen.
Definition: text.cpp:53
@ TopLeft
The widget will be placed at the top-left of the screen.
BLAM void AddToWindowList(std::string key, BlamImGuiWindow *group)
Adds a new item to the ImGUI draw list.
Definition: debug_ui.cpp:177
IMGUI_API bool BeginMenuBar()
Definition: imgui_widgets.cpp:6012
BlamColor color
The text foreground color.
Definition: ui.h:522
Class for the exit confirmation dialog.
Definition: exit.hpp:11
@ XMLBitmapAtlas
Identical to #BitmapAtlas, but indicates that the font package is unpacked.
IMGUI_API void Text(const char *fmt,...) IM_FMTARGS(1)
Definition: imgui_widgets.cpp:238
BlamFontPackageType type
The format of the font pacakge. See BlamFontPackageType for details.
Definition: fonts.h:91
int line_height
The height of each line of text, in pixels.
Definition: fonts.h:97
Class for the legacy ImGUI-based About box.
Definition: about_blamite.hpp:36
A class for...
Definition: weird_logger.hpp:13
BLAM void ShowErrorDialog(const char *title, const char *message)
Shows a simple error dialog created using ImGUI.
Definition: debug_ui.cpp:168
Class for a GUI config editor.
Definition: config_editor_new.hpp:22
IMGUI_API bool BeginMenu(const char *label, bool enabled=true)
Definition: imgui_widgets.cpp:6081
@ XMLBitmap
Identical to #Bitmap, but indicates that the font package is unpacked.
Class for the ImGUI user guide.
Definition: imgui_user_guide.hpp:11
This was planned to be a chat client that would connect to some sort of java-based chat server.
Definition: jtchat.hpp:15
Definition: material.h:52
Wrapper for ImGui's built-in style selector.
Definition: imgui_style_picker.hpp:8
std::map< std::string, BlamImGuiWindow * > imgui_window_list
The list of all available ImGUI windows.
Definition: debug_ui.cpp:84
bool monospace
Whether or not the font is monospaced.
Definition: fonts.h:94
ARPHIC PUBLIC LICENSE Ltd Yung Chi Taiwan All rights reserved except as specified below Everyone is permitted to copy and distribute verbatim copies of this license but changing it is forbidden Preamble The licenses for most software are designed to take away your freedom to share and change it By the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software Legal Terms Font means the TrueType fonts AR PL Mingti2L AR PL KaitiM AR PL KaitiM and the derivatives of those fonts created through any modification including modifying reordering converting changing font or adding deleting some characters in from glyph table PL means Public License Copyright Holder means whoever is named in the copyright or copyrights for the Font You means the or person redistributing or modifying the Font Freely Available means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you not price If you you can charge for this service Copying &Distribution You may copy and distribute verbatim copies of this Font in any without provided that you retain this license including modifying reordering converting changing font or adding deleting some characters in from glyph and copy and distribute such modifications under the terms of Section provided that the following conditions are such as by offering access to copy the modifications from a designated or distributing the modifications on a medium customarily used for software interchange c If the modified fonts normally reads commands interactively when you must cause it
Definition: ARPHICPL.TXT:36
@ Basic_Triangle
A basic filled or outline triangle.
A seemingly incomplete class for an ImGUI-based error dialog?
Definition: error_dialog.hpp:12
Class for the crash test dialog.
Definition: crash_test.hpp:12
Class for the ImGUI console implementation.
Definition: console.hpp:19
BlamUIWidget_Text(BlamUIWidget_Group *_parent)
Definition: text.cpp:30
BLAM std::map< std::string, BlamImGuiWindow * > * GetWindowList()
Retrieves the current ImGUI drawing list.
Definition: debug_ui.cpp:189
BLAM void RenderWindows()
Renders all ImGUI data.
Definition: debug_ui.cpp:156
BLAM void BuildWindows()
Initializes the ImGUI draw list.
Definition: debug_ui.cpp:86
BLAM int GetRenderHeight()
Retrieves the current height of the OGRE viewport.
Definition: ogre.cpp:368
IMGUI_API void EndMenuBar()
Definition: imgui_widgets.cpp:6040
std::string text
The text to display within this text widget.
Definition: ui.h:526
Class for Blamite's ImGUI-based About box.
Definition: about_blamite_new.hpp:12
An incomplete configuration editor, using raw text.
Definition: config_editor.hpp:22
@ Group
A group widget, which can be used to contain any number of other widgets.
IMGUI_API bool ColorEdit4(const char *label, float col[4], ImGuiColorEditFlags flags=0)
Definition: imgui_widgets.cpp:4154
@ ImGuiWindowFlags_AlwaysAutoResize
Definition: imgui.h:720
BlamColor shadow_color
The text shadow color.
Definition: ui.h:523
BLAM Ogre::SceneManager * Get2DSceneManager()
Retrieves the scene manager used to handle 2D rendering.
Definition: ogre.cpp:388
Class for the realtime tag editor.
Definition: tag_editor.hpp:14
Class for the Network Stats dialog.
Definition: network_stats.hpp:16
@ XMLTruetype
Identical to #Truetype, but indicates that the font package is unpacked.
@ ImGuiWindowFlags_MenuBar
Definition: imgui.h:724
Legacy IP test dialog.
Definition: ip_test.hpp:15
BLAM BlamImGuiWindow * GetImGuiWindow(std::string key)
Retrieves a drawing group with the specified ID.
Definition: debug_ui.cpp:194
IMGUI_API void Separator()
Definition: imgui_widgets.cpp:1284
@ Bitmap
Indicates that the font package stores glyphs in separate bitmaps.
BlamWidgetType
Enumerator listing possible UI widget types.
Definition: ui.h:60
Wrapper for ImGui's built-in font selector.
Definition: imgui_font_selector.hpp:8
IMGUI_API bool DragFloat4(const char *label, float v[4], float v_speed=1.0f, float v_min=0.0f, float v_max=0.0f, const char *format="%.3f", float power=1.0f)
Definition: imgui_widgets.cpp:2179
Ogre::FontPtr ttf_font
Unused.
Definition: fonts.h:106
@ ImGuiWindowFlags_NoResize
Definition: imgui.h:715
void RebuildTextObject()
Regenerates the text object.
Definition: text.cpp:181
Class for the default ImGUI DX11 sample window.
Definition: dx11_window.hpp:11
int charspacing
The amount of spacing between each character, in pixels.
Definition: fonts.h:96
IMGUI_API void TextColored(const ImVec4 &col, const char *fmt,...) IM_FMTARGS(2)
Definition: imgui_widgets.cpp:257
Wrapper for ImGui's built-in style editor.
Definition: imgui_style_editor.hpp:8
Class for the event listener viewer.
Definition: listeners.hpp:13
BLAM bool * GetVisibility(std::string key)
Retrieves the visibility of the specified draw list item.
Definition: debug_ui.cpp:206
IMGUI_API bool Button(const char *label, const ImVec2 &size=ImVec2(0, 0))
Definition: imgui_widgets.cpp:644
int space_width
The width of the space character, in pixels. Only used when monospace is false.
Definition: fonts.h:98
Class for the Ogre Scene Editor utility.
Definition: ogre_scene_editor.hpp:14
@ BitmapAtlas
Indicates that the font package stores glyphs in a texture atlas bitmap.
BLAM int GetRenderWidth()
Retrieves the current width of the OGRE viewport.
Definition: ogre.cpp:363
Class for the modern Theme Editor.
Definition: theme_editor.hpp:12