Implement UIs using RmlUi

This commit is contained in:
Lexi / Zoe 2026-05-10 23:23:40 +02:00
parent 8039b1276e
commit 7f37be386d
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
27 changed files with 1457 additions and 42 deletions

View file

@ -1,6 +1,6 @@
module;
#include <SDL3/SDL.h>
#include <SDL3/SDL_rect.h>
export module wrappers.sdl.rect;
@ -11,12 +11,12 @@ export namespace sdl
using Point = SDL_Point;
/**
* Wrapper around SDL_FRect using class inheritance.
* Wrapper for SDL_FRect using class inheritance.
*/
class FRect : public SDL_FRect
{
/**
* Wrapper around SDL_RectEmptyFloat().
* Wrapper for SDL_RectEmptyFloat().
* @return True if the floating point rectangle takes no space.
*/
bool is_empty() const
@ -26,12 +26,12 @@ export namespace sdl
};
/**
* Wrapper around SDL_Rect using class inheritance.
* Wrapper for SDL_Rect using class inheritance.
*/
class Rect : public SDL_Rect
{
/**
* Wrapper around SDL_RectEmpty().
* Wrapper for SDL_RectEmpty().
* @return True if the rectangle takes no space.
*/
bool is_empty() const