mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 15:51:36 +00:00
c58cf2c2d0
This is horrible, doesn't work, isn't really the direction I want to go (that became apparent while implementing Screen's handleEvent) and crashes anyway (Array and not-id...) *sigh* Still, this does have some good stuff in it, and it pushed qfcc along some more.
22 lines
362 B
Objective-C
22 lines
362 B
Objective-C
#ifndef __qwaq_view_h
|
|
#define __qwaq_view_h
|
|
|
|
#include <Array.h>
|
|
#include <Object.h>
|
|
|
|
#include "qwaq-draw.h"
|
|
#include "qwaq-rect.h"
|
|
|
|
@interface View: Object <Draw>
|
|
{
|
|
@public
|
|
Rect rect;
|
|
Rect absRect;
|
|
Point point; // can't be local :(
|
|
id parent;
|
|
struct window_s *window;
|
|
}
|
|
-initWithRect: (Rect) rect;
|
|
@end
|
|
|
|
#endif//__qwaq_view_h
|