Skip to content

cactusbento/zig-raygui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-raygui

A WIP binding for raygui for zig.

You must provide a method to use raylib in your project, this can be done using

exe.linkSystemLibrary("raylib");
const raylib = b.dependency("raylib");
b.installArtifact(raylib.artifact("raylib"))

or a wrapper such as Not-Nik/raylib-zig.

To actually use this library, add the following to your build.zig:

const raygui = b.dependency("raygui-zig");
const raysan_raygui = raygui.builder.dependency("raygui", .{});
exe.addIncludePath(
    raysan_raygui.path("src"),
);

TODO (In order of priority)

  • Implement bindings for the rest of raygui.h
  • Create proper docs for the autodoc.
  • Create a better method to render things in a container element. (This include making a better interface for both elements and containers)
    • Containers should nest without problems/major hacks
  • Implement scrollable containers.

About

Custom raygui bindings for zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages