Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
UI Components

Files

file  nine_slice_panel.hpp
 Contains class defining this project's implementation of nine-slice (or nine-region) resizable panels.
 
file  ui_button.hpp
 Contains the class representation of UI buttons used in this project.
 
file  ui_image.hpp
 Contains the definition of the aspect responsible for the model-texture combo for displaying an image from a file.
 
file  ui_panel.hpp
 Contains the class responsible for managing, configuring, and displaying a NineSlicePanel resource.
 
file  ui_text.hpp
 Contains the definition for UIText, responsible for rendering text textures.
 
file  ur_ui_version.hpp
 Contains the definition for the class responsible for displaying the game version text on the main menu of the game.
 

Classes

class  NineSlicePanel
 Resource responsible for resizing a texture using the 9-slice technique, for use in UI elements. More...
 
class  NineSlicePanelFromDescription
 Resource constructor for creating new NineSlicePanel resources from their descriptions in JSON. More...
 
class  UIButton
 A UI component class for creating simple buttons comprised of a resizable panel and some text. More...
 
class  UIImage
 The aspect class responsible for displaying an image from a file scaled to some specific dimensions. More...
 
class  UIPanel
 UI aspect responsible for managing and rendering a NineSlicePanel texture on the UI. More...
 
class  UIText
 An aspect responsible for rendering text textures and displaying them on a surface in the scene. More...
 
class  UrUIVersion
 The class responsible for setting the game version text of the UI object it is connected to per the value populated in version.h. More...
 

Functions

 NLOHMANN_JSON_SERIALIZE_ENUM (NineSlicePanel::ScaleMode, { {NineSlicePanel::ScaleMode::STRETCH, "stretch"}, {NineSlicePanel::ScaleMode::TILE, "tile"}, })
 

Detailed Description