Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/chat/chat_window.xml
Show All 9 Lines | > | ||||
<!-- Mock objects storing the chat window size --> | <!-- Mock objects storing the chat window size --> | ||||
<object name="chatDialogPanelLarge" size="50%-216 22%-75 50%+216 78%-85"/> | <object name="chatDialogPanelLarge" size="50%-216 22%-75 50%+216 78%-85"/> | ||||
<object name="chatDialogPanelSmall" size="50%-216 50%-140 50%+216 50%-20"/> | <object name="chatDialogPanelSmall" size="50%-216 50%-140 50%+216 50%-20"/> | ||||
<!-- Chat History Page --> | <!-- Chat History Page --> | ||||
<object type="image" name="chatHistoryPage" size="0 0 100% 100%-120"> | <object type="image" name="chatHistoryPage" size="0 0 100% 100%-120"> | ||||
<!-- Chat History Filter --> | <!-- Chat History Filter --> | ||||
<object type="text" size="16 12 60 32" style="ModernLeftLabelText"> | <object type="text" size="4 12 76 36" style="ModernLeftLabelText"> | ||||
<translatableAttribute id="caption" context="chat input">Filter:</translatableAttribute> | <translatableAttribute id="caption" context="chat input">Filter:</translatableAttribute> | ||||
</object> | </object> | ||||
<object | <object | ||||
type="dropdown" | type="dropdown" | ||||
name="chatHistoryFilter" | name="chatHistoryFilter" | ||||
size="75 10 100%-16 34" | size="80 10 100%-16 34" | ||||
style="ModernDropDown" | style="ModernDropDown" | ||||
tooltip_style="sessionToolTipBold" | tooltip_style="sessionToolTipBold" | ||||
> | > | ||||
<translatableAttribute id="tooltip" context="chat input">Filter the chat history.</translatableAttribute> | <translatableAttribute id="tooltip" context="chat input">Filter the chat history.</translatableAttribute> | ||||
</object> | </object> | ||||
<object | <object | ||||
type="text" | type="text" | ||||
name="chatHistoryText" | name="chatHistoryText" | ||||
size="10 46 100%-10 100%" | size="10 46 100%-10 100%" | ||||
sprite="ModernDarkBoxGold" | sprite="ModernDarkBoxGold" | ||||
style="ChatPanel" | style="ChatPanel" | ||||
/> | /> | ||||
</object> | </object> | ||||
<!-- Chat input elements --> | <!-- Chat input elements --> | ||||
<object name="chatPage" size="0 100%-120 100% 100%"> | <object name="chatPage" size="0 100%-120 100% 100%"> | ||||
<!-- Message addressee --> | <!-- Message addressee --> | ||||
<object size="16 100%-106 50 100%-82" type="text" style="ModernLeftLabelText"> | <object size="4 100%-106 76 100%-82" type="text" style="ModernLeftLabelText"> | ||||
<translatableAttribute id="caption" context="chat input">To:</translatableAttribute> | <translatableAttribute id="caption" context="chat input">To:</translatableAttribute> | ||||
</object> | </object> | ||||
<object | <object | ||||
name="chatAddressee" | name="chatAddressee" | ||||
type="dropdown" | type="dropdown" | ||||
size="75 100%-108 100%-16 100%-84" | size="80 100%-108 100%-16 100%-84" | ||||
style="ModernDropDown" | style="ModernDropDown" | ||||
tooltip_style="sessionToolTipBold" | tooltip_style="sessionToolTipBold" | ||||
> | > | ||||
<translatableAttribute id="tooltip" context="chat input">Select chat addressee.</translatableAttribute> | <translatableAttribute id="tooltip" context="chat input">Select chat addressee.</translatableAttribute> | ||||
</object> | </object> | ||||
<!-- Message text --> | <!-- Message text --> | ||||
<object type="text" size="16 100%-74 50 100%-50" style="ModernLeftLabelText"> | <object type="text" size="4 100%-74 76 100%-50" style="ModernLeftLabelText"> | ||||
<translatableAttribute id="caption" context="chat input">Text:</translatableAttribute> | <translatableAttribute id="caption" context="chat input">Text:</translatableAttribute> | ||||
</object> | </object> | ||||
<object | <object | ||||
type="input" | type="input" | ||||
name="chatInput" | name="chatInput" | ||||
size="75 100%-76 100%-16 100%-52" | size="80 100%-76 100%-16 100%-52" | ||||
style="ModernInput" | style="ModernInput" | ||||
/> | /> | ||||
<!-- Cancel Button --> | <!-- Cancel Button --> | ||||
<object name="closeChat" size="16 100%-40 30%+16 100%-12" type="button" style="StoneButton"> | <object name="closeChat" size="16 100%-40 30%+16 100%-12" type="button" style="StoneButton"> | ||||
<translatableAttribute id="caption">Cancel</translatableAttribute> | <translatableAttribute id="caption">Cancel</translatableAttribute> | ||||
</object> | </object> | ||||
<!-- Extended Chat Checkbox --> | <!-- Extended Chat Checkbox --> | ||||
<object | <object | ||||
type="checkbox" | type="checkbox" | ||||
name="extendedChat" | name="extendedChat" | ||||
checked="false" | checked="false" | ||||
style="ModernTickBox" | style="ModernTickBox" | ||||
size="50%-40 100%-38 50%-20 100%-12" | size="50%-40 100%-38 50%-20 100%-12" | ||||
/> | /> | ||||
<!-- Extended Chat Label --> | <!-- Extended Chat Label --> | ||||
<object type="text" size="50%-20 100%-38 50%+50 100%-12" text_align="left" textcolor="white"> | <object type="text" size="50%-20 100%-38 50%+100 100%-12" text_align="left" textcolor="white"> | ||||
<translatableAttribute id="caption" context="chat">History</translatableAttribute> | <translatableAttribute id="caption" context="chat">History</translatableAttribute> | ||||
</object> | </object> | ||||
<!-- Send Button --> | <!-- Send Button --> | ||||
<object name="sendChat" size="70%-16 100%-40 100%-16 100%-12" type="button" style="StoneButton"> | <object name="sendChat" size="70%-16 100%-40 100%-16 100%-12" type="button" style="StoneButton"> | ||||
<translatableAttribute id="caption">Send</translatableAttribute> | <translatableAttribute id="caption">Send</translatableAttribute> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</object> | </object> |
Wildfire Games · Phabricator