diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-16 20:33:28 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-16 20:33:28 -0400 |
| commit | e34c561ed5bedeb180437ec165882b98d70d38c1 (patch) | |
| tree | d095e5db16d7a23e883526c8c1d3c524639c97cf /new/ui_darwin.h | |
| parent | de9d72299fb89a8b6cdc8963cd6b6ae708a81e80 (diff) | |
Split the rewrite into a new repository.
Diffstat (limited to 'new/ui_darwin.h')
| -rw-r--r-- | new/ui_darwin.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/new/ui_darwin.h b/new/ui_darwin.h deleted file mode 100644 index cab61d1..0000000 --- a/new/ui_darwin.h +++ /dev/null @@ -1,25 +0,0 @@ -// 7 april 2015 - -/* -This file assumes that you have imported <Cocoa/Cocoa.h> and "ui.h" beforehand. It provides API-specific functions for interfacing with foreign controls on Mac OS X. -*/ - -#ifndef __UI_UI_DARWIN_H__ -#define __UI_UI_DARWIN_H__ - -// uiDarwinNewControl() initializes the given uiControl with the given Cocoa control inside. -// The second parameter should come from [RealControlType class]. -// The two scrollView parameters allow placing scrollbars on the new control. -// Your control must call uiDarwinControlFreeWhenAppropriate() on the returned uiControl in its -[viewDidMoveToSuperview] method. -// If it returns a value other than NO, then the uiControl has been freed and you should set references to it to NULL. -extern void uiDarwinNewControl(uiControl *c, Class class, BOOL inScrollView, BOOL scrollViewHasBorder); -extern BOOL uiDarwinControlFreeWhenAppropriate(uiControl *c, NSView *newSuperview); - -// You can use this function from within your control implementations to return text strings that can be freed with uiTextFree(). -extern char *uiDarwinNSStringToText(NSString *); - -struct uiSizingSys { - // this structure currently left blank -}; - -#endif |
