Add some initial widget functionality (prefs partly working)

This commit is contained in:
elasota
2020-01-01 20:24:46 -05:00
parent d9b5dd20d6
commit 5fe6218c28
85 changed files with 2131 additions and 1074 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include "PascalStr.h"
#include "PLWidgets.h"
namespace PortabilityLayer
{
class LabelWidget final : public WidgetSpec<LabelWidget>
{
public:
LabelWidget(const WidgetBasicState &state);
bool Init(const WidgetBasicState &state) override;
void DrawControl(DrawSurface *surface) override;
private:
PascalStr<255> m_text;
};
}