1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

LibGUI: Save some more state from AbstractButton

The more stuff we save in save_to() overrides, the more interesting it
becomes inspecting GUI programs. :^)
This commit is contained in:
Andreas Kling 2020-03-03 21:42:08 +01:00
parent 86812af077
commit 0cafbbf09c
2 changed files with 12 additions and 0 deletions

View file

@ -70,6 +70,8 @@ protected:
virtual void leave_event(Core::Event&) override;
virtual void change_event(Event&) override;
virtual void save_to(JsonObject&) override;
void paint_text(Painter&, const Gfx::Rect&, const Gfx::Font&, Gfx::TextAlignment);
private: