Thanks Kaze I'll issue a new version in a couple of days.
EDIT:
After using my own class system for so long I've noticed some imperfections with it. So after I publish the next version with a new element "ScrollView", I'm going to fix up my class system in a seperate project, thus pausing this one for a while. And later on I might have to port things too.
I originally started upon the task of creating a gui for use in a rather complex RTS game. I seem to be going away from my goal rather than towards it..... :/ I started with an RTS demo, then a gui, gui remake, now I'm just going to be doing classes....
If you feel like it download the demo. I was at this stage in July. Needs java
http://appleide.sitesled.com/SpaceFare_Mac.zip
http://appleide.sitesled.com/SpaceFare_Windows.zip
http://appleide.sitesled.com/SpaceFare_Linux.zip
Go back to first page of this thread and thats where I am now. :/
Don't laugh.
What happened was that given the same number of ships you will never be able to win. Your ability to control your ships is just too crap, because the gui widgets interfacing between you and your fleets are too crap. The AI has full control.
LoveUI for Love 0.5.0
Re: LoveUI... has button, Textfield
Said class system in this link:
http://love2d.org/forum/viewtopic.php?f=5&t=633
Umm I'm having trouble scaling scroll bar coordinates... I am postponing this last widget indefinitely.
I will first port everything I have done so far to the new classes before continuing on. (Porting after I've finished testing...)
http://love2d.org/forum/viewtopic.php?f=5&t=633
Umm I'm having trouble scaling scroll bar coordinates... I am postponing this last widget indefinitely.
I will first port everything I have done so far to the new classes before continuing on. (Porting after I've finished testing...)
Re: LoveUI... has button, Textfield
Time for a release... everything re-implemented. Lots of code copying, so maybe some erroneous code, or bugs caused by erroneous code...
Currently has button, textfield, and an un-finished scrollView. omitting panel for now.
Unfinished, cannot be used , except for button, textfield, and these may have bugs I havent found yet. Bug elimination is not a priority yet.
I'm releasing because the scrollview will imminently be finished, but its 1 am and I got an mid-semester exam tomorrow.
Currently has button, textfield, and an un-finished scrollView. omitting panel for now.
Unfinished, cannot be used , except for button, textfield, and these may have bugs I havent found yet. Bug elimination is not a priority yet.
I'm releasing because the scrollview will imminently be finished, but its 1 am and I got an mid-semester exam tomorrow.
- Attachments
-
- LoveUI(demo).love
- (71.13 KiB) Downloaded 220 times
Re: LoveUI... has button, Textfield
ScrollView finished...
- Attachments
-
- LoveUI(alpha).love
- (81.67 KiB) Downloaded 220 times
Re: LoveUI... has button, Textfield, scrollVIew
I have implemented a prototype of some sort of listView. No selection is implemented yet. Just a table of views. (though those views should be able to detect mouse events);
EDIT: update... single selection implemented...
EDIT: update... single selection implemented...
Last edited by appleide on Sun May 03, 2009 5:59 am, edited 2 times in total.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: LoveUI... has button, Textfield, scrollVIew
Looks flashy.
One minor suggestion: the scrollView might look better if the darker rows were, well... not so dark. Maybe more like the background of these forum posts.
One minor suggestion: the scrollView might look better if the darker rows were, well... not so dark. Maybe more like the background of these forum posts.
Help us help you: attach a .love.
Re: LoveUI... has button, Textfield, scrollVIew
I agree Robin. I've uploaded newer version in my post above with the lighter background.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: LoveUI... has button, Textfield, scrollVIew
The new version looks great. I thought there was some kind of bug that crashed the demo if you clicked on the ListView, but it actually appears to be a quick&dirty "message box".
Help us help you: attach a .love.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: LoveUI... has button, Textfield, scrollVIew
Played around a bit, and I came up with the following modified version of the demo*:
*I am not to be held liable for any blown up servers
I think this one shows more of the capabilities LoveUI already has, even though it's still in alpha.*I am not to be held liable for any blown up servers
Help us help you: attach a .love.
Re: LoveUI... has button, Textfield, scrollVIew
Nice... but Sydney server1 happened to be my computer... :/
After changing the data you could call aListView:reloadData(), which will fetch the number of rows again and so you don't need the "or '' " bit in the viewForRow function.
There was no way you could've known that though.
I also found a bug when you select the last index and then delete it, it'll crash soon after because the index doesn't exist anymore. I've changed it so it resets to nil.
After changing the data you could call aListView:reloadData(), which will fetch the number of rows again and so you don't need the "or '' " bit in the viewForRow function.
There was no way you could've known that though.
I also found a bug when you select the last index and then delete it, it'll crash soon after because the index doesn't exist anymore. I've changed it so it resets to nil.
- Attachments
-
- LoveUI(alpha).love
- (85.17 KiB) Downloaded 214 times
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests