// // MPT_AutoTileView.h // AUCoderDemo // // Created by Andrew Salamon on 10/23/06. // Copyright 2006 Machine Perception Laboratory, University of California San Diego.. All rights reserved. // #import typedef struct { unsigned int col; unsigned int row; } MPT_ViewSlot; @class MPT_AUView; #define MAXCOL 30 #define MAXROW 30 @interface MPT_AutoTileView : NSView { NSMutableArray *views; MPT_ViewSlot maxSlot; MPT_AUView *matrix[MAXCOL][MAXROW]; } - (void)addView:(MPT_AUView *)view; - (void)removeView:(MPT_AUView *)view; - (void)tileViews; - (int)maxRowsForCurrentHeight; @end