o
odinpkg.dev
packages / binding / odin-libui

odin-libui

7bb48bebinding

Odin lang libui-ng wrapper

MIT · updated 6 months ago

odin-libui

Odin language libui-ng wrapper. Tested on Win/Mac/Linux (Ubuntu).

screenshots/basic_controls.png

Forked from v-libui (which based on libui_examples)

Dynamic libraries are already placed in this repo. These were prebuilt from libui-ng/libui-ng. (So if you need other architecture/platform versions, please build and replace it by yourself.)

Examples (how to build and run)

Windows

.\build.ps1

# then run each .exe in bin folder

Mac

$ ./build.sh

# run executables, for example:
$ DYLD_LIBRARY_PATH=bin bin/graph

Linux

Note

for arm64, cp bin/libui_arm64.so bin/libui.so

$ ./build.sh

# run executables, for example:
$ LD_LIBRARY_PATH=bin bin/graph

Original README (libui_examples)


libui examples

Small libui examples that can be compile with tiny c compile Examples are automatically compiled and exposed at actions tab.

screenshots/basic_controls.png

Build and Run

Windows

.\build.bat

# then run each .exe in bin folder

Mac

$ ./build.sh

# run executables, for example:
$ DYLD_LIBRARY_PATH=bin bin/graph

Linux

$ ./build.sh

# run executables, for example:
$ LD_LIBRARY_PATH=bin bin/graph

Screenshots

screenshots/basic_controls.png screenshots/calender.png screenshots/data_choosers.png screenshots/graph.png screenshots/label.png screenshots/numbers_and_lists.png screenshots/timer.png