-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
seq
committed
Jul 25, 2018
1 parent
55087fd
commit 9d4d4db
Showing
18 changed files
with
545 additions
and
1,409 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
"resource/layout/accountbutton.layout" | ||
{ | ||
controls | ||
{ | ||
account_avatar | ||
{ | ||
"ControlName" "Image" | ||
"fieldName" "account_avatar" | ||
"zpos" "-2" // behind dropdown button | ||
} | ||
|
||
account_drop_down | ||
{ | ||
"ControlName" "Label" | ||
"fieldName" "account_drop_down" | ||
"zpos" "-2" // behind dropdown button | ||
"style" "AccountDropDownStyleOffline" | ||
} | ||
|
||
|
||
account_balance | ||
{ | ||
"ControlName" "Label" | ||
"fieldName" "account_balance" | ||
"style" "AccountBalanceStyle" | ||
|
||
"zpos" "-2" // behind dropdown button | ||
} | ||
|
||
account_persona | ||
{ | ||
"ControlName" "Label" | ||
"fieldName" "account_persona" | ||
"style" "AccountPersonaStyleOffline" | ||
"labelText" "%persona%" | ||
"zpos" "-2" // behind dropdown button | ||
} | ||
|
||
account_menu_button | ||
{ | ||
"ControlName" "Button" | ||
"fieldName" "account_menu_button" | ||
"labelText" "" | ||
"style" "AccountMenuButtonStyle" | ||
} | ||
} | ||
|
||
styles | ||
{ | ||
AccountPersonaStyleOffline | ||
{ | ||
padding-right=6 | ||
padding-left=12 | ||
textcolor=Friends.OfflineColor | ||
} | ||
|
||
AccountPersonaStyleOnline | ||
{ | ||
padding-right=6 | ||
padding-left=12 | ||
textcolor=Friends.OnlineColor | ||
render_bg | ||
{ | ||
} | ||
} | ||
|
||
AccountPersonaStyleInGame | ||
{ | ||
padding-right=6 | ||
padding-left=12 | ||
textcolor=Friends.InGameColor | ||
render_bg | ||
{ | ||
} | ||
} | ||
|
||
AccountDropDownStyleOffline | ||
{ | ||
render_bg | ||
{ | ||
1="image( x0, y0+10, x1, y1, graphics/dropdown_offline )" | ||
} | ||
|
||
} | ||
|
||
AccountDropDownStyleOnline | ||
{ | ||
render_bg | ||
{ | ||
1="image( x0, y0 + 10, x1, y1, graphics/dropdown_online )" | ||
} | ||
} | ||
|
||
AccountDropDownStyleInGame | ||
{ | ||
render_bg | ||
{ | ||
1="image( x0, y0+10, x1, y1, graphics/dropdown_ingame )" | ||
} | ||
} | ||
|
||
AccountButtonStyle | ||
{ | ||
render_bg | ||
{ | ||
} | ||
} | ||
|
||
AccountButtonStyle:hover | ||
{ | ||
render_bg | ||
{ | ||
0="fill( x0+3, y0+3, x1-3, y1-3, focus5 )" | ||
|
||
1="fill( x0 , y0 , x1 , y0+1, focus4 )" // t | ||
2="fill( x0 , y1-1, x1 , y1 , focus4 )" // b | ||
3="fill( x0 , y0 , x0+1, y1 , focus4 )" // l | ||
4="fill( x1-1, y0 , x1 , y1 , focus4 )" // r | ||
} | ||
} | ||
|
||
AccountButtonStyle:selected | ||
{ | ||
render_bg | ||
{ | ||
0="fill( x0+3, y0+3, x1-3, y1-3, red )" | ||
|
||
1="fill( x0 , y0 , x1 , y0+1, focus4 )" // t | ||
2="fill( x0 , y1-1, x1 , y1 , focus4 )" // b | ||
3="fill( x0 , y0 , x0+1, y1 , focus4 )" // l | ||
4="fill( x1-1, y0 , x1 , y1 , focus4 )" // r | ||
} | ||
} | ||
|
||
AccountBalanceStyle | ||
{ | ||
textcolor="grey" | ||
bgcolor="none" | ||
font-family=basefont | ||
font-size=13 | ||
font-weight=400 | ||
font-style=regular | ||
padding-top=1 | ||
padding-right=8 | ||
padding-left=2 | ||
} | ||
|
||
AccountBalanceStyle [$OSX] | ||
{ | ||
textcolor="labeldisabled" | ||
bgcolor="none" | ||
font-family=basefont | ||
font-size=13 | ||
font-weight=400 | ||
font-style=regular | ||
inset="0 1 0 0" | ||
} | ||
|
||
AccountMenuButtonStyle | ||
{ | ||
render_bg{} | ||
} | ||
} | ||
|
||
layout | ||
{ | ||
place { control="account_menu_button" align=left height=16 width=max } // span over everything | ||
place { control="account_balance" align=right height=16 margin-bottom=2 } | ||
place { control="account_drop_down" align=right end-right="account_balance" height=16 width=8 } | ||
place { control="account_persona" align=right end-right="account_drop_down" height=16 } | ||
place { control="account_avatar" align=right end-right="account_persona" height=0 width=0 } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
"resource/layout/accountmenu.layout" | ||
{ | ||
controls | ||
{ | ||
view_profile_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_view_profile" } | ||
view_account_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_details" } | ||
view_wallet_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_wallet" } | ||
view_preferences_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_preferences" } | ||
change_user_button { controlname="Button" style="account_menu_button" labelText="#steam_menu_account_logout" } | ||
account_name_label { controlname="Label" style="account_menu_label" labelText="%account%" } | ||
wallet_amount_label { controlname="Label" style="account_menu_label" labelText="%wallet%" } | ||
} | ||
|
||
styles | ||
{ | ||
AccountMenuStyle | ||
{ | ||
render_bg | ||
{ | ||
// top area and graphic | ||
0="fill( x0+1, y0+1, x1-1, y1-28, MainFrameBG3 )" | ||
|
||
1="fill( x0 , y0 , x1 , y0+1 , ExBorderDark )" // t | ||
2="fill( x0 , y1-29, x1 , y1-28, ExBorderDark )" // b | ||
3="fill( x0 , y0+1, x0+1, y1-29, ExBorderDark )" // l | ||
4="fill( x1-1, y0+1, x1 , y1-29, ExBorderDark )" // r | ||
} | ||
} | ||
|
||
account_menu_button | ||
{ | ||
font-size=13 | ||
font-weight=regular | ||
textcolor="text" | ||
font-style="" | ||
render_bg{} | ||
} | ||
|
||
account_menu_label | ||
{ | ||
font-size=13 | ||
font-weight=regular | ||
textcolor="Friends.OnlineColor" | ||
font-style="" | ||
render_bg{} | ||
} | ||
|
||
account_menu_button:hover | ||
{ | ||
textcolor="white" | ||
render_bg | ||
{ | ||
0="fill( x0+1, y0+1, x1-1, y1-1, focus )" | ||
} | ||
} | ||
|
||
account_menu_label:hover | ||
{ | ||
render_bg{} | ||
} | ||
|
||
|
||
} | ||
|
||
layout | ||
{ | ||
place { control="view_profile_button" align=left margin-top=0 height=20 width=max } | ||
place { control="view_account_button" align=left margin-top=20 height=20 width=max } | ||
place { control="change_user_button" align=left margin-top=40 height=20 } | ||
place { control="account_name_label" start="change_user_button" dir="right" height=20 } | ||
place { control="view_preferences_button" align=left margin-top=60 height=20 width=max } | ||
place { control="view_wallet_button,wallet_amount_label" align=left margin-top=80 height=20 width=max } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.