c.soucksengphet Posted May 16, 2016 Share Posted May 16, 2016 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
silent Posted May 17, 2016 Share Posted May 17, 2016 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: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
c.soucksengphet Posted May 17, 2016 Author Share Posted May 17, 2016 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
silent Posted May 17, 2016 Share Posted May 17, 2016 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: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
c.soucksengphet Posted May 17, 2016 Author Share Posted May 17, 2016 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. Link to comment
silent Posted May 17, 2016 Share Posted May 17, 2016 As I mentioned before, logic that will move widgets between the different viewports you will need to develop on your side. By default only main viewport GUI is used. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
c.soucksengphet Posted May 17, 2016 Author Share Posted May 17, 2016 Ok thanks, I will try this. Link to comment
Recommended Posts