mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:37:38 +00:00
Change backend initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3428 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8d0237fbfa
commit
81abcf1f75
13 changed files with 492 additions and 43 deletions
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include <AppKit/NSApplication.h>
|
||||
#include <AppKit/NSEvent.h>
|
||||
|
||||
#include <AppKit/GSContext.h>
|
||||
|
||||
char **NSArgv = NULL;
|
||||
|
||||
|
@ -60,6 +60,12 @@ extern char** environ;
|
|||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
initialize_gnustep_backend(void)
|
||||
{
|
||||
[GSContext initializeGUIBackend];
|
||||
}
|
||||
|
||||
//
|
||||
// Convert an NSEvent Type to it's respective Event Mask
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue