Files
Aerofoil/PortabilityLayer/PLLabelWidget.h

24 lines
470 B
C
Raw Normal View History

#pragma once
#include "PascalStr.h"
#include "PLWidgets.h"
namespace PortabilityLayer
{
class LabelWidget final : public WidgetSpec<LabelWidget>
{
public:
LabelWidget(const WidgetBasicState &state);
2020-05-18 02:03:17 -04:00
bool Init(const WidgetBasicState &state, const void *additionalData) override;
void SetString(const PLPasStr &str) override;
PLPasStr GetString() const override;
void DrawControl(DrawSurface *surface) override;
private:
PascalStr<255> m_text;
};
}