Previous Blog Next Blog
Prev/Next Blog
by date

Plan for Eustacia Green

Plan for Eustacia Green
Name:Eustacia Green 
Date Posted:Aug 05, 2004
Rating:Not Rated
Public:NO
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Eustacia Green

Blog post
I'm currently working on a Theme Editor for Torque. This will allow the user to select a theme and change values for each profile for that theme. Users will be able to create a new theme based on an existing theme just by saving the theme with a different file name. All changes to a profile are displayed in real time. I linked the Theme Editor into the Gui Editor so you could see the effects on the gui's you are working on.



I started this project by implementing parts of Skinnable Gui Controls in TGE as well as some changes from this thread. I then implemented Advanced Options Dialog and added the ability to switch themes from there.



I ran into some problems with on the fly switching. My bitmap arrays wouldn't refresh until the control was closed and reopened once or twice. It took some tweaking to get the bitmap arrays to change on the fly but after a good debugging session I finally figured out what the problem was.

Recent Blog Posts
List:08/14/04 - Plan for Eustacia Green
08/11/04 - Plan for Eustacia Green
08/05/04 - Plan for Eustacia Green

Submit ResourceSubmit your own resources!

David Dougher   (Aug 05, 2004 at 14:22 GMT)
Tim Newell did a Theme setup for torque quite a long time ago. It could certainly use a bit of an update with all the changes that have taken place. You can find it here.

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2810

Its a good idea and I look forward to seeing what you do with it.

Ben Garney   (Aug 05, 2004 at 15:26 GMT)
That's pretty darn slick. Nice work!

Have you found any bugs in core TGE while working on this?

Phil Carlisle   (Aug 05, 2004 at 16:38 GMT)
Yayy! I hope you release this, as I really do NOT want to have to do this myself :)

One thing, can you fix it so that the flat buttons and the backgrounds (i.e. the fill inside the dialogs) is the same colour as the titlebar (or skinnable). That would be super! :)

Good work.

Josh Williams   (Aug 05, 2004 at 18:04 GMT)
Very neat :)

Eustacia Green   (Aug 05, 2004 at 20:53 GMT)
@David: I used Tim Newell's resource as well as a base for this. I had forgotten about that!

@Ben: I'm not sure the issue i ran into was a bug with core TGE or from the resource implementation. I intend on trying to do a patch off of head for the whole thing. When I do that I'll post it if part is a bug fix.

@Phil: Haven't messed with that but I would imagine it would just be a matter of putting the same color in for the profiles that are attached to those controls.

I saw in another plan that somebody was working on a color picker, if that get's released I'll try to incorporate that into the editor.

I've never done a patch, can somebody point me to info on that?

Marco Meier   (Aug 06, 2004 at 04:32 GMT)
Here you go. Have a look at this:
How to: patches

There you'll find everything about how to create and apply patches and how to submit them. I hope that helps.

You must be a member and be logged in to either append comments or rate this resource.