OG-Steam/OG-Steam/resource/layout/htmlpopup.layout

260 lines
4.9 KiB
Plaintext

"resource/layout/htmlpopup.layout"
{
controls
{
HTMLPopup { controlname="HTMLPopup" frametitle="" }
htmlpopupchild { controlname="HTML" zpos=1 }
URLBar { controlname="TextEntry" style="TextEntryURL" enabled=false }
EVCert { controlname="Label" style="LabelEVCert" visible=false }
StatusText { controlname="Label" }
URLStatusImage { controlname="ImagePanel" style="URLStatusImage" }
StopButton { controlname="Button" command="WebStop" labeltext="" style="StopButtonSm" }
ReloadButton { controlname="Button" command="WebReload" labeltext="" style="ReloadButtonSm" }
ForwardButton { controlname="Button" command="WebForward" labeltext="" style="ForwardButtonSm" }
BackButton { controlname="Button" command="WebBack" style="BackButtonSm" }
PageLoadThrobber { controlname="ImagePanel" image="graphics/rampDown_4" }
}
styles
{
BackButtonSm
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_back"
}
BackButtonSm:hover
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_back_over"
}
BackButtonSm:active
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_back_down"
}
BackButtonSm:disabled
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_back_disabled"
}
ForwardButtonSm
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_forward"
}
ForwardButtonSm:hover
{
inset="-2 0 2 0"
bgcolor=none
render_bg=
{
}
image="graphics/icon_button_forward_over"
}
ForwardButtonSm:active
{
inset="-2 0 2 0"
bgcolor=none
render_bg=
{
}
image="graphics/icon_button_forward_down"
}
ForwardButtonSm:disabled
{
inset="-2 0 2 0"
bgcolor=none
render_bg=
{
}
image="graphics/icon_button_forward_disabled"
}
ReloadButtonSm
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_reload"
}
ReloadButtonSm:hover
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_reload_over"
}
ReloadButtonSm:active
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_reload_down"
}
ReloadButtonSm:disabled
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_reload_disabled"
}
StopButtonSm
{
bgcolor=none
inset="-2 0 2 0"
render_bg=
{
}
image="graphics/icon_button_stop"
}
StopButtonSm:hover
{
inset="-2 0 2 0"
bgcolor=none
render_bg=
{
}
image="graphics/icon_button_stop_over"
}
StopButtonSm:active
{
inset="-2 0 2 0"
bgcolor=none
render_bg=
{
}
image="graphics/icon_button_stop_down"
}
StopButtonSm:disabled
{
inset="-2 0 2 0"
bgcolor=none
render_bg=
{
}
image="graphics/icon_button_stop_disabled"
}
TextEntryURL
{
font-family=basefont
font-size=14
textcolor="text2"
font-weight=400
bgcolor="DarkGreenBG"
selectedtextcolor="White"
selectedbgcolor="MaizeBG"
shadowtextcolor="Text" // this is the cursor color
inset-left=4
inset-top=-1
render
{
// lines around
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
}
}
TextEntryURL:Hover
{
textcolor="White"
render
{
// lines around
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
}
}
TextEntryURL:Disabled
{
textcolor="textdisabled"
}
LabelEVCert
{
font-family=basefont
font-size=16
textcolor="Black"
font-weight=400
bgcolor="html.secureurl"
inset-left=4
inset-right=4
inset-top=3
render=
{
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, none )" // right
}
}
URLStatusImage
{
bgcolor=none
inset="0 0 0 0"
render_bg={}
image="graphics/html_lock_disabled"
}
URLBarSecure
{
textcolor="html.secureurl"
}
URLBarBrokenSecure
{
textcolor="html.insecureurl"
}
}
layout
{
place { control="htmlpopupchild" width=max height=max margin-top=65 margin-left=4 margin-right=4 margin-bottom=26 }
place { control="StatusText" align=bottom height=24 margin-left=9 margin-bottom=1 }
place { control="PageLoadThrobber" align=right margin-top=34 margin-right=10 width=20 height=20 }
place { control="BackButton,ForwardButton,ReloadButton,StopButton,URLStatusImage,EVCert,URLBar" x=5 y=32 height=24 width=max spacing=8 margin-right=39 }
}
}