GUI library for NXC to make your programs for Lego NXT more beautiful and user-friendly
The library uses NXC display module to render various UI components.
This is the easiest and quickest way to use this library.
-
Copy
src
folder to your project directory and rename it tonxc-gui
. -
Add following to the top of your main NXC file:
#include "nxc-gui/default-strings.nxc" #include "nxc-gui/nxc-gui.nxc"
-
Get inspired from
test.nxc
-
Use and enjoy!
This is better and cleaner way to use this library, but has some extra prerequisities.
Prerequisities:
- Your project uses Git
- You are familiar with Git submodules
If so, then:
- Run
git submodule add https://github.com/FireFragment/nxc-gui
in console - Add following to the top of your main NXC file:
#include "nxc-gui/src/default-strings.nxc" #include "nxc-gui/src/nxc-gui.nxc"
- Get inspired from
test.nxc
- Use and enjoy!