mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 07:42:18 +00:00
6d5ffa9f8e
There's still some cleanup to do, but everything seems to be working nicely: `make -j` works, `make distcheck` passes. There is probably plenty of bitrot in the package directories (RPM, debian), though. The vc project files have been removed since those versions are way out of date and quakeforge is pretty much dependent on gcc now anyway. Most of the old Makefile.am files are now Makemodule.am. This should allow for new Makefile.am files that allow local building (to be added on an as-needed bases). The current remaining Makefile.am files are for standalone sub-projects.a The installable bins are currently built in the top-level build directory. This may change if the clutter gets to be too much. While this does make a noticeable difference in build times, the main reason for the switch was to take care of the growing dependency issues: now it's possible to build tools for code generation (eg, using qfcc and ruamoko programs for code-gen).
49 lines
990 B
Objective-C
49 lines
990 B
Objective-C
#ifndef __qwaq_ui_tableview_h
|
|
#define __qwaq_ui_tableview_h
|
|
|
|
#include "ruamoko/qwaq/ui/view.h"
|
|
|
|
@class DrawBuffer;
|
|
@class TableView;
|
|
@class TableViewColumn;
|
|
@class Array;
|
|
|
|
@protocol TableViewDataSource
|
|
-(int)numberOfRows:(TableView *)tableview;
|
|
-(View *)tableView:(TableView *)tableView
|
|
forColumn:(TableViewColumn *)column
|
|
row:(int)row;
|
|
-retain;
|
|
-release;
|
|
@end
|
|
|
|
@interface TableViewColumn : Object
|
|
{
|
|
string name;
|
|
int width;
|
|
int growMode; // Y flags ignored
|
|
}
|
|
+(TableViewColumn *)named:(string)name;
|
|
+(TableViewColumn *)named:(string)name width:(int)width;
|
|
|
|
-setGrowMode: (int) mode;
|
|
-(int)growMode;
|
|
|
|
-(string)name;
|
|
-(int)width;
|
|
@end
|
|
|
|
@interface TableView : View
|
|
{
|
|
Array *columns;
|
|
DrawBuffer *buffer;
|
|
int columns_dirty;
|
|
id<TableViewDataSource> dataSource;
|
|
Point base;
|
|
}
|
|
+(TableView *)withRect:(Rect)rect;
|
|
-addColumn:(TableViewColumn *)column;
|
|
-setDataSource:(id<TableViewDataSource>)dataSource;
|
|
@end
|
|
|
|
#endif//__qwaq_ui_tableview_h
|