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_button.hpp File Reference

Contains the class representation of UI buttons used in this project. More...

#include <nlohmann/json.hpp>
#include "toymaker/sim_system.hpp"
#include "toymaker/signals.hpp"
#include "interface_pointer_callback.hpp"
#include "nine_slice_panel.hpp"

Go to the source code of this file.

Classes

class  UIButton
 A UI component class for creating simple buttons comprised of a resizable panel and some text. More...
 

Functions

 NLOHMANN_JSON_SERIALIZE_ENUM (UIButton::State, { {UIButton::State::ACTIVE, "active"}, {UIButton::State::HOVER, "hover"}, {UIButton::State::PRESSED, "pressed"}, {UIButton::State::INACTIVE, "inactive"}, })
 

Detailed Description

Contains the class representation of UI buttons used in this project.

Author
Zoheb Shujauddin (zoheb.nosp@m.2424.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
Version
0.3.2
Date
2025-09-13