OG-Steam/OG-Steam/resource/layout/settingsdialog.layout

99 lines
2.3 KiB
Plaintext

"resource/layout/settingsdialog.layout"
{
controls
{
SettingsDialog { controlname="CDialogSettings" }
okbutton { controlname="OKButton" }
cancelbutton { controlname="CancelButton" }
settingslist { controlname="SettingsList" style="SettingsList" wide=180 }
sheet { controlname="Sheet" style="PropertySheet" }
}
styles
{
CDialogSettings
{
font-family=basefont
font-size=14
minimum-width="800"
minimum-height="620"
bgcolor=GreenBG
render_bg
{
}
}
PropertySheet
{
font-family=basefont
font-size=14
minimum-width="535"
minimum-height="505"
inset="0 50 0 0"
bgcolor=GreenBG
render
{
//1="fill( x0 + 1, y0, x1 - 1, y0 + 2, BorderBright )" // top
2="fill( x0, y1 - 1, x1 - 1, y1, BorderDark )" // bottom
//3="fill( x0, y0, x0 + 1, y1 - 1, BorderBright )" // left
//4="fill( x1 - 1, y0, x1, y1, BorderDark )" // right
}
}
"SettingsList"
{
inset="-3 0 0 0"
minimum-width="190"
minimum-height="525"
font-family=basefont
font-size=16
font-size=18 [$OSX]
padding=6
render
{
}
}
ListPanelInterior
{
inset="3 0 0 0"
font-family=basefont
font-size=14
font-size=16 [$OSX]
textcolor="White"
bgcolor="none"
render
{
//line to hide a bug here
0="fill(x0, y0 - 3, x1, y0 +1, GreenBG)"
1="fill( x0, y0, x1, y0 + 1, BorderDark )" // top
2="fill( x0, y1 - 1, x1, y1, BorderBright )" // bottom
3="fill( x0, y0, x0 + 1, y1, BorderDark )" // left
//4="fill( x1 - 1, y0, x1, y1, BorderBright )" // right
}
render_bg
{
}
}
}
layout
{
region { name="buttons" width=max height=36 align="bottom" }
region { name="body" width=max margin-bottom=46 margin-top=-20 margin-left=12 margin-right=0 }
place [!$OSX] { control="frame_minimize,frame_maximize,frame_close" align=right margin-top=8 margin-right=8 spacing=2 }
place { control="settingslist,sheet" region=body width=max height=max margin-right=15 spacing=-4 }
place { control="settingslist" margin-top=40 margin-bottom=46 margin-left=13 }
place { control="sheet" margin-left=200 margin-top=-10 margin-bottom=46 }
place { control="okbutton,cancelbutton" region="buttons"
width=92 height=25 align=right
margin-right=13 margin-top=0
margin-bottom=2 spacing=10 }
}
}