Getting close to AppKit building

This commit is contained in:
Sergey Bugaev 2017-07-11 00:36:44 +03:00
parent 4b245db06f
commit 1f6c28210e
3 changed files with 4 additions and 2 deletions

View File

@ -296,7 +296,7 @@ set(AppKit_sources
X11.subproj/KTFont_FT.m
X11.subproj/O2Font_FT.m
X11.subproj/CGLContext.m
X11.subproj/NSOpenGLDrawable_X11.m
# X11.subproj/NSOpenGLDrawable_X11.m
X11.subproj/O2Context_cairo.m
X11.subproj/X11Display.m
X11.subproj/O2Context_builtin_FT.m

1
AppKit/KTFont.h Symbolic link
View File

@ -0,0 +1 @@
../CoreText/KTFont.h

View File

@ -11,6 +11,7 @@
#import "X11Window.h"
#import <AppKit/NSScreen.h>
#import <AppKit/NSApplication.h>
#import <Foundation/NSDebug.h>
#import <Foundation/NSSelectInputSource.h>
#import <Foundation/NSSocket_bsd.h>
#import <AppKit/NSColor.h>
@ -22,7 +23,7 @@
#import <AppKit/NSFontTypeface.h>
#import <AppKit/NSWindow.h>
#import <fcntl.h>
#import <fontconfig.h>
#import <fontconfig/fontconfig.h>
#import <X11/Xutil.h>
@implementation NSDisplay(X11)