diff options
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; |
