https://github.com/borodust/bodge-nuklear
Thin wrapper over Nuklear for Common Lisp
https://github.com/borodust/bodge-nuklear
Last synced: about 1 year ago
JSON representation
Thin wrapper over Nuklear for Common Lisp
- Host: GitHub
- URL: https://github.com/borodust/bodge-nuklear
- Owner: borodust
- License: mit
- Created: 2016-12-18T18:01:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-15T16:21:38.000Z (over 2 years ago)
- Last Synced: 2024-08-01T03:41:35.372Z (over 1 year ago)
- Language: Common Lisp
- Homepage:
- Size: 1.14 MB
- Stars: 62
- Watchers: 5
- Forks: 11
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cl - bodge-nuklear - Wrapper over the [Nuklear](https://github.com/Immediate-Mode-UI/Nuklear) immediate mode GUI library. [MIT][200]. (Miscellaneous ##)
README
[](https://travis-ci.org/borodust/bodge-nuklear) [](https://ci.appveyor.com/project/borodust/bodge-nuklear)
# BODGE-NUKLEAR
Thin wrapper over [`Nuklear`](https://github.com/vurtun/nuklear) immediate mode
GUI library. For rich lispified system based on this wrapper have a look at
[`bodge-ui-window`](https://github.com/borodust/bodge-ui-window) and
[`bodge-ui`](https://github.com/borodust/bodge-ui).
# Requirements
* ASDF/Quicklisp
* x86_64/i686 GNU/Linux, macOS or Windows
# Loading
```lisp
(ql:quickload '(nuklear-blob bodge-nuklear))
```
# Usage
### Interface
All wrapped functions can be found in `%nk` package. On the other hand, `nk`
package contains minimally lispified wrappers and utility functions.
# Example
Example on how to use nuklear and a native renderer can be found in
[`example.lisp`](example.lisp). See `#'compose-nuklear` function.
To run it, evaluate in your REPL:
```lisp
(ql:quickload :bodge-nuklear/example)
(nuklear.example:run)
```