1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 23:08:11 +00:00

Inspector: Make properties editable :^)

This patch makes it possible to live-edit remote object properties by
simply double clicking on them in the property table view.

This is pretty neat! :^)
This commit is contained in:
Andreas Kling 2020-03-05 15:47:24 +01:00
parent 3edcaa9b99
commit b2be8466fb
5 changed files with 39 additions and 0 deletions

View file

@ -34,6 +34,8 @@ class RemoteObject;
class RemoteProcess {
public:
static RemoteProcess& the();
explicit RemoteProcess(pid_t);
void update();
@ -45,6 +47,8 @@ public:
void set_inspected_object(uintptr_t);
void set_property(uintptr_t object, const StringView& name, const JsonValue& value);
Function<void()> on_update;
private: