 |
Blamite Game Engine - blam!
00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #include <Strings/components/classes/events/game_engine_events/Tick/TickEvent.h>
6 #include <Strings/components/classes/events/events.h>
19 std::string display_format =
"[{last}] {avg}\n{thread_mode}";
20 bool needs_update =
false;
void SetHidden(bool new_hidden) override
Sets the hidden state of the widget.
Definition: text.cpp:452
@ BottomRight
The widget will be placed at the bottom-right of the screen.
void ShowImGuiPropertyEditor() override
Displays an ImGUI-based property editor.
Definition: text.cpp:71
BLAM int GetCurrentTickRate1M()
Retrieves the average tick rate over the last minute.
Definition: tick.cpp:52
void UpdateMetrics() override
Updates metrics for the widget.
Definition: text.cpp:97
void Draw() override
Draws the widget on-screen.
Definition: text.cpp:52
BLAM int GetCurrentTickRate10S()
Retrieves the average tick rate over the last 10 seconds.
Definition: tick.cpp:84
BlamColor color
The text foreground color.
Definition: ui.h:524
BLAM Demo::GraphicsSystem * GetGraphicsSystem()
Retrieves the graphics system used by OGRE.
Definition: ogre.cpp:492
std::string text
The text to display within this text widget.
Definition: ui.h:528
@ FramerateDisplay
Special widget. Used for the framerate display.
BlamWidgetType
Enumerator listing possible UI widget types.
Definition: ui.h:60
BLAM int GetCurrentTickRate5M()
Retrieves the average tick rate over the last 5 minutes.
Definition: tick.cpp:68
Ogre::Root * getRoot(void) const
Definition: GraphicsSystem.h:145
BLAM bool * GetGlobalAsBoolean(std::string name)
Retrieves a global's value as a boolean.
Definition: globals.cpp:343
Class representing a Text widget.
Definition: ui.h:485