Menu

#29 Quake-style dropdown for v1.5

open
nobody
None
5
2008-07-29
2008-07-29
Anonymous
No

With this patch Console v1.5 visibility can be toggled by a hotkey. A vertical slide animation will be applied, simulating the famous "Quake" console.

Changes:

Console.cpp Line 311: Register hotkey
Console.cpp Line 234: Unregister hotkey
Console.cpp Line 4219-4233: Hotkey handler, animation

You can change the associated hotkey by replacing the value 0xDC in line 311 with your favourite virtual key code. 0xDC is the key below Esc on my German keyboard layout, but I guess it may be different on other layouts/keyboards.
You can also change the animation speed of the slide animation by changing the value 200 in line 4224 (show) and line 4230 (hide). The unit is millisecond.

A sample configuration file for a top docked console is included, although the patch will also work with any other positioning.

Discussion

  • Nobody/Anonymous

    Patched source

     
  • Philipp Krätzig

    Logged In: YES
    user_id=2162237
    Originator: NO

    Sorry, I forgot to log in so I couldn't add the configuration file. Anyways here are the things to change:

    <border>none</border>
    <docked>top left</docked>
    <size rows="30" columns="max" buffer_rows="500" />

     
  • ZliS

    ZliS - 2010-09-11

    love it, wanna see it in Console2 too

     

Log in to post a comment.