aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/imgui/misc/natvis/imgui.natvis
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2018-10-26 17:27:47 +0200
committerGitHub <noreply@github.com>2018-10-26 17:27:47 +0200
commit757dcd2a5277ef65d9ce4ff7b118e6072edbb71a (patch)
tree27c31559c02d6fb8e57d032f54daf190591e61e0 /3rdparty/imgui/misc/natvis/imgui.natvis
parent40a8e17db63ec0fea417f6fc1b1711ddbdec5330 (diff)
parent62a615a17d9b69f3b727d59ed13e297ace610778 (diff)
downloadnextpnr-757dcd2a5277ef65d9ce4ff7b118e6072edbb71a.tar.gz
nextpnr-757dcd2a5277ef65d9ce4ff7b118e6072edbb71a.tar.bz2
nextpnr-757dcd2a5277ef65d9ce4ff7b118e6072edbb71a.zip
Merge pull request #96 from YosysHQ/imgui
Imgui integration
Diffstat (limited to '3rdparty/imgui/misc/natvis/imgui.natvis')
-rw-r--r--3rdparty/imgui/misc/natvis/imgui.natvis39
1 files changed, 39 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- natvis file for Visual Studio debugger (you can include this in a project file, or install in visual studio folder) -->
+
+<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
+
+<Type Name="ImVector&lt;*&gt;">
+ <DisplayString>{{Size={Size} Capacity={Capacity}}}</DisplayString>
+ <Expand>
+ <ArrayItems>
+ <Size>Size</Size>
+ <ValuePointer>Data</ValuePointer>
+ </ArrayItems>
+ </Expand>
+</Type>
+
+<Type Name="ImVec2">
+ <DisplayString>{{x={x,g} y={y,g}}}</DisplayString>
+</Type>
+
+<Type Name="ImVec4">
+ <DisplayString>{{x={x,g} y={y,g} z={z,g} w={w,g}}}</DisplayString>
+</Type>
+
+<Type Name="ImRect">
+ <DisplayString>{{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})}}</DisplayString>
+ <Expand>
+ <Item Name="Min">Min</Item>
+ <Item Name="Max">Max</Item>
+ <Item Name="[Width]">Max.x - Min.x</Item>
+ <Item Name="[Height]">Max.y - Min.y</Item>
+ </Expand>
+</Type>
+
+<Type Name="ImGuiWindow">
+ <DisplayString>{{Name={Name,s} Active {(Active||WasActive)?1:0,d} Child {(Flags &amp; 0x01000000)?1:0,d} Popup {(Flags &amp; 0x04000000)?1:0,d}}</DisplayString>
+</Type>
+
+</AutoVisualizer> \ No newline at end of file