quakeforge/ruamoko/qwaq/qwaq-app.h
Bill Currie 9bc91cd7d1 [qwaq] Implement resizing
Terminal resize is detected and the views adjust appropriately (well,
those for which I've set grow flags: the window title bar doesn't adjust
yet).
2020-03-23 20:14:32 +09:00

28 lines
399 B
Objective-C

#ifndef __qwaq_app_h
#define __qwaq_app_h
#include <Object.h>
#include "event.h"
#include "qwaq-rect.h"
@class Group;
@class TextContext;
@interface QwaqApplication: Object
{
qwaq_event_t event;
qwaq_command endState;
Group *objects;
TextContext *screen;
Extent screenSize;
int autocount;
}
-run;
-draw;
-handleEvent: (qwaq_event_t *) event;
@end
#endif//__qwaq_app_h