fltk-sys
Raw bindings for FLTK. These are generated using bindgen on the cfltk headers.
Usage
[]
= "1.5"
Example code:
use *;
use *;
unsafe extern "C"
Dependencies
CMake > 3.14, git and a C++17 compiler. The dev dependencies are basically the same as for fltk-rs.
Why you might want to use fltk-sys directly
- If you need an abi stable cdylib that you can call into (as a plugin system for example).
- To create your own wrapper around certain elements if you don't need the whole fltk crate.
- fltk-sys, although memory and thread unsafe, is panic-safe.
- You need a no-std gui library, in such case, you can replace the
std::
prefix with thelibc
via bindgen (requires adding libc as a dependency). - Wrapping a 3rd-party widget like in fltk-flow.