https://github.com/namek/zig-sokol-imgui
Zig + Sokol + ImGui
https://github.com/namek/zig-sokol-imgui
Last synced: 10 months ago
JSON representation
Zig + Sokol + ImGui
- Host: GitHub
- URL: https://github.com/namek/zig-sokol-imgui
- Owner: Namek
- Created: 2022-06-12T10:30:11.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-14T16:24:37.000Z (almost 4 years ago)
- Last Synced: 2025-02-25T06:48:19.109Z (over 1 year ago)
- Language: Zig
- Size: 1.92 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What?
UI App template based on:
1. [Zig](https://ziglang.org/) programming language
2. Immediate UI library called [ImGUI](https://github.com/ocornut/imgui), platform independent. The [sokol](https://github.com/floooh/sokol/) library provides per-OS implementation.
3. [FreeType](https://github.com/freetype/freetype) for better font rendering than ImGUI's default
## Points of care
1. **platforms**: Windows and MacOS. Linux support would be nice but I don't use it outside of terminal.
2. **High DPI**. In my case it's 125% scaling on Windows and 200% on Mac's Retina screen. This involves window/control scaling and nice font rendering.
3. **dependencies** as submodules linking to source repos, not copies of the repos. That might be easier to update.
# Build
`zig build run`