Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
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"}, }) | |
Contains the class representation of UI buttons used in this project.