2018-06-03 19:55:08 -05:00
|
|
|
// 3 june 2018
|
2018-06-23 22:35:42 -05:00
|
|
|
#import "../common/table.h"
|
2018-06-03 19:55:08 -05:00
|
|
|
|
|
|
|
// table.m
|
|
|
|
// TODO get rid of forward declaration
|
|
|
|
@class uiprivTableModel;
|
|
|
|
struct uiTableModel {
|
|
|
|
uiTableModelHandler *mh;
|
|
|
|
uiprivTableModel *m;
|
|
|
|
NSMutableArray *tables;
|
|
|
|
};
|
|
|
|
struct uiTable {
|
|
|
|
uiDarwinControl c;
|
|
|
|
NSScrollView *sv;
|
|
|
|
NSTableView *tv;
|
|
|
|
uiprivScrollViewData *d;
|
|
|
|
int backgroundColumn;
|
2018-06-03 21:37:36 -05:00
|
|
|
uiTableModel *m;
|
2018-06-03 19:55:08 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
// tablecolumn.m
|
|
|
|
@interface uiprivTableCellView : NSTableCellView
|
|
|
|
- (void)uiprivUpdate:(NSInteger)row;
|
|
|
|
@end
|
|
|
|
@interface uiprivTableColumn : NSTableColumn
|
2018-06-03 22:06:44 -05:00
|
|
|
- (uiprivTableCellView *)uiprivMakeCellView;
|
2018-06-03 19:55:08 -05:00
|
|
|
@end
|