-
Notifications
You must be signed in to change notification settings - Fork 85
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
Area beginWindowMove beginWindowResize #105
base: 0_3_0
Are you sure you want to change the base?
Conversation
} | ||
|
||
void MouseEvent(UiAreaHandler *self, uiArea *area, uiAreaMouseEvent *event) { | ||
UiAreaMouseEvent *ev = new UiAreaMouseEvent(event); | ||
(*(self->mouseEvent))(controlsMap[uiControl(area)], ev); | ||
(*(self->mouseEvent))((UiArea *)controlsMap[uiControl(area)], ev); |
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.
the event callbacks got a UiControl
object (not UiArea
)
Looks good! |
Maybe for a borderless window to implement a completely own ui with a menubar? |
Added, please test it on High Sierra. Doesn't work for me: andlabs/libui#357 |
Doesn't work on high sierra too... |
Since the resize feature is blocked by the libui issue, I purpose to move it to version 0_4_0 and merge only the move feature here. |
Here is the PR to fix this: andlabs/libui#385 |
Closes #99