mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
d88a091fc6
Well, that took a fair bit more than it should have to get working: had to implement the protocol support in qfcc and engine-side ruamoko.
26 lines
466 B
Objective-C
26 lines
466 B
Objective-C
#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, TakeFocus>
|
|
{
|
|
Rect rect;
|
|
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
|