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
- Host: GitHub
- URL: https://github.com/floooh/oryol-nuklear
- Owner: floooh
- License: mit
- Created: 2016-08-06T11:06:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-19T06:18:18.000Z (over 5 years ago)
- Last Synced: 2025-03-25T22:41:25.766Z (10 months ago)
- Topics: fips, nuklear, oryol
- Language: C++
- Size: 18.6 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.