mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
Merge pull request #75 from onelson/master
expose a method to set font_global_scale
This commit is contained in:
commit
b609b6fa70
@ -156,6 +156,10 @@ impl ImGui {
|
||||
let io = self.io_mut();
|
||||
io.ini_saving_rate = value;
|
||||
}
|
||||
pub fn set_font_global_scale(&mut self, value: f32) {
|
||||
let io = self.io_mut();
|
||||
io.font_global_scale = value;
|
||||
}
|
||||
pub fn set_mouse_double_click_time(&mut self, value: f32) {
|
||||
let io = self.io_mut();
|
||||
io.mouse_double_click_time = value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user