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