New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XCB setMouseCursor #784
XCB setMouseCursor #784
Conversation
Can you please squash you two commits into one and use a proper commit message? The discussion on this PR or the feature itself can be found on the forum. |
No idea how to do either of those things. |
Your implementation uses the built-in cursor font instead of the themed font. You should look into how to use the themed font, or simply use Also, what does |
I updated it to use xcb-cursor. Also I implemented setting cursor to image xcb-cursor takes strings so new syntax is:
For images:
|
bool m_isExternal; ///< Tell whether the window has been created externally or by SFML | ||
Atom m_atomClose; ///< Atom used to identify the close event | ||
int m_oldVideoMode; ///< Video mode in use before we switch to fullscreen | ||
bool m_cursorVisible; ///< Is the cursor visible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still got some tabs here, but other than that they all seem to be gone.
Windows and Linux now work. I'm having trouble figuring out os x... |
Superseded by #827. |
Adds setMouseCursor() function for linux as per issue #269. Please tell me what to put for doxygen comments and anything else to change.