/oryol-nuklear

Integrate Nuklear UI with Oryol engine

Primary LanguageC++MIT LicenseMIT

oryol-nuklear

Nuklear UI wrapper for Oryol (https://github.com/vurtun/nuklear)

Oryol sample: http://floooh.github.io/oryol-samples/wasm/NuklearUIBasic.html

How to integrate into your Oryol project:

Add a new import to the fips.yml file of your project:

imports:
    oryol-nuklear:
        git: https://github.com/floooh/oryol-nuklear.git

Next, add a new dependency 'NKUI' to your app's CMakeLists.txt file:

fips_begin_app(MyApp windowed)
    ...
    fips_deps(NKUI)
fips_end_app()

Run 'fips gen' to fetch the new dependencies and rebuild the build files:

> ./fips gen
...

Have a look at the the Oryol Nuklear UI sample application for how to use the NKUI module.