mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 16:37:30 +00:00
73e45cc8ee
dealloc -> release This is an imperfect revision of history.
32 lines
686 B
Objective-C
32 lines
686 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;
|
|
integer flags;
|
|
}
|
|
|
|
- (id) initWithComponents: (integer)x : (integer)y : (integer)w : (integer)h;
|
|
- (id) initWithOrigin: (Point)anOrigin size: (Size)aSize;
|
|
- (id) initWithBounds: (Rect)aRect;
|
|
- (id) canFocus: (integer)cf;
|
|
- (integer) canFocus;
|
|
- (void) setBasePos: (integer)x y: (integer)y;
|
|
- (void) setBasePos: (Point)pos;
|
|
- (void) draw;
|
|
|
|
- (integer) keyEvent:(integer)key unicode:(integer)unicode down:(integer)down;
|
|
@end
|
|
|
|
#endif //__ruamoko_gui_View_h
|