2020-02-29 15:40:55 +00:00
|
|
|
#ifndef __qwaq_app_h
|
|
|
|
#define __qwaq_app_h
|
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
#include <Object.h>
|
|
|
|
|
2020-03-29 17:34:08 +00:00
|
|
|
#include "ui/event.h"
|
|
|
|
#include "ui/rect.h"
|
2020-02-29 15:40:55 +00:00
|
|
|
|
2020-03-24 16:32:52 +00:00
|
|
|
@class Array;
|
2020-03-14 10:45:07 +00:00
|
|
|
@class Group;
|
2020-03-19 09:41:53 +00:00
|
|
|
@class TextContext;
|
2020-03-24 16:32:52 +00:00
|
|
|
@class View;
|
2020-03-01 09:25:02 +00:00
|
|
|
|
2020-03-26 00:01:39 +00:00
|
|
|
extern int color_palette[64];
|
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
@interface QwaqApplication: Object
|
2020-02-29 15:40:55 +00:00
|
|
|
{
|
|
|
|
qwaq_event_t event;
|
|
|
|
qwaq_command endState;
|
2020-03-14 10:45:07 +00:00
|
|
|
|
|
|
|
Group *objects;
|
2020-03-19 09:41:53 +00:00
|
|
|
|
|
|
|
TextContext *screen;
|
2020-03-23 11:14:32 +00:00
|
|
|
Extent screenSize;
|
2020-03-19 09:41:53 +00:00
|
|
|
int autocount;
|
2020-03-24 16:32:52 +00:00
|
|
|
|
|
|
|
Array *debuggers;
|
2020-02-29 15:40:55 +00:00
|
|
|
}
|
2020-03-24 16:06:20 +00:00
|
|
|
-(Extent)size;
|
|
|
|
-(TextContext *)screen;
|
2020-03-24 16:32:52 +00:00
|
|
|
-addView:(View *)view;
|
2020-02-29 15:40:55 +00:00
|
|
|
-run;
|
|
|
|
@end
|
|
|
|
|
2020-03-26 04:30:33 +00:00
|
|
|
extern QwaqApplication *application;
|
2020-03-24 16:06:20 +00:00
|
|
|
|
2020-02-29 15:40:55 +00:00
|
|
|
#endif//__qwaq_app_h
|