No description
Find a file
2019-07-12 20:48:56 -05:00
private tune up the readme 2019-07-12 20:28:04 -05:00
fltk.nim tune up the readme 2019-07-12 20:28:04 -05:00
fltk.nimble Added nimble meta-data. 2018-07-10 04:37:22 -05:00
LICENSE Explicitly added FLTK's license, for clarity. 2018-07-10 04:35:33 -05:00
README.md include note that this is c++ code 2019-07-12 20:48:56 -05:00
test.nim Slightly more appropriate object names. 2018-07-09 08:16:00 -05:00

Nimized Fast Light Toolkit

A wrapper for the Fast Light Toolkit, for the Nim language.

This library is compatible with the following versions:

Version
FLTK 1.3
Nim 0.20

This is a C++ wrapper and so you must compile in cpp mode:

nim cpp test.nim

Notes

  • Reference types have been removed. Anywhere that Widget& would have appeared in FLTK code is now a ptr Widget.
  • Getters and setters follow Nim convention. set_something is bound as something= except where it was not compatible.
  • FLTK does not have any fancy layout systems built in; you will need to bring your own.
  • You can't override classes. So things like subclassing an OpenGL view to provide your own draw function doesn't work.
  • Devices are partially bound but not complete. Drawing commands involving regions are also not implemented (they have OS specific requirements--needs to be handled.)
  • This wrapper is not explicitly documented, but follows the original FLTK documentation closely.