Jump to content

2.16b IG+Syncker => ESC key shows the Syncker debug window


photo

Recommended Posts

Hi Stephane,

There is no more system menu exists since it's not compatible with the new window manager concepts. In most applications default sample menu is not needed anyway (it contains not all the settings / resolutions and possible options that you can adjust on fly). Also users often didn't understand why anything in empty project is bind to ESC button and how to adjust this behavior from hardcoded. So decision was made and menu logic was removed completely.

After 2.16 release we expect that every developer will create their own custom system menu (that would contains their custom logic and settings they defined) and bind it to ESC or any other button if required.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

This is ok for us. But in this case, how can we have access to the Syncker menu, so we can replace it with our own?

My idea would be to have a callback for the ESC key, and show our own menu if SHIFT is not pressed, or the Syncker menu if SHIFT is pressed. But how can I do that?

Thanks!

Link to comment

Hi Stephane,

Right now you can adjust data\core\scripts\system\system.h script. ESC press is handled here:

// show/hide main window
if (engine.console.isActive() == 0 && engine.gui.getMouseGrab() == 0 &&
	engine.gui.getPermanentFocus() == NULL && engine.input.isKeyDown(INPUT_KEY_ESC))
{
	if (enabled == 0)
		show();
	else
		hide();
}

 

  • Thanks 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...