mirror of
https://github.com/bdnugget/zig-gamedev.git
synced 2026-11-07 09:07:31 +00:00
zgui: Align version number to dear imgui version.
This commit is contained in:
1 parent
c949068ba1
commit
75284de7f8
3 files changed
+10
-4
No files matched your search
@@ -102,7 +102,7 @@ Library | Latest version | Description
|
||||
**[zopengl](libs/zopengl)** | 0.1.0 | OpenGL loader (supports 3.3 Core Profile and ES 2.0 Profile)
|
||||
**[zsdl](libs/zsdl)** | 0.0.1 | Bindings for SDL2 (wip)
|
||||
**[zgpu](libs/zgpu)** | 0.9.0 | Small helper library built on top of native wgpu implementation ([Dawn](https://github.com/michal-z/dawn-bin))
|
||||
**[zgui](libs/zgui)** | 0.9.6 | Easy to use [dear imgui](https://github.com/ocornut/imgui) bindings (includes [ImPlot](https://github.com/epezent/implot))
|
||||
**[zgui](libs/zgui)** | 1.89.6 | Easy to use [dear imgui](https://github.com/ocornut/imgui) bindings (includes [ImPlot](https://github.com/epezent/implot))
|
||||
**[zaudio](libs/zaudio)** | 0.9.3 | Fully-featured audio library built on top of [miniaudio](https://github.com/mackron/miniaudio)
|
||||
**[zmath](libs/zmath)** | 0.9.6 | SIMD math library for game developers
|
||||
**[zstbi](libs/zstbi)** | 0.9.3 | Image reading, writing and resizing with [stb](https://github.com/nothings/stb) libraries
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# zgui v0.9.6 - dear imgui (1.89.4) bindings
|
||||
# zgui v1.89.6 - dear imgui bindings
|
||||
|
||||
Easy to use, hand-crafted API with default arguments, named parameters and Zig style text formatting. For a test application please see [here](https://github.com/michal-z/zig-gamedev/tree/main/samples/gui_test_wgpu).
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// named parameters and Zig style text formatting.
|
||||
//
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
pub const version = @import("std").SemanticVersion{ .major = 0, .minor = 9, .patch = 6 };
|
||||
pub const version = @import("std").SemanticVersion{ .major = 1, .minor = 89, .patch = 6 };
|
||||
|
||||
pub const plot = @import("plot.zig");
|
||||
pub const backend = switch (@import("zgui_options").backend) {
|
||||
@@ -189,7 +189,13 @@ pub const io = struct {
|
||||
config: ?FontConfig,
|
||||
ranges: ?[*]const Wchar,
|
||||
) Font {
|
||||
return zguiIoAddFontFromMemoryWithConfig(fontdata.ptr, @intCast(i32, fontdata.len), size_pixels, if (config) |c| &c else null, ranges);
|
||||
return zguiIoAddFontFromMemoryWithConfig(
|
||||
fontdata.ptr,
|
||||
@intCast(i32, fontdata.len),
|
||||
size_pixels,
|
||||
if (config) |c| &c else null,
|
||||
ranges,
|
||||
);
|
||||
}
|
||||
extern fn zguiIoAddFontFromMemoryWithConfig(
|
||||
font_data: *const anyopaque,
|
||||
|
||||
Reference in new issue
Block a user