File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -731,6 +731,9 @@ pub fn setWindowFocus(name: ?[:0]const u8) void {
731
731
}
732
732
extern fn zguiSetWindowFocus (name : ? [* :0 ]const u8 ) void ;
733
733
//-------------------------------------------------------------------------------------------------
734
+ extern fn zguiSetWindowFontScale (scale : f32 ) void ;
735
+ pub const setWindowFontScale = zguiSetWindowFontScale ;
736
+ //-------------------------------------------------------------------------------------------------
734
737
pub fn setKeyboardFocusHere (offset : i32 ) void {
735
738
zguiSetKeyboardFocusHere (offset );
736
739
}
Original file line number Diff line number Diff line change @@ -79,6 +79,11 @@ extern "C"
79
79
ImGui::SetWindowFocus (name);
80
80
}
81
81
82
+ ZGUI_API void zguiSetWindowFontScale (float scale)
83
+ {
84
+ ImGui::SetWindowFontScale (scale);
85
+ }
86
+
82
87
ZGUI_API void zguiSetKeyboardFocusHere (int offset)
83
88
{
84
89
ImGui::SetKeyboardFocusHere (offset);
You can’t perform that action at this time.
0 commit comments