by m8f » Sat Jun 15, 2019 1:00 am
What does this do?
It allows taking screenshots when a menu is open. Works in main menu, option menus, Strife dialogs, etc.
Limitations:
L1. "Captured screenshot..." message doesn't appear if the level is not started yet. The screen shot is still taken.
L2. Some keys are not supported:
L2.1. because they are used by menus: arrow keys, Enter, etc.
L2.2. because I didn't found how to process them: keypad keys.
L3. If screenshot key is bound to a key that also has a meaning for main menu (for example, 'N' selects "New Game"), first press of this key do the menu action, and the second press will make a screen shot.
Taking screenshots in menus has been mentioned several times by now:
1,
2.
This is not a clean solution. I'm almost sure that this won't be accepted due to this implementation's hacky nature.
Still, this can be a starting point for a discussion.
Pull request here.
What does this do?
It allows taking screenshots when a menu is open. Works in main menu, option menus, Strife dialogs, etc.
[imgur]https://imgur.com/r3Wi33F[/imgur][imgur]https://imgur.com/0Kxy92N[/imgur]
Limitations:
L1. "Captured screenshot..." message doesn't appear if the level is not started yet. The screen shot is still taken.
L2. Some keys are not supported:
L2.1. because they are used by menus: arrow keys, Enter, etc.
L2.2. because I didn't found how to process them: keypad keys.
L3. If screenshot key is bound to a key that also has a meaning for main menu (for example, 'N' selects "New Game"), first press of this key do the menu action, and the second press will make a screen shot.
Taking screenshots in menus has been mentioned several times by now: [url=https://forum.zdoom.org/viewtopic.php?f=18&t=49076&p=848525]1[/url], [url=https://forum.zdoom.org/viewtopic.php?f=4&t=60005&p=1050719#p1047016]2[/url].
This is not a clean solution. I'm almost sure that this won't be accepted due to this implementation's hacky nature.
Still, this can be a starting point for a discussion.
[url=https://github.com/coelckers/gzdoom/pull/870]Pull request here.[/url]