quakeforge/ruamoko/qwaq/qwaq-screen.h
Bill Currie d88a091fc6 [qwaq] Use protocols to distinguish object abilities
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.
2020-03-02 15:22:54 +09:00

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