Skip to content

Commit

Permalink
fixed new buttons added in Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
redsigma committed May 27, 2020
1 parent 17bc4e6 commit 595ccdf
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 118 deletions.
Original file line number Diff line number Diff line change
@@ -1,69 +1,71 @@
"resource/layout/settingssubstreaming.layout"
{
controls
{
"DescriptionLabel" { ControlName="Label" fieldName="DescriptionLabel" wrap=1 labelText="#Steam_Settings_Streaming_Description" }
"RemoteClientList" { ControlName="ListPanel" style="RemoteClientList" tall=140 }
"PerfInstructionsLabel" { ControlName="Label" fieldName="PerfInstructionsLabel" wrap=1 labelText="#Steam_Settings_Streaming_Perf_Instructions" hello=78 }
"SupportInformationLabel" { ControlName="URLLabel" fieldName="SupportInformationLabel" labelText="#Steam_Settings_Streaming_StreamingSupport" URLText="https://support.valvesoftware.com/kb_article.php?ref=3629-RIAV-1617" }

"BandwidthLabel" { ControlName="Label" associate="BandwidthLimit" labelText="#Steam_Settings_Streaming_Bandwidth" }
"BandwidthLimit" { ControlName="ComboBox" fieldName="BandwidthLimit" style="BandwidthLimit" }

"FramerateLabel" { ControlName="Label" associate="FramerateLimit" labelText="#Steam_Settings_Streaming_Framerate" }
"FramerateLimit" { ControlName="ComboBox" fieldName="FramerateLimit" style="FramerateLimit" }

"ResolutionLabel" { ControlName="Label" associate="ResolutionLimit" labelText="#Steam_Settings_Streaming_Resolution" }
"ResolutionLimit" { ControlName="ComboBox" fieldName="ResolutionLimit" style="ResolutionLimit" }

"HwAccelDisable" { ControlName="CheckButton" fieldName="HwAccelDisable" labelText="#Steam_Settings_Streaming_DisableHardwareDecoding" }
}

styles
{
CSettingsSubStreaming
{
render_bg
{
0="image(x0+16,y0+8,x1,y1, graphics/metro/labels/settings/inhomestreaming)"
}
}
ListPanel
{
bgcolor=Header_Dark
padding-left=8
}
ListPanelColumnHeader
{
padding-left=3
inset-left=0
}
ListPanelSectionHeader
{
padding-left=8
}
}

layout
{
region { name=box margin-left=16 margin-right=16 }
controls
{
"DescriptionLabel" { ControlName="Label" fieldName="DescriptionLabel" wrap=1 labelText="#Steam_Settings_Streaming_Description" }
"RemoteClientList" { ControlName="ListPanel" style="RemoteClientList" tall=140 }
"PerfInstructionsLabel" { ControlName="Label" fieldName="PerfInstructionsLabel" wrap=1 labelText="#Steam_Settings_Streaming_Perf_Instructions" hello=78 }
"SupportInformationLabel" { ControlName="URLLabel" fieldName="SupportInformationLabel" labelText="#Steam_Settings_Streaming_StreamingSupport" URLText="https://support.valvesoftware.com/kb_article.php?ref=3629-RIAV-1617" }

"BandwidthLabel" { ControlName="Label" associate="BandwidthLimit" labelText="#Steam_Settings_Streaming_Bandwidth" }
"BandwidthLimit" { ControlName="ComboBox" fieldName="BandwidthLimit" style="BandwidthLimit" }

"FramerateLabel" { ControlName="Label" associate="FramerateLimit" labelText="#Steam_Settings_Streaming_Framerate" }
"FramerateLimit" { ControlName="ComboBox" fieldName="FramerateLimit" style="FramerateLimit" }

"ResolutionLabel" { ControlName="Label" associate="ResolutionLimit" labelText="#Steam_Settings_Streaming_Resolution" }
"ResolutionLimit" { ControlName="ComboBox" fieldName="ResolutionLimit" style="ResolutionLimit" }

"HwAccelDisable" { ControlName="CheckButton" fieldName="HwAccelDisable" labelText="#Steam_Settings_Streaming_DisableHardwareDecoding" }
}
styles
{
CSettingsSubStreaming
{
render_bg
{
0="image(x0+16,y0+8,x1,y1, graphics/metro/labels/settings/inhomestreaming)"
}
}
ListPanel
{
bgcolor=Header_Dark
padding-left=8
}
ListPanelColumnHeader
{
padding-left=3
inset-left=0
}
ListPanelSectionHeader
{
padding-left=8
}
}
layout
{
region { name=box margin-left=16 margin-right=16 }
region { name=center width=max align=center }

place { region=box control="RemoteClientList" height=160 }
place { region=box control="DescriptionLabel,EnableStreaming,RemoteClientList" dir=down align=top width=max y=33 spacing=6 }
place { start=RemoteClientList control=Pair y=6 width=155 dir=down } // dunno why valve added z here, it does nothing :\

place { region=box control="DescriptionLabel" dir=down align=top width=max y=33 }
place { region=box control="EnableStreaming" start=DescriptionLabel y=6 width=max height=24 dir=down }
place { region=box control="RemoteClientList" start=EnableStreaming y=6 width=max height=140 dir=down }
place { start=RemoteClientList control=Pair y=6 width=155 dir=down } // dunno why valve added z here, it does nothing :\
place { start=Pair control="Unpair,SetPIN" x=6 width=155 spacing=6 }

place { region=box control="HostDivider,HostLabel" start=Pair y=6 dir=down width=max spacing=8 }
place { region=box control="AdvancedHostOptions" y=6 dir=down start=HostLabel height=28 }
place { region=box control="UnsupportedPlatform" y=6 dir=down start=HostLabel height=28 }

place { region=box control="ClientDivider,ClientLabel" y=6 start=AdvancedHostOptions dir=down width=max spacing=8 }

place { region=box control="QualityFast" y=6 start="ClientLabel" dir=down }
place { region=box control="QualityBalanced" x=8 start="QualityFast" }
place { region=box control="QualityBeautiful" x=8 start="QualityBalanced" }

place { region=box control="AdvancedClientOptions,SupportInformationLabel" y=6 spacing=8 height=28 start="QualityFast" dir=down }
}

place { region=box control="P2PScopeLabel" start=Pair y=6 dir=down width=max }
place { region=box control="P2PScope" start=P2PScopeLabel y=6 dir=down width=450 height=24 }
place { region=box control="HostDivider,HostLabel" y=350 width=max spacing=6 dir=down }

place { region=box control="AdvancedHostOptions" y=6 dir=down start=HostLabel height=28 }
place { region=box control="UnsupportedPlatform" y=6 dir=down start=HostLabel height=28 }

place { region=box control="ClientDivider,ClientLabel,ClientLabelRemote,ClientLabelLocal" y=4 start=AdvancedHostOptions dir=down width=max spacing=6 }
place { region=box control="QualityFast" y=24 start="ClientDivider" dir=down }
place { region=box control="QualityBalanced" x=8 start="QualityFast" }
place { region=box control="QualityBeautiful" x=8 start="QualityBalanced" }

place { region=box control="AdvancedClientOptions" y=6 height=28 start="QualityFast" dir=down }
place { region=box control="SupportInformationLabel" y=4 start=AdvancedClientOptions align=right }
}
}
Original file line number Diff line number Diff line change
@@ -1,38 +1,36 @@
"resource/layout/settingssubstreaming_advanced_client.layout"
{
controls
{
"DescriptionLabel" { ControlName="Label" fieldName="DescriptionLabel" wrap=1 labelText="#Steam_Settings_Streaming_AdvancedClientOptions_Description" }

"BandwidthLabel" { ControlName="Label" associate="BandwidthLimit" labelText="#Steam_Settings_Streaming_Bandwidth" }
"BandwidthLimit" { ControlName="ComboBox" fieldName="BandwidthLimit" style="BandwidthLimit" }

"ResolutionLabel" { ControlName="Label" associate="ResolutionLimit" labelText="#Steam_Settings_Streaming_Resolution" }
"ResolutionLimit" { ControlName="ComboBox" fieldName="ResolutionLimit" style="ResolutionLimit" }

"AudioChannelsLabel" { ControlName="Label" associate="AudioChannelSelect" labelText="#Steam_Settings_Streaming_AudioChannelSelect" }
"AudioChannelSelect" { ControlName="ComboBox" fieldName="AudioChannelSelect" editable="0" }

"EnableHardwareDecoding" { ControlName="CheckButton" fieldName="EnableHardwareDecoding" labelText="#Steam_Settings_Streaming_EnableHardwareDecoding" }
"EnableDebugOverlay" { ControlName="CheckButton" fieldName="EnableDebugOverlay" labelText="#Steam_Settings_Streaming_EnableDebugOverlay" }

"SupportInformationLabel" { ControlName="URLLabel" fieldName="SupportInformationLabel" labelText="#Steam_Settings_Streaming_StreamingSupport" URLText="https://support.steampowered.com/kb_article.php?ref=3629-RIAV-1617" }

OKButton { ControlName="Button" fieldName="OKButton" command="Close" labelText="#PropertyDialog_OK" }
}

styles
{
}

layout
{
place { control="DescriptionLabel" y=44 dir=down width=max margin-left=16 margin-right=16 spacing=8 }
place { control="BandwidthLabel,BandwidthLimit,ResolutionLabel,ResolutionLimit,AudioChannelsLabel,AudioChannelSelect,PerformanceOverlayLabel,PerformanceOverlay,EnableHardwareDecoding" start="DescriptionLabel" y=8 dir=down width=max height=28 margin-right=16 spacing=-2 }

region { name=bottom align=bottom height=44 margin=8 }
region { name=support align=bottom height=80 margin=8 }
place { control="SupportInformationLabel" x=8 region=support }
place { control="OKButton" region=bottom align=right spacing=8 width=84 height=28 }
controls
{
"DescriptionLabel" { ControlName="Label" fieldName="DescriptionLabel" wrap=1 labelText="#Steam_Settings_Streaming_AdvancedClientOptions_Description" }

"BandwidthLabel" { ControlName="Label" associate="BandwidthLimit" labelText="#Steam_Settings_Streaming_Bandwidth" }
"BandwidthLimit" { ControlName="ComboBox" fieldName="BandwidthLimit" style="BandwidthLimit" }

"ResolutionLabel" { ControlName="Label" associate="ResolutionLimit" labelText="#Steam_Settings_Streaming_Resolution" }
"ResolutionLimit" { ControlName="ComboBox" fieldName="ResolutionLimit" style="ResolutionLimit" }

"AudioChannelsLabel" { ControlName="Label" associate="AudioChannelSelect" labelText="#Steam_Settings_Streaming_AudioChannelSelect" }
"AudioChannelSelect" { ControlName="ComboBox" fieldName="AudioChannelSelect" editable="0" }

"EnableHardwareDecoding" { ControlName="CheckButton" fieldName="EnableHardwareDecoding" labelText="#Steam_Settings_Streaming_EnableHardwareDecoding" }
"EnableDebugOverlay" { ControlName="CheckButton" fieldName="EnableDebugOverlay" labelText="#Steam_Settings_Streaming_EnableDebugOverlay" }

"SupportInformationLabel" { ControlName="URLLabel" fieldName="SupportInformationLabel" labelText="#Steam_Settings_Streaming_StreamingSupport" URLText="https://support.steampowered.com/kb_article.php?ref=3629-RIAV-1617" }

OKButton { ControlName="Button" fieldName="OKButton" command="Close" labelText="#PropertyDialog_OK" }
}
styles
{
}
layout
{
place { control="DescriptionLabel,DescriptionLabelLocal,BandwidthLabel" y=44 dir=down width=max margin-left=16 margin-right=16 spacing=8 }
place { control="BandwidthLimit,ResolutionLabel,ResolutionLimit,AudioChannelsLabel,AudioChannelSelect,PerformanceOverlayLabel,PerformanceOverlay,ControllerOverlayHotkeyLabel,ControllerOverlayHotkey,EnableHardwareDecoding,EnableTouchController" start="BandwidthLabel" y=8 dir=down width=max height=28 margin-right=16 spacing=-2 }

region { name=bottom align=bottom height=44 margin=8 }
region { name=support align=bottom height=80 margin=8 }
place { control="SupportInformationLabel" x=8 region=support }
place { control="OKButton" region=bottom align=right spacing=8 width=84 height=28 }
}
}
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
"resource/layout/subpaneloptionsshadercache.layout"
{
controls
{
ShaderCacheEnabledCheckbox { controlname=button labeltext="#Steam_Settings_ShaderCache_Enable" wrap=1 }
ShaderCacheInfo { controlname=label labeltext="#Steam_Settings_ShaderCache_Info" wrap=1 }
}
colors
{
}
styles
{
}
layout
{
region { name=box margin-left=16 margin-right=16 }

colors
{
}
styles
{
}

layout
{
region { name=box margin-left=16 margin-right=16 }

place { control=ShaderCacheInfo region=box y=6 width=max }
place { start=ShaderCacheInfo region=box control="ShaderCacheEnabledCheckbox" y=6 width=450 dir=down }
}
place { control=ShaderCacheInfo region=box y=6 width=max }
place { start=ShaderCacheInfo region=box control="ShaderCacheEnabledCheckbox,ShaderCacheBGProcessingEnabledCheckbox" y=6 width=450 dir=down }
place { start=ShaderCacheBGProcessingEnabledCheckbox region=box control="ShaderCacheBGProcessingProgress" dir=down }
}
}
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.1.17
9.1.18

0 comments on commit 595ccdf

Please sign in to comment.