Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kaspire

Pages: [1]
1
Is there a way to do this (title)? In glfw there is a way to get the coordinates of the mouse position without binding the mouse inside of the window border (glfw window not sfml window) or monitor edges. I know there is a function in the sf::RenderWindow class called setMouseCursorGrabbed(boolean) and that works to get the coordinates of the mouse relative to the window but it locks the mouse inside of some border.

If this isn't somehow manageable to do with sfml then how would one use the mouse callback from glfw with an sfml sf::RenderWindow?

Pages: [1]