quakeforge/ruamoko/qwaq/input-app.h
Bill Currie 4057500acc [qwaq] Implement device management for input-app
Currently shows only the axes (along with dev "path" and name), but it
has done a good job of pushing dev of other bits of code :)
2021-09-25 14:22:19 +09:00

38 lines
590 B
Objective-C

#ifndef __qwaq_app_h
#define __qwaq_app_h
#include <Object.h>
#include "ruamoko/qwaq/ui/event.h"
#include "ruamoko/qwaq/ui/rect.h"
@class Array;
@class Group;
@class TextContext;
@class View;
extern int color_palette[64];
@interface InputApplication: Object
{
qwaq_event_t event;
qwaq_command endState;
Group *objects;
TextContext *screen;
Extent screenSize;
int autocount;
Array *devices;
}
-(Extent)size;
-(TextContext *)screen;
-addView:(View *)view;
-removeView:(View *)view;
-run;
@end
extern InputApplication *application;
#endif//__qwaq_app_h