mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-19 23:54:12 +00:00
should be ok
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@168 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -47,7 +47,6 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
|
||||
|
||||
SetCapture(hWnd);
|
||||
MwLLDispatch(u->ll, down, &p);
|
||||
InvalidateRect(hWnd, NULL, FALSE);
|
||||
} else if(msg == WM_LBUTTONUP) {
|
||||
MwPoint p;
|
||||
p.x = LOWORD(lp);
|
||||
@@ -55,7 +54,6 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
|
||||
|
||||
SetCapture(NULL);
|
||||
MwLLDispatch(u->ll, up, &p);
|
||||
InvalidateRect(hWnd, NULL, FALSE);
|
||||
} else if(msg == WM_MOUSEMOVE) {
|
||||
MwPoint p;
|
||||
p.x = LOWORD(lp);
|
||||
|
||||
@@ -150,7 +150,6 @@ void MwLLNextEvent(MwLL handle) {
|
||||
p.y = ev.xbutton.y;
|
||||
|
||||
MwLLDispatch(handle, down, &p);
|
||||
render = 1;
|
||||
}
|
||||
} else if(ev.type == ButtonRelease) {
|
||||
if(ev.xbutton.button == Button1) {
|
||||
@@ -159,7 +158,6 @@ void MwLLNextEvent(MwLL handle) {
|
||||
p.y = ev.xbutton.y;
|
||||
|
||||
MwLLDispatch(handle, up, &p);
|
||||
render = 1;
|
||||
}
|
||||
} else if(ev.type == ConfigureNotify) {
|
||||
MwLLDispatch(handle, resize, NULL);
|
||||
|
||||
Reference in New Issue
Block a user