Added more info in README. Updated comments
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "../json.hpp"
|
||||
#include <memory>
|
||||
|
||||
// Base Widget class for the whole Widget system
|
||||
class Widget
|
||||
{
|
||||
protected:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "../sdl_helpers.h"
|
||||
|
||||
// Renders text within a specified box
|
||||
class WidgetText : public Widget
|
||||
{
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user