From 4c277ce0e6efe5d372b399bd37eaef07d6ea8c1a Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 9 Aug 2020 09:41:06 +0300 Subject: Closing tabs/window --- src/ui/widget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/widget.h') diff --git a/src/ui/widget.h b/src/ui/widget.h index 0aff6505..8277b4ba 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h @@ -128,6 +128,7 @@ iAny * addChildPos_Widget (iWidget *, iAnyObject *child, enum iWidgetAddPos ad iAny * addChildFlags_Widget(iWidget *, iAnyObject *child, int childFlags); /* holds a ref */ iAny * removeChild_Widget (iWidget *, iAnyObject *child); /* returns a ref */ iAny * child_Widget (iWidget *, size_t index); /* O(n) */ +size_t childIndex_Widget (const iWidget *, const iAnyObject *child); /* O(n) */ void arrange_Widget (iWidget *); iBool dispatchEvent_Widget(iWidget *, const SDL_Event *); iBool processEvent_Widget (iWidget *, const SDL_Event *); -- cgit v1.2.3