]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/cocoa/cocoawindow.h
Basic OS X support
[libs/gui.git] / source / graphics / cocoa / cocoawindow.h
1 #ifndef MSP_GRAPHICS_COCOAWINDOW_H_
2 #define MSP_GRAPHICS_COCOAWINDOW_H_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 struct _CocoaDisplay;
9
10 struct _CocoaWindow;
11 typedef struct _CocoaWindow CocoaWindow;
12
13 CocoaWindow *create_window(struct _CocoaDisplay *, unsigned, unsigned, bool, bool);
14 void destroy_window(CocoaWindow *);
15 void set_window_title(CocoaWindow *, const char *);
16 void set_window_size(CocoaWindow *, unsigned, unsigned);
17 void show_window(CocoaWindow *);
18 void hide_window(CocoaWindow *);
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24 #endif