I've been working on a system that simulates multiple love states, and has a GUI thing too. It's fairly easy to import existing LOVE projects if the project has a variable to represent the portion of the screen it draws on. (Like the two projects I included, Grapher and Mandelbrot, alongside the window tests) One way you could use it would be to group projects together.
The Window handler supports mouse events and key events.
Window Handler has built in functions for primitive View and World manipulation (both enabled on the 'Test' example)
The UI core has one object which does everything:
-Has a background colour
-Has a hierarchical area descriptor for Size and Position (%size of parent and pixel offset)x2
-Will draw an image
-Will display text
-Contains other UI objects
-Receives mouse & keyboard events
-Ability to clip child objects that would otherwise appear outside the object's area (property)
UI core has built in functions for:
-Window TitleBar, Resize, and Close buttons
-Scroll bar on both axes
-Casting to see which object is under a point
New in v1.0:
-Metatable window callback insertion
>Fixed a VERY small bug which would actually become more of a problem later on.
-Improved window and UI behaviour
>Fixed a bug where the scroll bar would jitter, and organized the chunks of code to be run mostly only when they need to be in the callbacks.
-Loosened window building
>Returning the window is not required to bring it to the front, this is done by default now.
>ui drawing is connected in ui.connect
>wrapper.update is connected in ui.wrapper
I like to keep track of this:
v0.9 - 8 Downloads
Take a look at my code to see if it could be useful to you!
Window Handler v1.0 + UI Core
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Who is online
Users browsing this forum: No registered users and 36 guests