2020-03-05 06:44:53 +00:00
|
|
|
#ifndef __qwaq_group_h
|
|
|
|
#define __qwaq_group_h
|
|
|
|
|
2020-03-19 02:32:44 +00:00
|
|
|
#include <Array.h>
|
2020-03-05 06:44:53 +00:00
|
|
|
|
2020-03-19 02:32:44 +00:00
|
|
|
#include "event.h"
|
|
|
|
#include "qwaq-draw.h"
|
|
|
|
|
|
|
|
@class View;
|
|
|
|
|
|
|
|
@interface Group : Object
|
2020-03-05 06:44:53 +00:00
|
|
|
{
|
|
|
|
Array *views;
|
|
|
|
int focused;
|
2020-03-19 02:32:44 +00:00
|
|
|
id<TextContext> context;
|
2020-03-05 06:44:53 +00:00
|
|
|
}
|
2020-03-17 16:39:12 +00:00
|
|
|
-initWithContext: (id<TextContext>) context;
|
2020-03-05 06:44:53 +00:00
|
|
|
-insert: (View *) view;
|
|
|
|
-remove: (View *) view;
|
2020-03-19 02:32:44 +00:00
|
|
|
-draw;
|
|
|
|
-redraw;
|
|
|
|
-handleEvent: (qwaq_event_t *) event;
|
2020-03-05 06:44:53 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif//__qwaq_group_h
|