Ticket #2718: thamlettpatch.patch

File thamlettpatch.patch, 2.1 KB (added by Timothy Hamlett, 10 years ago)

conglomeration of the two previous patches

  • binaries/data/config/default.cfg

     
    305305
    306306; > OVERLAY KEYS
    307307hotkey.fps.toggle = "Alt+F"                  ; Toggle frame counter
     308hotkey.realtime.toggle = "Alt+T"             ; Toggle current display of computer time
    308309hotkey.session.devcommands.toggle = "Alt+D"  ; Toggle developer commands panel
    309310hotkey.session.gui.toggle = "Alt+G"          ; Toggle visibility of session GUI
    310311hotkey.menu.toggle = "F10"                   ; Toggle in-game menu
  • binaries/data/mods/public/gui/common/global.xml

     
    2929            size="100%-80 70 100%-10 90"
    3030            z="199"
    3131        >
    32             <action on="Tick"><![CDATA[
     32            <action on="Tick">
    3333                updateFPS();
    34             ]]></action>
    35             <action on="Press"><![CDATA[
     34            </action>
     35            <action on="Press">
    3636                this.hidden = !this.hidden;
    37             ]]></action>
     37            </action>
    3838        </object>
     39       
     40        <!--
     41        ==========================================
     42        - TIME COUNTER
     43        ==========================================
     44        -->
    3945
     46        <object name="timeCounter"
     47            type="text"
     48            ghost="true"
     49            hidden="true"
     50            hotkey="realtime.toggle"
     51            sprite="colour: 0 0 0 200"
     52            font="mono-stroke-10"
     53            textcolor="white"
     54            size="100%-80 100 100%-10 120"
     55            z="199"
     56        >
     57            <action on="Tick">
     58                var d = new Date();
     59                this.caption = d.toLocaleTimeString();
     60            </action>
     61            <action on="Press">
     62                this.hidden = !this.hidden;
     63            </action>
     64        </object>
     65
    4066        <!--
    4167        ==========================================
    4268        - WATERMARK - USED WHEN TAKING OFFICIAL SCREENSHOTS
     
    4874            hotkey="screenshot.watermark"
    4975            z="200"
    5076        >
    51             <action on="Press"><![CDATA[
     77            <action on="Press">
    5278                this.hidden = !this.hidden;
    53             ]]></action>
     79            </action>
    5480
    5581            <object name="glbWaterMarkProductLogo"
    5682                type="image"