mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-25 20:38:36 +00:00
Add missing key_super method
This commit is contained in:
parent
b98e57d055
commit
cbe118f4ec
@ -331,6 +331,10 @@ impl ImGui {
|
|||||||
let io = self.io_mut();
|
let io = self.io_mut();
|
||||||
io.key_alt = value;
|
io.key_alt = value;
|
||||||
}
|
}
|
||||||
|
pub fn key_super(&self) -> bool {
|
||||||
|
let io = self.io();
|
||||||
|
io.key_super
|
||||||
|
}
|
||||||
pub fn set_key_super(&mut self, value: bool) {
|
pub fn set_key_super(&mut self, value: bool) {
|
||||||
let io = self.io_mut();
|
let io = self.io_mut();
|
||||||
io.key_super = value;
|
io.key_super = value;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user