Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from Black4Blade/master
Fixed the skin for the new Chat UI, plus other misc. fixes for the skin.
- Loading branch information
Showing
17 changed files
with
412 additions
and
158 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
"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 | ||
{ | ||
0="gradient_horizontal( x0, y0 - 1, x0 + 2, y1 + 1, Friends.OnlineColor, DialogBG )" | ||
} | ||
} | ||
|
||
AccountPersonaStyleInGame | ||
{ | ||
padding-right=6 | ||
padding-left=12 | ||
textcolor=Friends.InGameColor | ||
render_bg | ||
{ | ||
0="gradient_horizontal( x0, y0 - 1, x0 + 2, y1 + 1, Friends.InGameColor, DialogBG )" | ||
} | ||
} | ||
|
||
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 | ||
{ | ||
// background fill | ||
0="fill( x0, y0, x1, y1, none )" | ||
} | ||
} | ||
|
||
AccountButtonStyle:hover | ||
{ | ||
render_bg | ||
{ | ||
// background fill | ||
0="fill( x0, y0, x1, y1, darkblue )" | ||
} | ||
} | ||
|
||
AccountBalanceStyle | ||
{ | ||
textcolor="labeldisabled" | ||
bgcolor="none" | ||
font-family=basefont | ||
font-size=14 | ||
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 | ||
{ | ||
// background fill | ||
// 0="fill( x0, y0, x1, y1, darkblue )" | ||
} | ||
} | ||
} | ||
|
||
layout | ||
{ | ||
place { control="account_menu_button" align=left height=34 width=max } // span over everything | ||
place { control="account_avatar" align=right height=34 width=34 } | ||
place { control="account_persona" align=right end-right="account_drop_down" margin-top=0 height=34} | ||
place { control="account_balance" align=right height=24 margin-top=4 end-right="account_persona"} | ||
place { control="account_drop_down" align=right end-right="account_avatar" margin-top=5 margin-right=3 height=24 width=8 } | ||
} | ||
} |
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,65 @@ | ||
"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="gradient( x0, y0, x1, y1, MenuBG1, MenuBG2 )" | ||
|
||
1="fill( x0 + 1, y0, x1 - 1, y0 + 1, blueborder )" // top | ||
2="fill( x0 + 1, y1 - 1, x1 - 1, y1, blueborder )" // bottom | ||
3="fill( x0, y0 + 1, x0 + 1, y1 - 1, blueborder )" // left | ||
4="fill( x1 - 1, y0 + 1, x1, y1 - 1, blueborder )" // right | ||
} | ||
} | ||
|
||
account_menu_button | ||
{ | ||
font-size=14 | ||
font-weight=regular | ||
textcolor="label" | ||
font-style="" | ||
render_bg{} | ||
} | ||
|
||
account_menu_label | ||
{ | ||
font-size=14 | ||
font-weight=regular | ||
textcolor="Friends.OnlineColor" | ||
font-style="" | ||
render_bg{} | ||
} | ||
|
||
account_menu_button:hover | ||
{ | ||
//textcolor="SuperNavHover" | ||
textcolor="TextHover" | ||
} | ||
} | ||
|
||
layout | ||
{ | ||
place { control="view_profile_button" align=left margin-left=4 margin-top=4 height=24 } | ||
place { control="view_account_button" align=left margin-left=4 margin-top=28 height=24 } | ||
place { control="change_user_button" align=left margin-left=4 margin-top=52 height=24 } | ||
place { control="account_name_label" start="change_user_button" dir="right" height=24 margin-left=-4 } | ||
place { control="view_preferences_button" align=left margin-left=4 margin-top=76 height=24 } | ||
place { control="view_wallet_button,wallet_amount_label" align=left margin-left=4 margin-top=100 height=24 } | ||
|
||
} | ||
} |
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.