mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
fa00041f77
Added SetTitle support to cocoa git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1588 8ced0084-cf51-0410-be5f-012b33b47a6e
28 lines
460 B
Objective-C
28 lines
460 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
#import <OpenGL/CGLRenderers.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
|
|
void cocoaGLCreateApp();
|
|
|
|
NSWindow *cocoaGLCreateWindow(int w,int h);
|
|
|
|
void cocoaGLSetTitle(NSWindow *win, const char *title);
|
|
|
|
void cocoaGLMakeCurrent(NSOpenGLContext *ctx, NSWindow *win);
|
|
|
|
NSOpenGLContext* cocoaGLInit(int mode);
|
|
|
|
void cocoaGLDelete(NSOpenGLContext *ctx);
|
|
|
|
void cocoaGLSwap(NSOpenGLContext *ctx,NSWindow *window);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|