From 849d1a6a30375119d3a5affd6873de1feecf0865 Mon Sep 17 00:00:00 2001 From: omar Date: Thu, 9 Apr 2020 13:51:32 +0200 Subject: [PATCH] Item picker --- Developer-Tips.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Developer-Tips.md b/Developer-Tips.md index 802d87d..fdb343e 100644 --- a/Developer-Tips.md +++ b/Developer-Tips.md @@ -3,6 +3,12 @@ If you are working on Dear ImGui codebase: ### Metrics The Metrics window exposes lots of information about the library state. +### Item Picker +The Item Picker will allow you to pick an item with the mouse and have Dear ImGui break within the call-stack of that item. This is useful if you have large UI / codebase and you would to easily find out where some UI item is emitted. +You can find it in _Metrics>Tools>Item Picker_. Also see [#2673](https://github.com/ocornut/imgui/issues/2673). + +![Item Picker](https://user-images.githubusercontent.com/8225057/61412736-7d2e5b80-a89e-11e9-9bb3-54c097025abe.png) + ### Visual debugging You can use drawlist primitives on the foreground drawlist, e.g. `GetForegroundDrawList()->AddRectFilled(...)` to bypass clipping of the current window's drawlist.