[qwaq] Add method to get group's owning view

This commit is contained in:
Bill Currie 2021-06-07 15:56:20 +09:00
parent 3d42f986c3
commit 5e8376340d
2 changed files with 6 additions and 0 deletions

View file

@ -25,6 +25,7 @@
-insertDrawn: (View *) view;
-insertSelected: (View *) view;
-remove: (View *) view;
-(View *) owner;
-(Rect) rect;
-(Rect) absRect;
-(Point) origin;

View file

@ -182,6 +182,11 @@ trySetFocus (Group *self, int viewIndex)
return self;
}
-(View *) owner
{
return owner;
}
-(Rect) rect
{
if (owner) {