mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
27 lines
538 B
Objective-C
27 lines
538 B
Objective-C
#ifndef __ruamoko_gui_View_h
|
|
#define __ruamoko_gui_View_h
|
|
|
|
#include "Object.h"
|
|
|
|
@class Point;
|
|
@class Size;
|
|
@class Rect;
|
|
|
|
@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;
|
|
- (id) initWithOrigin: (Point)anOrigin size: (Size)aSize;
|
|
- (id) initWithBounds: (Rect)aRect;
|
|
- (void) setBasePos: (integer)x y: (integer)y;
|
|
- (void) setBasePos: (Point)pos;
|
|
- (void) draw;
|
|
@end
|
|
|
|
#endif //__ruamoko_gui_View_h
|