mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +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.
24 lines
401 B
Objective-C
24 lines
401 B
Objective-C
#ifndef __qwaq_screen_h
|
|
#define __qwaq_screen_h
|
|
|
|
#include <Object.h>
|
|
|
|
#include "qwaq-draw.h"
|
|
#include "qwaq-rect.h"
|
|
@class View;
|
|
@class Array;
|
|
|
|
@interface Screen: Object <HandleEvent, Draw>
|
|
{
|
|
Rect rect;
|
|
Array *views;
|
|
Array *event_handlers;
|
|
View *focusedView;
|
|
struct window_s *window;
|
|
}
|
|
+(Screen *) screen;
|
|
-add: obj;
|
|
-setBackground: (int) ch;
|
|
@end
|
|
|
|
#endif//__qwaq_screen_h
|