mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:57:39 +00:00
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:
parent
f56ca9b4bd
commit
2ec2e70df2
42 changed files with 3139 additions and 236 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue