An open API service indexing awesome lists of open source software.

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

Integrate Nuklear UI with Oryol engine
https://github.com/floooh/oryol-nuklear

fips nuklear oryol

Last synced: 9 months ago
JSON representation

Integrate Nuklear UI with Oryol engine

Awesome Lists containing this project

README

          

# 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:

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

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

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

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

```bash
> ./fips gen
...
```

Have a look at the the [Oryol Nuklear UI sample application](https://github.com/floooh/oryol-samples/blob/master/src/NuklearUIBasic/NuklearUIBasic.cc) for how to use the NKUI module.