File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ Zig wraper for [ImGuizmo](https://github.com/CedricGuillemet/ImGuizmo).
209209
210210### Node editor API
211211
212- Zig wraper for [ ImGuiNodeEditor] ( https://github.com/thedmd /imgui-node-editor ) .
212+ Zig wraper for [ ImGuiNodeEditor] ( https://github.com/cyberegoorg /imgui-node-editor ) .
213213
214214``` zig
215215var node_editor = zgui.node_editor.EditorContext.create(.{ .enable_smooth_zoom = true }),
Original file line number Diff line number Diff line change @@ -370,6 +370,10 @@ pub const io = struct {
370370 pub const setConfigFlags = zguiIoSetConfigFlags ;
371371 extern fn zguiIoSetConfigFlags (flags : ConfigFlags ) void ;
372372
373+ /// `pub fn getBackendFlags() BackendFlags`
374+ pub const getBackendFlags = zguiIoGetBackendFlags ;
375+ extern fn zguiIoGetBackendFlags () BackendFlags ;
376+
373377 /// `pub fn setBackendFlags(flags: BackendFlags) void`
374378 pub const setBackendFlags = zguiIoSetBackendFlags ;
375379 extern fn zguiIoSetBackendFlags (flags : BackendFlags ) void ;
Original file line number Diff line number Diff line change @@ -1611,6 +1611,11 @@ extern "C"
16111611 ImGui::GetIO ().BackendFlags = flags;
16121612 }
16131613
1614+ ZGUI_API ImGuiBackendFlags zguiIoGetBackendFlags ()
1615+ {
1616+ return ImGui::GetIO ().BackendFlags ;
1617+ }
1618+
16141619 ZGUI_API void zguiIoSetDisplaySize (float width, float height)
16151620 {
16161621 ImGui::GetIO ().DisplaySize = {width, height};
You can’t perform that action at this time.
0 commit comments