2020-02-29 15:40:55 +00:00
|
|
|
#ifndef __qwaq_view_h
|
|
|
|
#define __qwaq_view_h
|
|
|
|
|
|
|
|
#include <Array.h>
|
|
|
|
#include <Object.h>
|
|
|
|
|
2020-03-02 06:22:54 +00:00
|
|
|
#include "qwaq-draw.h"
|
2020-03-01 09:25:02 +00:00
|
|
|
#include "qwaq-rect.h"
|
2020-02-29 15:40:55 +00:00
|
|
|
|
2020-03-02 06:22:54 +00:00
|
|
|
@interface View: Object <Draw>
|
2020-02-29 15:40:55 +00:00
|
|
|
{
|
2020-03-03 01:46:28 +00:00
|
|
|
@public
|
2020-02-29 15:40:55 +00:00
|
|
|
Rect rect;
|
|
|
|
Rect absRect;
|
|
|
|
Point point; // can't be local :(
|
2020-03-03 12:30:47 +00:00
|
|
|
id parent;
|
2020-03-01 09:25:02 +00:00
|
|
|
struct window_s *window;
|
2020-02-29 15:40:55 +00:00
|
|
|
}
|
|
|
|
-initWithRect: (Rect) rect;
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif//__qwaq_view_h
|