diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-30 12:50:45 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-30 12:50:45 -0400 |
| commit | d21bd3058370e123bfda50d6a9fe1b5fcdd2a263 (patch) | |
| tree | d8966feab9d3581546c3d06204c31eb1014f38de /redo/table_darwin.m | |
| parent | a8b7283a875cd6d0de905a5f69d05bd134eb02c9 (diff) | |
Moved the Mac OS X function newScrollView() to control_darwin.m and verified its styles against Interface Builder.
Diffstat (limited to 'redo/table_darwin.m')
| -rw-r--r-- | redo/table_darwin.m | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/redo/table_darwin.m b/redo/table_darwin.m index 7fdef24..1e823b4 100644 --- a/redo/table_darwin.m +++ b/redo/table_darwin.m @@ -5,7 +5,6 @@ #import <Cocoa/Cocoa.h> #define toNSTableView(x) ((NSTableView *) (x)) -#define toNSView(x) ((NSView *) (x)) @interface goTableDataSource : NSObject <NSTableViewDataSource> { @public @@ -68,16 +67,6 @@ void tableUpdate(id t) [toNSTableView(t) reloadData]; } -// TODO SPLIT -id newScrollView(id content) -{ - NSScrollView *sv; - - sv = [[NSScrollView alloc] initWithFrame:NSMakeRect(0, 0, 100, 100)]; - [sv setDocumentView:toNSView(content)]; - return (id) sv; -} - void tableMakeDataSource(id table, void *gotable) { goTableDataSource *model; |
