From 2532b9efd1184d6620768aa268c6e2ab3454ddcc Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Tue, 23 Apr 2019 23:56:01 -0700 Subject: [PATCH] Exposed igSetItemAllowOverlap --- src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 73e10da..faba734 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1655,6 +1655,11 @@ impl<'ui> Ui<'ui> { unsafe { sys::igIsItemActive() } } + /// Allow last item to be overlapped by a subsequent item. Both may be activated during the same frame before the later one takes priority. + pub fn set_item_allow_overlap(&self) { + unsafe{ sys::igSetItemAllowOverlap(); } + } + /// Group items together as a single item. /// /// May be useful to handle the same mouse event on a group of items, for example.