Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.blamite
The core library for the Blamite Game Engine.
BlamUIWidget_CrashScreen.h
Go to the documentation of this file.
1 #pragma once
2 
4 
15 {
16 private:
17  BlamUIWidget_Text* text = nullptr;
18  BlamUIWidget_BasicRectangle* background = nullptr;
19 
20 public:
22 
28  void SetBasicMessage(std::string additional_info = "");
29 
41  void SetDetailedMessage(std::string expression, std::string file, int line, std::string details);
42 
43  void SetHidden(bool new_hidden) override;
44 };
ui.h
BlamUIWidget_Group
Class representing a Group widget.
Definition: ui.h:263
BlamUIWidget::MarkForUpdate
void MarkForUpdate()
Marks the widget as needing to be updated on the next draw call.
Definition: BlamUIWidget.cpp:392
BlamUIWidget_2DPrimitive::color
BlamColor color
The color of the widget.
Definition: ui.h:371
BlamUIWidget_BasicRectangle::solid
bool solid
Whether or not this primitive is solid, or an outline.
Definition: ui.h:405
rendering.h
Blam::Globals::GetGlobalAsColor
BLAM BlamColor * GetGlobalAsColor(std::string name)
Retrieves a global's value as a BlamColor.
Definition: globals.cpp:415
BlamUIWidget::SetPosition
virtual void SetPosition(BlamVector2 new_position)
Sets the position of the widget.
Definition: BlamUIWidget.cpp:368
BlamWidgetAnchor::TopLeft
@ TopLeft
The widget will be placed at the top-left of the screen.
BlamUIWidget_Group::children
std::vector< BlamUIWidget * > children
The list of child widgets within this group.
Definition: ui.h:270
BlamUIWidget_Text::color
BlamColor color
The text foreground color.
Definition: ui.h:522
BlamUIWidget::SetSize
void SetSize(BlamVector2 new_size)
Sets the size of the widget.
Definition: BlamUIWidget.cpp:361
BlamVersionStringDisplayMode::CrashScreen
@ CrashScreen
Indicates the build string should be formatted for the crash screen.
globals.h
BlamUIWidget_BasicRectangle
Class representing a basic rectangle widget.
Definition: ui.h:402
Blam::Rendering::GetRenderHeight
BLAM int GetRenderHeight()
Retrieves the current height of the OGRE viewport.
Definition: ogre.cpp:368
file
sock planetquake com All rights reserved Quake III Arena is a registered trademark of id Inc This level may be electronically distributed only at NO CHARGE to the recipient in its current MUST include this txt file
Definition: chiropteraDM.txt:95
BlamUIWidget_CrashScreen::BlamUIWidget_CrashScreen
BlamUIWidget_CrashScreen(BlamUIWidget_Group *_parent)
Definition: BlamUIWidget_CrashScreen.cpp:6
BlamUIWidget_Text::text
std::string text
The text to display within this text widget.
Definition: ui.h:526
BlamUIWidget_Text::shadow_color
BlamColor shadow_color
The text shadow color.
Definition: ui.h:523
BlamUIWidget_CrashScreen
Class used for the crash screen UI.
Definition: BlamUIWidget_CrashScreen.h:14
BlamUIWidget_CrashScreen::SetDetailedMessage
void SetDetailedMessage(std::string expression, std::string file, int line, std::string details)
Reconfigures the crash screen text to display a detailed message.
Definition: BlamUIWidget_CrashScreen.cpp:49
BlamUIWidget::z_index
int z_index
The Z index of the widget, where higher Z orders are drawn on top.
Definition: ui.h:125
BlamUIWidget_CrashScreen::SetHidden
void SetHidden(bool new_hidden) override
Sets the hidden state of the widget.
Definition: BlamUIWidget_CrashScreen.cpp:57
BlamWidgetType
BlamWidgetType
Enumerator listing possible UI widget types.
Definition: ui.h:60
BlamUIWidget_CrashScreen::SetBasicMessage
void SetBasicMessage(std::string additional_info="")
Reconfigures the crash screen text to display a basic message.
Definition: BlamUIWidget_CrashScreen.cpp:39
BlamUIWidget_CrashScreen.h
BlamUIWidget_Text
Class representing a Text widget.
Definition: ui.h:483
BlamUIWidget::SetAnchorPosition
void SetAnchorPosition(BlamWidgetAnchor new_anchor_position)
Sets the anchor position of the widget.
Definition: BlamUIWidget.cpp:381
details
const char * details
Definition: error_notice.cpp:17
Blam::Rendering::GetRenderWidth
BLAM int GetRenderWidth()
Retrieves the current width of the OGRE viewport.
Definition: ogre.cpp:363