Yet another crystal binding for libui-ng.
See examples.
- Notes:
- UIng.msg_box is not working on Windows (the reason is unknown).
-
Rules:
UIng::LibUI
is a module for binding.- Use crystal_lib to create bindings.
- Method names should be snake_case.
- Passing a Proc to a C function
-
A function pointer in C is a Proc in Crystal.
- If data can be passed as an argument, it can be a closure, but not always; if data cannot be passed, it works only if the Proc is not a closure.
- Fork this repository
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features
MIT