mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Add some initial widget functionality (prefs partly working)
This commit is contained in:
20
PortabilityLayer/PLLabelWidget.h
Normal file
20
PortabilityLayer/PLLabelWidget.h
Normal 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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user