From b948b76c8ea5ec57b6a424baa1b117c0025c0328 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 21 Oct 2018 09:28:35 +0200 Subject: add imgui library --- 3rdparty/imgui/misc/natvis/README.txt | 4 ++++ 3rdparty/imgui/misc/natvis/imgui.natvis | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 3rdparty/imgui/misc/natvis/README.txt create mode 100644 3rdparty/imgui/misc/natvis/imgui.natvis (limited to '3rdparty/imgui/misc/natvis') diff --git a/3rdparty/imgui/misc/natvis/README.txt b/3rdparty/imgui/misc/natvis/README.txt new file mode 100644 index 00000000..60073874 --- /dev/null +++ b/3rdparty/imgui/misc/natvis/README.txt @@ -0,0 +1,4 @@ + +Natvis file to describe dear imgui types in the Visual Studio debugger. +With this, types like ImVector<> will be displayed nicely in the debugger. +You can include this file a Visual Studio project file, or install it in Visual Studio folder. diff --git a/3rdparty/imgui/misc/natvis/imgui.natvis b/3rdparty/imgui/misc/natvis/imgui.natvis new file mode 100644 index 00000000..48b20426 --- /dev/null +++ b/3rdparty/imgui/misc/natvis/imgui.natvis @@ -0,0 +1,39 @@ + + + + + + + + {{Size={Size} Capacity={Capacity}}} + + + Size + Data + + + + + + {{x={x,g} y={y,g}}} + + + + {{x={x,g} y={y,g} z={z,g} w={w,g}}} + + + + {{Min=({Min.x,g} {Min.y,g}) Max=({Max.x,g} {Max.y,g}) Size=({Max.x-Min.x,g} {Max.y-Min.y,g})}} + + Min + Max + Max.x - Min.x + Max.y - Min.y + + + + + {{Name={Name,s} Active {(Active||WasActive)?1:0,d} Child {(Flags & 0x01000000)?1:0,d} Popup {(Flags & 0x04000000)?1:0,d}} + + + \ No newline at end of file -- cgit v1.2.3