Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcut to spawn new viewport #970

Closed
DorpsGek opened this issue Jun 30, 2007 · 2 comments
Closed

Shortcut to spawn new viewport #970

DorpsGek opened this issue Jun 30, 2007 · 2 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

bilbo opened the ticket and wrote:

Extra viewport is a useful feature, but there is no keyboard shortcut for it and always going into menu for it can be a bit annoying.
As key 'V' is not used for anything, I have created simple patch that will use the key to create an extra viewport (for r10398).

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/970
@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 6, 2007

bilbo wrote:

I have improved the patch.

Now in addition to 'V' spawning a new viewport, 'M' (also unused till now) will spawn a map.

Also, since Shift+F5/F6 are a bit awkward keys to zoom in/out, I have added plus and minus keys on both ordinary and numeric keyboard to behave as zoom in/out. Since these had no keycodes, I added keycodes for non-alphanumeric keys available on 101key keyboard:

These keys were added to win32, sdl and cocoa driver: - = [ ] ; ' , . /

Now it is possible to react on the keys in GUI if desired.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/970#comment1533

@DorpsGek
Copy link
Member Author

TrueBrain closed the ticket.

Reason for closing: Fixed

Added in r10662. very nice job!!


This comment was imported from FlySpray: https://bugs.openttd.org/task/970

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant