Jump to content

Mouse cursor in side screens in AppWall and AppSurround


photo

Recommended Posts

Hello, 

 

When using AppWall or AppSurround, the mouse cursor appears in the central screen but not the others.

 

How can we do so ? 

 

This issue is illustrated in app_surround_00 and app_wall_00 samples. 

 

Plus, is it possible to create a widget that navigate from a screen to another? 

 

Thanks.

Link to comment

Hi Changtharack,

 

You can use system cursor instead. Just add define MOUSE_SOFT in your system script before the all includes:

#define MOUSE_SOFT

Maybe this forum thread will be also helpful in your use case: https://developer.unigine.com/forum/topic/2975-solved-enable-mouse-input-by-default-hide-cursor-lock-cursor-to-window/

 

Thanks!

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

Link to comment

Thanks Silent, 

 

This perfectly resolve the first issue I had. 

 

Do you have any idea on how to make the same for widget? Enabling them to navigate thrown the different screens? 

Link to comment
Do you have any idea on how to make the same for widget? Enabling them to navigate thrown the different screens? 

If you want to move widget from the main viewport to the auxiliary ones - you can check the app_surround_01 sample. I think you can transfer your widget to a different screen (but logic that will choose which screen is used to render widget you should implement by yourself). AppSurround plugin when loaded can return you the GUI instance via engine.surround.getGui() method.

 

Thanks!

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

Link to comment

In app_wall_00 sample as well as in app_surround_00, when grabbing a window, it can not be moved to another screen. When trying so, it is just cut and not rendered in the other screen. A illustration is attached. 

post-2030-0-62388700-1463478323_thumb.png

Link to comment
×
×
  • Create New...