Skip to content

Commit 1ccfe2e

Browse files
authored
Add visualizer for Windows::UI::Color (#1095)
1 parent 3393e79 commit 1ccfe2e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

natvis/cppwinrt.natvis

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@
2020
<DisplayString Condition="this == 0">null</DisplayString>
2121
</Type>
2222
<!--Primitive type visualizers-->
23+
<Type Name="winrt::Windows::UI::Color">
24+
<DisplayString>#{A,nvoXb}{R,nvoXb}{G,nvoXb}{B,nvoXb}</DisplayString>
25+
</Type>
2326
<Type Name="winrt::array_view&lt;*&gt;">
2427
<DisplayString>{{size = {m_size}, {m_data,[m_size]}}}</DisplayString>
2528
<Expand>
2629
<ArrayItems>
27-
<Size>m_size</Size>
28-
<ValuePointer>m_data</ValuePointer>
30+
<Size>m_size</Size>
31+
<ValuePointer>m_data</ValuePointer>
2932
</ArrayItems>
3033
</Expand>
3134
</Type>

0 commit comments

Comments
 (0)