Skip to content
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

Add binding for uiAreaBeginUserWindowMove & Resize #99

Open
mischnic opened this issue Apr 29, 2018 · 0 comments
Open

Add binding for uiAreaBeginUserWindowMove & Resize #99

mischnic opened this issue Apr 29, 2018 · 0 comments
Milestone

Comments

@mischnic
Copy link
Collaborator

mischnic commented Apr 29, 2018

Call uiAreaBeginUserWindowMove in a MouseEvent to act as if the window titlebar was held down (moves the window).

_UI_EXTERN void uiAreaBeginUserWindowMove(uiArea *a);
_UI_EXTERN void uiAreaBeginUserWindowResize(uiArea *a, uiWindowResizeEdge edge);

_UI_ENUM(uiWindowResizeEdge) {
	uiWindowResizeEdgeLeft,
	uiWindowResizeEdgeTop,
	uiWindowResizeEdgeRight,
	uiWindowResizeEdgeBottom,
	uiWindowResizeEdgeTopLeft,
	uiWindowResizeEdgeTopRight,
	uiWindowResizeEdgeBottomLeft,
	uiWindowResizeEdgeBottomRight,
}
@parro-it parro-it changed the title uiAreaBeginUserWindowMove & Resize Add binding for uiAreaBeginUserWindowMove & Resize May 3, 2018
@parro-it parro-it added this to the 0_3_0 milestone May 3, 2018
@parro-it parro-it mentioned this issue May 3, 2018
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants