summaryrefslogtreecommitdiff
path: root/DevTools/Inspector/RemoteProcess.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-05 14:42:05 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-05 14:42:05 +0100
commite23c5b7e83fe6de92f5d4796ea50e368002a2d2e (patch)
tree53f67575945be08b276d709b269f0a8857bad4c0 /DevTools/Inspector/RemoteProcess.h
parentd16f8214d89348062c19908d8651ac94d13c5aa9 (diff)
downloadserenity-e23c5b7e83fe6de92f5d4796ea50e368002a2d2e.zip
LibGUI+Inspector: Highlight the currently remotely inspected widget
This patch adds a magenta rectangle around the currently inspected widget. This allows you to browse an app's widget tree somewhat visually using the Inspector. :^)
Diffstat (limited to 'DevTools/Inspector/RemoteProcess.h')
-rw-r--r--DevTools/Inspector/RemoteProcess.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/DevTools/Inspector/RemoteProcess.h b/DevTools/Inspector/RemoteProcess.h
index 409f1bda43..1c21477e84 100644
--- a/DevTools/Inspector/RemoteProcess.h
+++ b/DevTools/Inspector/RemoteProcess.h
@@ -43,6 +43,8 @@ public:
RemoteObjectGraphModel& object_graph_model() { return *m_object_graph_model; }
const NonnullOwnPtrVector<RemoteObject>& roots() const { return m_roots; }
+ void set_inspected_object(uintptr_t);
+
Function<void()> on_update;
private: