Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 870 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 870 Bytes

nim_iup_dsl

Nim Domain Specific Language for building a GUI in the NIM programing language using the IUP GUI library

Requirements

Requires V3.0 of IUP library (iup30.dll for win or libiup3.0.so for Linux). It probably works with lower versions, but uses some V3.0 or higher functionality.

Unfortunately, the current IUP wrapper for Nim is IUP V3.0 or older, so DO NOT use newer version of IUP until the wrapper in Nim is updated.

Limitations

This is the first draft, so has only been tested on win7 64 bit, so far.

It does not include the canvas which requires the iupcd library.

It covers a fair proportion of widgets, but not all (yet).

known issues

Lists and toggles get overwritten (some weird memory corruption) when not compiled with -d:release

Example code

the iup_dsl.nim is INCLUDED rather than imported. See the iup_dsl_test.nim file.