/
overlaytaskbar.layout
100 lines (87 loc) · 2.04 KB
/
overlaytaskbar.layout
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
"resource/layout/overlaytaskbar.layout"
{
controls
{
TaskbarPanel
{
controlname="EditablePanel"
}
SettingsButton
{
controlname="URLLabel"
labeltext="#Overlay_Taskbar_Settings"
style=taskbar
}
WebBrowserButton
{
controlname="URLLabel"
labeltext="#Overlay_Taskbar_WebBrowser"
style=taskbar
}
MusicPlayerButton
{
controlname="URLLabel"
labeltext="#Overlay_Taskbar_Music"
style=taskbar
}
SteamLogo
{
controlname="ImagePanel" zpos=1 image="resource/steam_logo_big"
scaleimage=1
}
view_friends
{
ControlName=URLLabel
labelText="#Steam_ViewFriends"
command="OpenFriendsDialog"
style="view_friends"
textAlignment=east
}
}
styles
{
taskbar
{
inset-right=20
textcolor=Label
font-style=uppercase
text-align=east
render_bg
{
1="fill( x1 + 1 , y0 - 1, x1 + 8, y1 + 1, Black )"
2="fill( x1 - 150, y0 - 1, x1 - 1, y1 + 1, BlackTr1 )"
}
}
taskbar:hover
{
textcolor=Text
}
view_friends
{
inset="0 0 0 0"
image="graphics/friends_button"
bgcolor=none
render_bg {}
}
view_friends:Hover
{
textcolor="textHover"
}
online_friends
{
textcolor="Link"
font-style=regular
bgcolor="none"
}
}
layout
{
region { name=bottom align=bottom width=max height=100 }
place { control="TaskbarPanel" region="bottom" width=max height=64 margin-bottom=37 }
place { control="SteamLogo" width=1 height=1 x=9999 y=9999 }
place { controls="MusicPlayerButton,WebBrowserButton,SettingsButton,ScreenshotsButton" align=right dir=down spacing=7 height=40 width=100 margin-right=18 }
place { control="FriendPanel" region="bottom" height=48 width=48 align=right margin-right=20 margin-top=33 }
place { control="view_friends" region="bottom" height=34 align=right margin-right=74 margin-top=43 }
place { control="online_friends" region="bottom" height=12 align=right margin-right=74 margin-top=57 }
}
}