toss these in before they get lost

This commit is contained in:
Bill Currie 2003-01-08 15:56:11 +00:00
parent 34d4483424
commit b2e1160cfd
2 changed files with 40 additions and 0 deletions

21
ruamoko/include/View.h Normal file
View file

@ -0,0 +1,21 @@
#ifndef __ruamoko_View_h
#define __ruamoko_View_h
#include "Object.h"
#include "Point.h"
#include "Size.h"
@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;
- (void) draw;
@end
#endif //__ruamoko_Rect_h

19
ruamoko/lib/View.r Normal file
View file

@ -0,0 +1,19 @@
#include "View.h"
@implementation View
-(id) initWithComponents: (integer)x : (integer)y : (integer)w : (integer)h
{
xpos = xabs = x;
ypos = yabs = y;
xlen = w;
ylen = y;
parent = NIL;
return self;
}
-(void) draw
{
}
@end