mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
* Headers/win32/WIN32Server.h: uint -> unsigned int
* Source/win32/...: Idem. * Source/win32/w32_notifications.m: Comment out unimplmented windows method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21852 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f15240096a
commit
e82a05ed18
8 changed files with 16 additions and 8 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-10-20 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
* Headers/win32/WIN32Server.h: uint -> unsigned int
|
||||||
|
* Source/win32/...: Idem.
|
||||||
|
* Source/win32/w32_notifications.m: Comment out unimplmented
|
||||||
|
windows method.
|
||||||
|
|
||||||
2005-10-20 Tom MacSween <macsweent@sympatico.ca>
|
2005-10-20 Tom MacSween <macsweent@sympatico.ca>
|
||||||
|
|
||||||
* Source/win32/: Fixed a compile error when debug flags were
|
* Source/win32/: Fixed a compile error when debug flags were
|
||||||
|
|
|
@ -183,7 +183,7 @@ typedef struct w32serverFlags {
|
||||||
- (void) decodeWM_COMMANDParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
- (void) decodeWM_COMMANDParams: (WPARAM)wParam : (LPARAM)lParam : (HWND)hwnd;
|
||||||
|
|
||||||
// diagnotic and debugging
|
// diagnotic and debugging
|
||||||
- (BOOL) displayEvent:(uint)uMsg;
|
- (BOOL) displayEvent:(unsigned int)uMsg;
|
||||||
- (void) registerForWindowEvents;
|
- (void) registerForWindowEvents;
|
||||||
- (void) registerForViewEvents;
|
- (void) registerForViewEvents;
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1125,7 +1125,7 @@ printf("\n\n##############################################################\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) displayEvent:(uint)uMsg; // diagnotic filter
|
- (BOOL) displayEvent:(unsigned int)uMsg; // diagnotic filter
|
||||||
{
|
{
|
||||||
[self subclassResponsibility: _cmd];
|
[self subclassResponsibility: _cmd];
|
||||||
return YES;
|
return YES;
|
||||||
|
@ -1557,7 +1557,7 @@ printf("\n\n##############################################################\n");
|
||||||
printf("checking for NSMiniaturizableWindowMask %u\n",(style & NSMiniaturizableWindowMask));
|
printf("checking for NSMiniaturizableWindowMask %u\n",(style & NSMiniaturizableWindowMask));
|
||||||
printf("GS Window Style %u\n",style);
|
printf("GS Window Style %u\n",style);
|
||||||
printf("Extended Style %d [hex] %X\n",(int)estyle,(UINT)estyle );
|
printf("Extended Style %d [hex] %X\n",(int)estyle,(UINT)estyle );
|
||||||
printf("Win32 Style picked %ld [hex] %X\n",wstyle,(uint)wstyle);
|
printf("Win32 Style picked %ld [hex] %X\n",wstyle,(unsigned int)wstyle);
|
||||||
printf("\n##############################################################\n");
|
printf("\n##############################################################\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
|
|
||||||
@interface WIN32Server (w32_debug)
|
@interface WIN32Server (w32_debug)
|
||||||
|
|
||||||
- (BOOL) displayEvent: (uint)uMsg; // diagnotic filter
|
- (BOOL) displayEvent: (unsigned int)uMsg; // diagnotic filter
|
||||||
- (void) test_Geomemetry: (HWND)hwnd;
|
- (void) test_Geomemetry: (HWND)hwnd;
|
||||||
- (void) print_result: (RECT)msrect and: (NSRect)gsrect and: (RECT)control;
|
- (void) print_result: (RECT)msrect and: (NSRect)gsrect and: (RECT)control;
|
||||||
- (NSMutableString *) w32_createDetails: (LPCREATESTRUCT)details;
|
- (NSMutableString *) w32_createDetails: (LPCREATESTRUCT)details;
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
printf("NSApp is:[%s]\n",active ? "active" : "inactive");
|
printf("NSApp is:[%s]\n",active ? "active" : "inactive");
|
||||||
printf("lParam is [%s]\n thread = [%u]\n w32_Class[%s] \n",
|
printf("lParam is [%s]\n thread = [%u]\n w32_Class[%s] \n",
|
||||||
(int)wParam ? "TRUE": "FALSE",
|
(int)wParam ? "TRUE": "FALSE",
|
||||||
(uint)lParam,
|
(unsigned int)lParam,
|
||||||
[[self getNativeClassName:hwnd] cString]);
|
[[self getNativeClassName:hwnd] cString]);
|
||||||
// debug GS_state details
|
// debug GS_state details
|
||||||
printf("%s",[[self gswindowstate:EVENT_WINDOW(hwnd)] cString]);
|
printf("%s",[[self gswindowstate:EVENT_WINDOW(hwnd)] cString]);
|
||||||
|
|
|
@ -67,7 +67,7 @@ static NSString * spacer =@"<BLANK_LINE>\n";
|
||||||
printf(" Bottom %ld\n",msrect.bottom);
|
printf(" Bottom %ld\n",msrect.bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) displayEvent:(uint)uMsg
|
- (BOOL) displayEvent:(unsigned int)uMsg
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef __W32_debug__ //_logging
|
#ifdef __W32_debug__ //_logging
|
||||||
|
|
|
@ -300,7 +300,8 @@
|
||||||
unsigned int GSStyle;
|
unsigned int GSStyle;
|
||||||
|
|
||||||
NSString * GSClass=[[aNotification object] className];
|
NSString * GSClass=[[aNotification object] className];
|
||||||
[[aNotification object] setShowsResizeIndicator:NO];
|
// FIXME: Implement this in NSWindow first...
|
||||||
|
//[[aNotification object] setShowsResizeIndicator:NO];
|
||||||
// set window style
|
// set window style
|
||||||
if ( [GSClass isEqual:@"NSMenuPanel"]==YES)
|
if ( [GSClass isEqual:@"NSMenuPanel"]==YES)
|
||||||
{
|
{
|
||||||
|
|
|
@ -144,7 +144,7 @@ invalidateWindow(HWND hwnd, RECT rect)
|
||||||
#ifdef __W32_debug__
|
#ifdef __W32_debug__
|
||||||
printf("\n\n##############################################################\n");
|
printf("\n\n##############################################################\n");
|
||||||
printf("GS Window Style %u\n",style);
|
printf("GS Window Style %u\n",style);
|
||||||
printf("Win32 Style picked %ld [hex] %X\n",wstyle,(uint)wstyle);
|
printf("Win32 Style picked %ld [hex] %X\n",wstyle,(unsigned int)wstyle);
|
||||||
printf("\n\n##############################################################\n");
|
printf("\n\n##############################################################\n");
|
||||||
#endif
|
#endif
|
||||||
return wstyle;
|
return wstyle;
|
||||||
|
|
Loading…
Reference in a new issue