Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/top_panel/button_trade.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<object type="button" | <object type="button" | ||||
name="tradeButton1" | name="tradeButton1" | ||||
size="100%-224 4 100%-196 32" | size="100%-224 4 100%-196 32" | ||||
style="iconButton" | style="iconButton" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
hotkey="session.gui.barter.toggle" | |||||
> | > | ||||
<object size="0 0 100% 100%" name="tradeButtonImage" type="image" sprite="stretched:session/icons/economics.png" ghost="true"/> | <object size="0 0 100% 100%" name="tradeButtonImage" type="image" sprite="stretched:session/icons/economics.png" ghost="true"/> | ||||
<translatableAttribute id="tooltip">Barter & Trade</translatableAttribute> | |||||
<action on="Press"> | <action on="Press"> | ||||
toggleTrade(); | toggleTrade(); | ||||
</action> | </action> | ||||
</object> | </object> |
Wildfire Games · Phabricator