Preliminary drawing engine

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3222 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1998-11-16 20:32:48 +00:00
parent f56ca9b4bd
commit 2ec2e70df2
42 changed files with 3139 additions and 236 deletions

View file

@ -44,7 +44,7 @@
# include <Foundation/NSConnection.h>
#endif
#include <AppKit/NSDPSContext.h>
#include <AppKit/GPSDrawContext.h>
#include <AppKit/NSApplication.h>
#include <AppKit/NSPopUpButton.h>
#include <AppKit/NSPanel.h>
@ -63,10 +63,6 @@ static BOOL gnustep_gui_app_is_in_dealloc;
static NSEvent *null_event;
static id NSApp;
#define ASSIGN(a, b) [b retain]; \
[a release]; \
a = b;
@implementation NSApplication
//
@ -971,9 +967,9 @@ int i;
return nil;
}
- (NSDPSContext *)context // return the DPS context
- (GPSDrawContext *)context // return the DPS context
{
return [NSDPSContext currentContext];
return [GPSDrawContext currentContext];
}
// Reporting an exception
- (void)reportException:(NSException *)anException