Hello Guest

How to do GUI

  • 4 Replies
  • 759 Views
How to do GUI
« on: March 05, 2019, 12:39:20 »
Are there any GUI libraries that work well with LWJGL 3 and have decent documentation. I tried using NanoVG but there is very little documentation.

*

Offline spasi

  • *****
  • 2140
    • WebHotelier
Re: How to do GUI
« Reply #1 on: March 05, 2019, 14:13:23 »
See:

- https://github.com/orange451/LWJGUI
- https://github.com/SpinyOwl/legui
- https://github.com/SkyAphid/Clear/
- https://github.com/kotlin-graphics/imgui
- https://github.com/LWJGLX/lwjgl3-swt

Other than NanoVG, LWJGL has bindings to the Nuklear & Yoga libraries, which might also help with GUI development.
« Last Edit: March 05, 2019, 14:16:21 by spasi »

Re: How to do GUI
« Reply #2 on: March 05, 2019, 23:33:10 »
How do I actually turn these into libraries. I'm not familiar with maven or gradel, and have no idea on how I actually use these as libraries.

Re: How to do GUI
« Reply #3 on: April 14, 2019, 07:55:21 »

*

Offline KaiHH

  • ***
  • 188
Re: How to do GUI
« Reply #4 on: April 14, 2019, 08:05:58 »
Obtain a binary release of imgui, either via the direct downloads on https://github.com/kotlin-graphics/imgui/releases or via Maven/Gradle ( see https://github.com/kotlin-graphics/imgui#how-to-get-it ). Those are jar files containing JVM .class files in the end and can be used with any JVM language, such as Java. You just have to use an IDE with the binary jar files added to the build/classpath and explore the API.