OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

show mouse cursor in embedded osg


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Meldryt
User


Joined: 02 Mar 2016
Posts: 63

PostPosted: Thu Feb 28, 2019 5:13 pm    Post subject:
show mouse cursor in embedded osg
Reply with quote

How can i show the default osg mouse cursor in a embedded opengl context (GraphicsWindowEmbedded) ?
i tried embeddedWindow->useCursor(true), but i didnt work.

_________________
OSG Version: 3.4.1
OS: OpenSuse Leap 42.1
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12269

PostPosted: Thu Feb 28, 2019 6:03 pm    Post subject:
show mouse cursor in embedded osg
Reply with quote

On Thu, 28 Feb 2019 at 17:32, Sebastian Schmidt <> wrote:
Quote:
How can i show the default osg mouse cursor in a embedded opengl context (GraphicsWindowEmbedded) ?
i tried embeddedWindow->useCursor(true), but i didnt work.

GraphicsWindowEmbedded is essentially a non op facade that makes it
possible to use the osgViewer with application provided windowing, so
the OSG itself has no direct control over the windowing or graphics
context, it's entirely up to your application. This means it's
entirely your responsibility to implement cursor management.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Intersection with 2d plane embedded i... mean_taipan General 5 Tue May 21, 2019 12:18 am View latest post
No new posts Different views hide/show different n... icf80 General 13 Wed Apr 17, 2019 9:56 am View latest post
No new posts How to hide mouse cursor? Ligvest General 1 Thu Mar 28, 2019 1:40 pm View latest post
No new posts Mouse Events are impossible to work with Steal General 0 Fri Mar 15, 2019 4:02 pm View latest post
No new posts Qt not passing mouse to callbacks bclay General 0 Fri Feb 22, 2019 3:04 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP