mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-24 03:48:30 +00:00
Merge pull request #218 from agersant/allow-overlap
Exposed igSetItemAllowOverlap
This commit is contained in:
commit
2124665293
@ -1656,6 +1656,11 @@ impl<'ui> Ui<'ui> {
|
|||||||
unsafe { sys::igIsItemActive() }
|
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.
|
/// Group items together as a single item.
|
||||||
///
|
///
|
||||||
/// May be useful to handle the same mouse event on a group of items, for example.
|
/// May be useful to handle the same mouse event on a group of items, for example.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user