Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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 2310 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.

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-01-28 09:40:27 »

Here is some examples:

Button, SelectBox, CheckBox, ToggleButton
Click to Play
Slider - Orientations: horizontal, vertical
Click to Play
ScrollBar, ScrollablePanel
Click to Play
TextInout, RadioButton
Click to Play
Widget
Closeable and with enabled/disabled title.
Also it could be minimizable.
Click to Play
TextArea
Horisontal align: Left, Center, Right.
Vertical align: Top, Middle, Bottom.
Click to Play


Offline ShchAlexander
« Reply #4 - Posted 2018-02-23 11:53:23 »

Implemented layout system.

Border layout example:                            
Click to Play
Horizontal and Vertical Box layout example:
Click to Play


Usage examples you can find here:

Border layout:
https://github.com/LiquidEngine/legui/blob/develop/src/main/java/org/liquidengine/legui/demo/layout/BorderLayoutDemo.java

Box layout:
https://github.com/LiquidEngine/legui/blob/develop/src/main/java/org/liquidengine/legui/demo/layout/BoxLayoutDemo.java

Offline ShchAlexander
« Reply #5 - 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 #6 - 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):
    • ABSOLUTE
    • RELATIVE


Also added shadows support and several themes.



Source code you can find here: https://github.com/LiquidEngine/legui
Discord server: https://discord.gg/6wfqXpJ
Offline wax_lyrical
« Reply #7 - Posted 2018-05-16 06:32:00 »

Looks great!
Pages: [1]
  ignore  |  Print  
 
 

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

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

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

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

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

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

Solater (98 views)
2018-03-17 05:04:08

nelsongames (179 views)
2018-03-05 17:56:34

Gornova (405 views)
2018-03-02 22:15:33

buddyBro (1065 views)
2018-02-28 16:59:18
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
java-gaming.org 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‑gaming.org
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!