forked from mirrors/0ad
22f5b00fce
Shows a notification if the local client or other players connections timeout or have bad latency. This was SVN commit r17730.
114 lines
2.3 KiB
XML
114 lines
2.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
|
|
|
|
<!DOCTYPE objects SYSTEM "../gui.dtd">
|
|
|
|
<objects>
|
|
|
|
<!--
|
|
==========================================
|
|
- GLOBAL OBJECTS -
|
|
==========================================
|
|
-->
|
|
|
|
<object>
|
|
|
|
<!--
|
|
==========================================
|
|
- GAMESTATE NOTIFICATIONS
|
|
==========================================
|
|
-->
|
|
<object name="gameStateNotifications"
|
|
type="text"
|
|
ghost="true"
|
|
z="199"
|
|
size="100%-110 40 100%-110 40"
|
|
font="mono-stroke-10"
|
|
textcolor="255 219 77"
|
|
text_align="center"
|
|
text_valign="top"
|
|
sprite="color: 0 0 0 100"
|
|
>
|
|
</object>
|
|
|
|
<!--
|
|
==========================================
|
|
- FPS & REAL TIME & GAME TIME COUNTER
|
|
==========================================
|
|
-->
|
|
<object name="dataCounter"
|
|
type="text"
|
|
ghost="true"
|
|
hidden="false"
|
|
z="199"
|
|
size="100%-90 40 100%-5 40"
|
|
font="mono-10"
|
|
textcolor="white"
|
|
text_align="right"
|
|
text_valign="top"
|
|
sprite="color: 0 0 0 100"
|
|
>
|
|
<action on="Tick">
|
|
updateCounters();
|
|
</action>
|
|
</object>
|
|
|
|
<object name="fpsCounter"
|
|
type="text"
|
|
ghost="true"
|
|
hidden="true"
|
|
hotkey="fps.toggle"
|
|
>
|
|
<action on="Press">
|
|
Engine.ConfigDB_CreateValue("user", "overlay.fps", ""+(Engine.ConfigDB_GetValue("user", "overlay.fps")!== "true"));
|
|
</action>
|
|
</object>
|
|
|
|
<!--
|
|
==========================================
|
|
- TIME COUNTER
|
|
==========================================
|
|
-->
|
|
|
|
<object name="timeCounter"
|
|
type="text"
|
|
ghost="true"
|
|
hidden="true"
|
|
hotkey="realtime.toggle"
|
|
>
|
|
<action on="Press">
|
|
Engine.ConfigDB_CreateValue("user", "overlay.realtime", ""+(Engine.ConfigDB_GetValue("user", "overlay.realtime") !== "true"));
|
|
</action>
|
|
</object>
|
|
|
|
<!--
|
|
==========================================
|
|
- WATERMARK - USED WHEN TAKING OFFICIAL SCREENSHOTS
|
|
==========================================
|
|
-->
|
|
|
|
<object name="glbWaterMark"
|
|
hidden="true"
|
|
hotkey="screenshot.watermark"
|
|
z="200"
|
|
>
|
|
<action on="Press">
|
|
this.hidden = !this.hidden;
|
|
</action>
|
|
|
|
<object name="glbWaterMarkProductLogo"
|
|
type="image"
|
|
size="0 100%-88 190 100%"
|
|
sprite="watermarkProduct"
|
|
/>
|
|
|
|
<object name="glbWaterMarkCompanyLogo"
|
|
type="image"
|
|
size="100%-207 100%-28 100% 100%"
|
|
sprite="watermarkCompany"
|
|
/>
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</objects>
|