Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (762)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (847)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [LEGUI] - GUI library for LWJGL  (Read 3149 times)
0 Members and 1 Guest are viewing this topic.
Offline ShchAlexander
« Posted 2018-01-25 14:09:48 »

LEGUI is GUI implementation for using with LWJGL3.

This gui library made for using with OpenGL port (LWJGL) to allow programmers fast and easy integrate user interface to their OpenGL apps written in Java or Kotlin.
API is close to Swing API so it makes possible to fast develop UI.

Have binding system that allows to store ui in JSON representation. XML format will be supported little bit later.

Implemented features:
  • Components
  • Event system
  • Intersection system
  • Animation system
  • CSS-like style system
  • Layout system (components position depending on styles. ex: flex)
  • Layer system (allows create dialogs and tooltips)

List of implemented components:


Now it have OpenGL 3.2+ compatible renderer.

You can find more information on GitHub page: LEGUI

Usage example:

Offline zngga
« Reply #1 - Posted 2018-01-25 15:28:49 »

I took a few moments to zip through the code, looks well thought out and clean. Good job. LWJGL, and java GL in general, is in need of good UI libraries.

My code never has bugs... it just develops unexpected features!
Offline ShchAlexander
« Reply #2 - Posted 2018-01-25 23:05:28 »

Thank you man. Feel free to suggest new features!
Also if you want to contribute you can create PR with your changes!  Roll Eyes
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ShchAlexander
« Reply #3 - Posted 2018-02-23 11:56:14 »

Also currently starting work on CSS-like styles. (In ideal it should be similar to CSS as much as it can).

In future layout system would be configured only with styles.
Offline ShchAlexander
« Reply #4 - Posted 2018-05-14 19:25:57 »

Hello everyone!

I want to share with my progress...
Finally added CSS-like styles and created style based layouting.
  • Display:
    • MANUAL
    • FLEX
    • NONE
  • Position(for now used only for FLEX display):

Also added shadows support and several themes.

Source code you can find here:
Discord server:
Offline wax_lyrical
« Reply #5 - Posted 2018-05-16 06:32:00 »

Looks great!
Offline ShchAlexander
« Reply #6 - Posted 2018-05-31 12:26:59 »

Added FBOImage and usage demo.
Available under 1.4.5-203 version in repository.

Click to Play
Offline ShchAlexander
« Reply #7 - Posted 2018-07-17 23:54:02 »

Added scrollbars to text area...
(Available under 1.4.5-217 develop build)

Click to Play
Pages: [1]
  ignore  |  Print  

EgonOlsen (368 views)
2018-06-10 19:43:48

EgonOlsen (374 views)
2018-06-10 19:43:44

EgonOlsen (305 views)
2018-06-10 19:43:20

DesertCoockie (549 views)
2018-05-13 18:23:11

nelsongames (874 views)
2018-04-24 18:15:36

nelsongames (857 views)
2018-04-24 18:14:32

ivj94 (1318 views)
2018-03-24 14:47:39

ivj94 (437 views)
2018-03-24 14:46:31

ivj94 (1100 views)
2018-03-24 14:43:53

Solater (449 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!