mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Emscripten port
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class LabelWidget final : public WidgetSpec<LabelWidget>
|
||||
class LabelWidget final : public WidgetSpec<LabelWidget, WidgetTypes::kLabel>
|
||||
{
|
||||
public:
|
||||
LabelWidget(const WidgetBasicState &state);
|
||||
@@ -17,6 +17,9 @@ namespace PortabilityLayer
|
||||
|
||||
void DrawControl(DrawSurface *surface) override;
|
||||
|
||||
WidgetHandleState_t ProcessEvent(void *captureContext, const TimeTaggedVOSEvent &evt) GP_ASYNCIFY_PARANOID_OVERRIDE;
|
||||
int16_t Capture(void *captureContext, const Point &pos, WidgetUpdateCallback_t callback) GP_ASYNCIFY_PARANOID_OVERRIDE;
|
||||
|
||||
private:
|
||||
PascalStr<255> m_text;
|
||||
};
|
||||
|
Reference in New Issue
Block a user