Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
|
Contains class defining this project's implementation of nine-slice (or nine-region) resizable panels. More...
#include <SDL2/SDL.h>
#include <nlohmann/json.hpp>
#include <glm/glm.hpp>
#include "toymaker/shader_program.hpp"
#include "toymaker/core/resource_database.hpp"
#include "toymaker/texture.hpp"
Go to the source code of this file.
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... | |
Functions | |
NLOHMANN_JSON_SERIALIZE_ENUM (NineSlicePanel::ScaleMode, { {NineSlicePanel::ScaleMode::STRETCH, "stretch"}, {NineSlicePanel::ScaleMode::TILE, "tile"}, }) | |
Contains class defining this project's implementation of nine-slice (or nine-region) resizable panels.