Added more info in README. Updated comments

This commit is contained in:
2025-12-15 14:49:33 +02:00
parent 8e276ab2ab
commit 3d45fc89fc
4 changed files with 27 additions and 8 deletions

View File

@@ -5,6 +5,7 @@
#include "../json.hpp"
#include <memory>
// Base Widget class for the whole Widget system
class Widget
{
protected:

View File

@@ -3,6 +3,7 @@
#include "Widget.h"
// Renders a rectangle with optional rounded corners using either fill or internal stroke
class WidgetRect : public Widget
{
protected:

View File

@@ -8,6 +8,7 @@
#include "../sdl_helpers.h"
// Renders text within a specified box
class WidgetText : public Widget
{
protected: