mirror of
https://github.com/elasota/Aerofoil.git
synced 2026-03-06 15:16:14 +00:00
More window chrome improvements
This commit is contained in:
@@ -11,17 +11,21 @@ namespace PortabilityLayer
|
||||
CheckboxWidget(const WidgetBasicState &state);
|
||||
~CheckboxWidget();
|
||||
|
||||
bool Init(const WidgetBasicState &state) override;
|
||||
bool Init(const WidgetBasicState &state, const void *additionalData) override;
|
||||
|
||||
void DrawControl(DrawSurface *surface) override;
|
||||
void SetString(const PLPasStr &str) override;
|
||||
PLPasStr GetString() const override;
|
||||
|
||||
void OnStateChanged() override;
|
||||
void OnEnabledChanged() override;
|
||||
int16_t Capture(const Point &pos, WidgetUpdateCallback_t callback) override;
|
||||
|
||||
WidgetHandleState_t ProcessEvent(const TimeTaggedVOSEvent &evt);
|
||||
|
||||
private:
|
||||
void DrawControlInternal(DrawSurface *surface, bool inverted);
|
||||
|
||||
PascalStr<255> m_text;
|
||||
bool m_haveMouseDown;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user