How to change the graphisms ?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

How to change the graphisms ?

Postby CrazyEddie » Wed Jan 05, 2005 19:19

This is something that is really still to come. Eventually this will be done via XML specifications, for noew you're required to edit the image file and associated Imageset files; for more substantial changes you may need to hack the code a bit ;)

Various things are also possible by adding disabled static texts and static images (they need to ensure inputs get passed to the underlying element). If you combined this with 'blank' standard imagery, you'd then be free to modify the imagery on a per-widget basis. The situation is not ideal, but then we've only just passed 0.1.0 ;)

CE.

User avatar
rincewind
Just popping in
Just popping in
Posts: 14
Joined: Wed Jan 12, 2005 12:06

How to change the graphisms ?

Postby rincewind » Thu Jan 06, 2005 12:16

For the Taharez buttons, you can use properties to set the image. This works both from code (take a look at setProperty(...) ) and XML.

NormalImage, PushedImage, HoverImage, should be fairly clear. Syntax is the same as for image for StaticImage

You also have to set UseStandardImagery to False in order for this to work.

Greetings,

Rincewind

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

How to change the graphisms ?

Postby CrazyEddie » Tue Jan 11, 2005 13:46

I still don't know how to do the same with the checkboxes

Either edit the image file for 'global' changes, or code an alternative 'rendering class' for more customisable modifications; I already said this once.

it is a mess.

Is it? Then don't use it.

I don't spend my time, money, and effort doing this for your benefit; if you, or anybody else, doesn't like the way things are then you are free to change them (and submit the patches for possible inclusion), if this is too much trouble then live with the limitations and show some damned respect.

CE.

User avatar
Derek
Quite a regular
Quite a regular
Posts: 70
Joined: Wed Jan 12, 2005 12:06

How to change the graphisms ?

Postby Derek » Wed Jan 12, 2005 08:27

Dear crazy eddy,

Remember that it is better to accept the opinion of people that don't like your library in the same way that the people that like it. Don't ignore the negatiev comments and throw them away with a "you want to do better ? implement it by yourself" when it is related to your own work. It will be better for your ego.


Having experience with a group that creates a free, closed-source modification to a game to allow multiplayer operability, I too deal with unnecessary and unconstructive criticism (a TON of it). It has nothing to do with an "ego," but more to do with the fact that the comments come from people that are frusterated and feel the need to immediately blame the creator because it wasn't how they wanted it to be.

Think of the project as CE's, but that he's allowing you to use his work as an act of generosity. You don't have any right to ask anything of him.

-Derek

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

How to change the graphisms ?

Postby CrazyEddie » Wed Jan 12, 2005 10:06

@karmaGfa:
First, I have seen and accept your apologies, although I do need to respond to the points you raised; so, lets take a minute to two to put things into perspective...

Is CrazyEddie adverse to taking constructive criticism and/or suggestions?

* Compare the system now with the original version I previewed in 2003, and see that probably >70% of what is there now was implemented due to feedback of other people.

* Ask the people on the GameDev.Net forums whether I was against criticism of the system and whether I was unwilling to listen to alternative points of view.

* Ask the Ogre community whether I just junked something togetther for them, or whether I discussed things in depth first and re-wrote the entire system from the ground up due to obvious deficiencies in the earlier version.

* Ask Gerald Lindsly if I was unwilling to accept alternative solutions when he wrote an alternative events implementation so that the boost.signals dependency could be removed.

* Ask Andi Ireland whether I was unwilling to listen to criticism when I ripped out boost.regex and replaced it with something else, or whether I was unwilling to listen to suggestions when I implemented a font scaling system.

* Ask Derek if I was unwilling to listen when I removed the STLport requirement for VC++ 6 users.

* Ask anybody else who has ever made a suggestion, or given constructive comment on the system whether I was unwilling to listen.

There are times when peoples suggestions do not match with my vision of what I want for the system and times when peoples priorities do not match with my own; this does not in any way make me egotistical. I can, hand of heart, say that I have always listened to criticism of, and suggestions for, the system, and that I have always seriously considered every point that anybody has ever made.

I'll be the first to admit the system system is not, nor will it ever be, perfect. I've also stated on occasion that I do not expect that it will meet the requirements of every single user; to even consider suggesting this would be extremely arrogant. There are weak areas in the system, and probably always will be. The area you mentioned, customising the imagery, has been discussed many times and I have stated many times (including in this very thread), that this is currently one of the weak areas, and that I have items on my TODO list that will address this. However, I do work on this project and support it via these forums, in my spare time for free. I'd be happy to implement all the features you suggest when you start paying me upwards of £30k per annum to do so, until then I'm afraid you'll just need to put up with things coming as and when I can get them implemented.

Now, comments like "it is a mess" and sarcasm such as "CEGUI rulez ! :evil:" do not add up to constructive criticism. If you come here, to my site, and make comments such as these you can exprect to be flamed at the very least, ignored possibly, and banned in the extreme. It's a waste of your time, it's a waste of bandwidth, and it's most certainly a waste of my time. Think of the amount of time I've spent typing this reply, this is time that I could have spend replying to genuine points here on the forums, or working on the system code.

To answer your question: I've not used Java much at all, and do not have enough experience with the language or platform to comment on the events system used there.

@Derek:
Thanks for the supprt ;)

Thread closed.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 13 guests