1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

LibGUI: Implement set_property() on Widget and AbstractButton

This makes it possible for an RPC client to modify some interesting
widget properties.
This commit is contained in:
Andreas Kling 2020-03-05 15:46:37 +01:00
parent 42f2696355
commit 3edcaa9b99
4 changed files with 50 additions and 0 deletions

View file

@ -296,6 +296,8 @@ protected:
virtual void did_begin_inspection() override;
virtual void did_end_inspection() override;
virtual bool set_property(const StringView& name, const JsonValue& value) override;
private:
void handle_paint_event(PaintEvent&);
void handle_resize_event(ResizeEvent&);