MatthiasMann / twl

TWL Themable Widget Library
17 stars 5 forks source link

LWJGL 3 #2

Open ClickerMonkey opened 7 years ago

ClickerMonkey commented 7 years ago

Are there any plans to create a version of this library for LWJGL 3? As I'm sure you know - v3 uses GLFW.

I already ported a game from LWJGL v2 to v3 so I think I'm comfortable enough with the input code to update the Mouse and Keyboard input classes.

Let me know at your earliest convenience!

MatthiasMann commented 7 years ago

As the core library is independent from LWJGL - it should be easy to port the existing renderer and input.

My plan was to move the current renderer and input implementation into a separate project (eg twl_lwjgl2).

ClickerMonkey commented 7 years ago

Thanks for the quick response.

I've made the necessary modifications to the renderer & input class locally and I've tested it on my game - looks good so far. The only part that needs to be done is custom cursors. I also need to investigate why LWJGL 3 no longer has the texture_rectangle extension.

https://github.com/ClickerMonkey/twl/tree/lwjgl3

ClickerMonkey commented 7 years ago

If you create the twl_lwjgl2 and twl_lwjgl3 projects under your account (or wherever you want them) - I think I can handle implementing it.