diff --git a/ruamoko/qwaq/qwaq-view.h b/ruamoko/qwaq/qwaq-view.h index 50ca22462..b8d61d1f0 100644 --- a/ruamoko/qwaq/qwaq-view.h +++ b/ruamoko/qwaq/qwaq-view.h @@ -43,36 +43,8 @@ enum { gfGrowY = gfGrowLoY | gfGrowHiY, gfGrowAll = gfGrowX | gfGrowY, }; -@interface View: Object -{ - union { - Rect rect; - struct { - int xpos; - int ypos; - int xlen; - int ylen; - }; - struct { - Point pos; - Extent size; - }; - }; - Rect absRect; - Point point; // can't be local :( - Group *owner; - id textContext; - int state; - int options; - int growMode; - int cursorState; - Point cursor; - ListenerGroup *onReceiveFocus; - ListenerGroup *onReleaseFocus; -} --initWithRect: (Rect) rect; -- (void) dealloc; +@protocol View -setOwner: (Group *) owner; -setGrowMode: (int) mode; @@ -109,6 +81,36 @@ enum { - (void) mvaddch: (Point) pos, int ch; @end +@interface View: Object +{ + union { + Rect rect; + struct { + int xpos; + int ypos; + int xlen; + int ylen; + }; + struct { + Point pos; + Extent size; + }; + }; + Rect absRect; + Point point; // can't be local :( + Group *owner; + id textContext; + int state; + int options; + int growMode; + int cursorState; + Point cursor; + ListenerGroup *onReceiveFocus; + ListenerGroup *onReleaseFocus; +} +-initWithRect: (Rect) rect; +@end + @interface View (TextContext) @end