diff options
author | SupSuper | 2018-12-18 05:44:19 +0000 |
---|---|---|
committer | Filippos Karapetis | 2018-12-23 18:39:06 +0200 |
commit | 8352986b8891beb923abd7fc12880386384da0bb (patch) | |
tree | 5bce3b42ced28eab97daddec23d81f50ac9f7754 /devtools/create_project/scripts | |
parent | 3482d9bacfea8242868c4486caad3d080af6cb1e (diff) | |
download | scummvm-rg350-8352986b8891beb923abd7fc12880386384da0bb.tar.gz scummvm-rg350-8352986b8891beb923abd7fc12880386384da0bb.tar.bz2 scummvm-rg350-8352986b8891beb923abd7fc12880386384da0bb.zip |
MSVC: Cleanup natvis properties
Diffstat (limited to 'devtools/create_project/scripts')
-rw-r--r-- | devtools/create_project/scripts/scummvm.natvis | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/devtools/create_project/scripts/scummvm.natvis b/devtools/create_project/scripts/scummvm.natvis index 855ab286fd..74003dd7a0 100644 --- a/devtools/create_project/scripts/scummvm.natvis +++ b/devtools/create_project/scripts/scummvm.natvis @@ -20,6 +20,9 @@ </Synthetic> <Item Name="[channels]" Condition="format.bytesPerPixel==1">1</Item> <Item Name="[channels]" Condition="format.bytesPerPixel==2">2</Item> + <Synthetic Name="[channels]" Condition="format.bytesPerPixel==3"> + <DisplayString>RGB</DisplayString> + </Synthetic> <Synthetic Name="[channels]" Condition="format.bytesPerPixel==4"> <DisplayString>RGBA</DisplayString> </Synthetic> @@ -31,7 +34,7 @@ </Type> <Type Name="Common::Array<*>"> - <DisplayString>{{size = {_size}}}</DisplayString> + <DisplayString>{{ size={_size} }}</DisplayString> <Expand> <Item Name="[size]">_size</Item> <Item Name="[capacity]">_capacity</Item> @@ -43,7 +46,7 @@ </Type> <Type Name="Common::HashMap<*,*,*,*>"> - <DisplayString>{{ size = {_size} }}</DisplayString> + <DisplayString>{{ size={_size} }}</DisplayString> <Expand> <Item Name="[size]">_size</Item> <Item Name="[capacity]">_mask + 1</Item> @@ -81,8 +84,8 @@ </Type> <Type Name="Common::String"> - <DisplayString>{_str,[_size]}</DisplayString> - <StringView>_str,[_size]</StringView> + <DisplayString>{_str,na}</DisplayString> + <StringView>_str,na</StringView> <Expand> <Item Name="[size]">_size</Item> <Item Condition="_str != _storage" Name="[capacity]">_extern._capacity</Item> |