1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +00:00

VisualBuilder: Emit on_widget_selected() when appropriate.

This allows the properties window to stay in sync with what's happening.
For multi-widget selections, we don't show any properties.
This commit is contained in:
Andreas Kling 2019-04-19 23:09:38 +02:00
parent b64408a564
commit 986f5806d7
2 changed files with 4 additions and 3 deletions

View file

@ -35,7 +35,7 @@ protected:
virtual void keydown_event(GKeyEvent&) override;
private:
void grabber_mousedown_event(GMouseEvent&, VBWidget&, Direction grabber);
void grabber_mousedown_event(GMouseEvent&, Direction grabber);
void set_single_selected_widget(VBWidget*);
void add_to_selection(VBWidget&);
void remove_from_selection(VBWidget&);