Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.78 KB

README.md

File metadata and controls

50 lines (39 loc) · 1.78 KB

lvgl.nim

A wrapper of the Light Versatile Graphic Library (LVGL) for Nim.

Dependencies

  • SLD2
  • wayland-client?
  • xkbcommon?

Installation

Install as usual:

$ nimble install https://github.com/mantielero/lvgl.nim

Status

The wrapper seems to work in Linux. There is no sugar yet, so right now is not very friendly.

You can find some working examples.

Wrapper creation

The wrapper creation is done using nimterop.

It just required:

  1. Running the file: src/wrapper/create_wrapper.sh
  2. Running the file: src/wrapper/compiles.sh
  3. Manually creating the file src/lvgl.nim

TODO

Some notes

I added lvgl as a submodule:

$ git submodule add https://github.com/lvgl/lvgl.git src/components/lvgl