2003-01-08 15:56:11 +00:00
|
|
|
#ifndef __ruamoko_View_h
|
|
|
|
#define __ruamoko_View_h
|
|
|
|
|
|
|
|
#include "Object.h"
|
2004-02-03 08:31:26 +00:00
|
|
|
|
|
|
|
@class Point;
|
|
|
|
@class Size;
|
|
|
|
@class Rect;
|
2003-01-08 15:56:11 +00:00
|
|
|
|
|
|
|
@interface View: Object
|
|
|
|
{
|
|
|
|
@public
|
|
|
|
integer xpos, ypos;
|
|
|
|
integer xlen, ylen;
|
|
|
|
integer xabs, yabs;
|
|
|
|
View parent;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (id) initWithComponents: (integer)x : (integer)y : (integer)w : (integer)h;
|
2004-02-03 08:31:26 +00:00
|
|
|
- (id) initWithOrigin: (Point)anOrigin size: (Size)aSize;
|
|
|
|
- (id) initWithBounds: (Rect)aRect;
|
|
|
|
- (void) setBasePos: (integer) x y: (integer) y;
|
2003-01-08 15:56:11 +00:00
|
|
|
- (void) draw;
|
|
|
|
@end
|
|
|
|
|
2004-02-03 08:31:26 +00:00
|
|
|
#endif //__ruamoko_View_h
|