mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Emscripten port
This commit is contained in:
@@ -7,7 +7,7 @@ namespace PortabilityLayer
|
||||
{
|
||||
class PixMapImpl;
|
||||
|
||||
class IconWidget final : public WidgetSpec<IconWidget>
|
||||
class IconWidget final : public WidgetSpec<IconWidget, WidgetTypes::kIcon>
|
||||
{
|
||||
public:
|
||||
IconWidget(const WidgetBasicState &state);
|
||||
@@ -17,7 +17,8 @@ namespace PortabilityLayer
|
||||
|
||||
void DrawControl(DrawSurface *surface) override;
|
||||
|
||||
WidgetHandleState_t ProcessEvent(void *captureContext, const TimeTaggedVOSEvent &evt) 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:
|
||||
THandle<PixMapImpl> m_iconImage;
|
||||
|
Reference in New Issue
Block a user