mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qwaq] Add method to get group's owning view
This commit is contained in:
parent
3d42f986c3
commit
5e8376340d
2 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
-insertDrawn: (View *) view;
|
||||
-insertSelected: (View *) view;
|
||||
-remove: (View *) view;
|
||||
-(View *) owner;
|
||||
-(Rect) rect;
|
||||
-(Rect) absRect;
|
||||
-(Point) origin;
|
||||
|
|
|
@ -182,6 +182,11 @@ trySetFocus (Group *self, int viewIndex)
|
|||
return self;
|
||||
}
|
||||
|
||||
-(View *) owner
|
||||
{
|
||||
return owner;
|
||||
}
|
||||
|
||||
-(Rect) rect
|
||||
{
|
||||
if (owner) {
|
||||
|
|
Loading…
Reference in a new issue