Page 1 of 1

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 07:55
by Mistaril
What is the easiest way to create a generic image button, one that would have different images for MouseOver, Selected, Disabled, Normal etc? Custom widget?

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 09:19
by CrazyEddie
I thought I already had this; though you do need to include the header for the actual button type you're using (TLButton.h or WLButton.h), and cast your button to the appropriate type.

The only reason this functionality is not in the PushButton base class is due to plans I have for the future of the system.

CE.

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 12:11
by Mistaril
Ok. I'll rephrase. Is there a set of properties in XML that I can use to override the standard image definitions and use my own? Ie. To make instances of the buttons customized?

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 13:12
by CrazyEddie
That actually falls into the "future plans" I was referring to :?

Currently this level of customisation is a weak area of the system, though it will get addressed. My first priority was re-writing everything and getting it cross-platform and cross-API, this is about where we are now. The main focus after getting the beta-1 release complete (samples and docs still to finish) is to start integrating the suggestions from the community, one of these is a set of widgets whos imagery and general layout is data-driven.

Currently, I'm approaching total burn-out and have no idea when half of this stuff will be put into the system.

CE.

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 13:38
by Mistaril
Currently, I'm approaching total burn-out and have no idea when half of this stuff will be put into the system.


Ok .. We need to slow down here a bit then don't we .. We all want you relaxed and focused .. :) Maybe you should take some time off? Might help you to get some perspective (this is an open source project after all, there is plenty of programmers who can contribute ..) :D

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 18:22
by CrazyEddie
Ok .. We need to slow down here a bit then don't we .. We all want you relaxed and focused .. :) Maybe you should take some time off?

It had been my original intention to get the final beta-1 release done, and then take a couple of weeks or so away from things. Though it seems that I didn't quite make it that far :? Now I spend more and more time trying harder and harder to get things done and actually seem to achieve less and less.

I have a couple of things that I've said I'd do for the weekend, so I'll do those. Then I may actually take your advice and disappear for a short number of weeks.

CE.

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 19:20
by spannerman
I have a couple of things that I've said I'd do for the weekend, so I'll do those. Then I may actually take your advice and disappear for a short number of weeks.


Thats a good plan, you deserve a break!

Round buttons (or generic image buttons)

Posted: Wed Oct 27, 2004 22:35
by gcarlton
I agree, you've done so much work CE, you deserve some time off! :)

Round buttons (or generic image buttons)

Posted: Thu Oct 28, 2004 06:21
by Mistaril
I have a couple of things that I've said I'd do for the weekend, so I'll do those. Then I may actually take your advice and disappear for a short number of weeks.


I would suggest you get 1-2 other people to have write access to the SourceForge CVS. Either agree with them that they only accept bugfixes, or if you share enough of the vision, have them accept features as well. That way all of you (you plus the others) can easily take time off. The project will keep advancing and you feel much more focused when you get back.

At this point the code is really usable. Even if we haven't completed everything that was as target for beta, the GUI is working nicely already. Relaxing and stepping back might just be the thing you need to do.

Most programmers here (myself included) are well capable of hacking the source to their liking. We just want to be able to contribute worthwhile changes back to the community, to share them with others. :)

So, take your pick for a running mate, and then let the project rest for a few weeks before diving in with beta! :D

Round buttons (or generic image buttons)

Posted: Thu Oct 28, 2004 09:29
by CrazyEddie
:D

I'm really happy with where the system itself is at the moment anyway, the only "missing" bits are some friendly tutorial style documentation, and some general samples (I have a framework for these about 60% done). Beyond this, was all stuff slated for later releases anyway.

This has just about been decided then. From Monday, I'll be gone for a while. I'll make a decision about write access to CVS over the weekend.

CE.

Re: Round buttons (or generic image buttons)

Posted: Fri May 20, 2005 14:58
by jed
Hi I'm looking for the TLButton or WLButton but I can't find them. Do you still have to cast your buttons to these types to get them to change images on mouse over etc?