back/win32: update windows while resizing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30008 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2010-03-20 06:42:17 +00:00
parent 370945d7af
commit 18d408be09
4 changed files with 14 additions and 10 deletions

View file

@ -1,3 +1,11 @@
2010-03-19 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/win32/w32_movesize.h:
* Source/win32/w32_movesize.m:
* Source/win32/WIN32Server.m: Call displayIfNeeded on
the window when WM_SIZING is recieved so windows redraw
while being resized.
2010-03-19 Eric Wasylishen <ewasylishen@gmail.com>
* Source/win32/WIN32Server.m: Report deltaX and deltaY

View file

@ -137,7 +137,7 @@ typedef struct w32serverFlags {
- (LRESULT) decodeWM_GETMINMAXINFOParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
- (LRESULT) decodeWM_EXITSIZEMOVEParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
- (LRESULT) decodeWM_MOVINGParams: (HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam;
- (void) decodeWM_SIZINGParams: (HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam;
- (LRESULT) decodeWM_SIZINGParams: (HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam;
@end

View file

@ -552,7 +552,8 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg,
switch (uMsg)
{
case WM_SIZING:
[self decodeWM_SIZINGParams: hwnd : wParam : lParam];
return [self decodeWM_SIZINGParams: hwnd : wParam : lParam];
break;
case WM_NCCREATE:
return [self decodeWM_NCCREATEParams: wParam : lParam : hwnd];
break;

View file

@ -367,15 +367,10 @@ NSDebugLLog(@"WTrace", @"swap %d (%d) with %d (%d)", hi, hl, lo, ll);
return 0;
}
- (void) decodeWM_SIZINGParams:(HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam
- (LRESULT) decodeWM_SIZINGParams:(HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam
{
// stub for future dev
//[EVENT_WINDOW(hwnd) displayIfNeeded];
//[self decodeWM_SIZEParams:(HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam];
//printf("SIZING called\n");
//return TRUE;
[EVENT_WINDOW(hwnd) displayIfNeeded];
return TRUE;
}
- (LRESULT) decodeWM_MOVINGParams:(HWND)hwnd : (WPARAM)wParam : (LPARAM)lParam