-
Notifications
You must be signed in to change notification settings - Fork 186
MouseInput functions #23
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
Conversation
If you rebase it on current master we will be able to see how our new testing and coverage setup works with pull requests. |
OK I officially made a mess now :) I'll create new clean branches and PR's for the not yet merged PR's here. S. |
Changes Unknown when pulling d39bfae on supudo:MouseInputs into ** on swistakm:master**. |
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.
Just two minor details to fix.
imgui/core.pyx
Outdated
"""Return the mouse cursor id. | ||
.. wraps:: | ||
void GetMouseCursor() |
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.
Should be:
ImGuiMouseCursor GetMouseCursor()
void
will definitely confuse the reader.
imgui/core.pyx
Outdated
return cimgui.GetMouseCursor() | ||
|
||
|
||
def set_mouse_cursor(cimgui.ImGuiMouseCursor type): |
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.
Type is a built-in function in Python. It would be better to use other name e.g. cursor/cursor_type
or use the builtin_/keyword_
convention instead of plain builtin/keyword
. It's up to you which one you will choose.
Changes Unknown when pulling 78bc5c8 on supudo:MouseInputs into ** on swistakm:master**. |
Hey :)
Some of the mouse input functions here.
Cheers,
S.