quakeforge/ruamoko/qwaq/qwaq-window.h

28 lines
514 B
C
Raw Normal View History

#ifndef __qwaq_window_h
#define __qwaq_window_h
#include "Object.h"
@class View;
@class Array;
#include "qwaq-draw.h"
#include "qwaq-rect.h"
@interface Window: Object <Draw, HandleFocusedEvent, HandleMouseEvent>
{
Rect rect;
id parent;
Point point; // FIXME can't be local :(
Array *views;
View *focusedView;
struct window_s *window;
struct panel_s *panel;
}
+windowWithRect: (Rect) rect;
-addView: (View *) view;
-setBackground: (int) ch;
@end
#endif//__qwaq_window_h