this may be easily doable with CEGUI already but i can;t figure how at least not quickly.
but i would like to be able to add more buttons to the SYS area and the left part of title bar area from XML preferably the close button jsut is not enough.
Minimise
Maximise
Rollup / Rolldown
Help
Shuffle Focus
in addition can i do a LABEL from XML ie not a static text but jsut a string placed on the UI no graphic at all if so how
More Buttons
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
More Buttons
At present there's no simple way to add buttons to the 'system' area for the Taharez module, technically, what we have now is just faked anyway. The width of the system area is taken from the imagery so that's easily changed, the current close button is attached to the FrameWindow and customised so it can appear outside of the client area. What you could do is code a simple SystemButton class using a similar approach, and use that for your additional buttons. Just make sure the close button is enabled so that the system area is fully drawn (else you just get the two ends and no middle section).
Everything in the XML layout file needs to be a Window of some form or other. A simple string of text is juat that - a simple string of text, so has no means of holding any additional information required for management by the system. The static text was made for this purpose, what is the obstacle preventing you using that?
CE.
Everything in the XML layout file needs to be a Window of some form or other. A simple string of text is juat that - a simple string of text, so has no means of holding any additional information required for management by the system. The static text was made for this purpose, what is the obstacle preventing you using that?
CE.
More Buttons
Static text im using for text with a border / sunken or shaded background.
i wanted a static text with no graphical part at all,
will this feature of more buttons in system area of windows be added some time soonish? im developing a game i don't have an instence amount of time to add tons of code to cegui although at a later time im sure i can contribute
maybe we just need a static text like it is and a Label which doesnt accept images at all and has 100% transparency for the background. which is what i deally need
also the progress bars in Taharez are unlike what i am used to generally gui systems take 2 images a background ( empty ) and a foregound ( filled ) left, middle, right instead of drawing filled and empty segments.
a progress bar like that more standard method would be a nice feature to add also...
heh i know im throwing a ton of things i want to see at you in one go but hopefully if not you someone else will add them
i wanted a static text with no graphical part at all,
will this feature of more buttons in system area of windows be added some time soonish? im developing a game i don't have an instence amount of time to add tons of code to cegui although at a later time im sure i can contribute

maybe we just need a static text like it is and a Label which doesnt accept images at all and has 100% transparency for the background. which is what i deally need
also the progress bars in Taharez are unlike what i am used to generally gui systems take 2 images a background ( empty ) and a foregound ( filled ) left, middle, right instead of drawing filled and empty segments.
a progress bar like that more standard method would be a nice feature to add also...
heh i know im throwing a ton of things i want to see at you in one go but hopefully if not you someone else will add them

- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
More Buttons
You can disable the background and frame for a static text and be left with just the text. These settings are exposed to XML so can be used there too
Look up the 'BackgroundEnabled' and 'FrameEnabled' properties for Static widgets in the API ref.
I wouldn't like to say when the extra system buttons enhancements will be put in, though the general approach I described above is not too hard I think (one widget class cloned from the TaharezCloseButton + a factory, and away you go!). I absolutely must make a start on the new widgets I have to do tomorrow; which is why i've been trying to get most of the other smaller requests in over the past couple of days
The Taharez progress bars were custom written to work with the imagery that Taharez provided me with. The WindowsLook progress bar is slightly more traditional in it's implementation. Maybe I'll add a third option to Taharez some time soon, though that depends on how much progress (no pun intneded
) I make on some of the new widgets.
CE.

I wouldn't like to say when the extra system buttons enhancements will be put in, though the general approach I described above is not too hard I think (one widget class cloned from the TaharezCloseButton + a factory, and away you go!). I absolutely must make a start on the new widgets I have to do tomorrow; which is why i've been trying to get most of the other smaller requests in over the past couple of days

The Taharez progress bars were custom written to work with the imagery that Taharez provided me with. The WindowsLook progress bar is slightly more traditional in it's implementation. Maybe I'll add a third option to Taharez some time soon, though that depends on how much progress (no pun intneded

CE.
More Buttons
ok.. that answers that then
so officially we add..
System Area Button Additions
Minimise | Maximise | Roll up / down | Help | Focus Shuffle
( Note the Roll up / down system button would be on the left side of title bar not the sys area and show different imagery based on the state of the window rolled up or down so this is potentially a different addition to the todo list)
Traditional Progress Bar
to your todo list

so officially we add..
System Area Button Additions
Minimise | Maximise | Roll up / down | Help | Focus Shuffle
( Note the Roll up / down system button would be on the left side of title bar not the sys area and show different imagery based on the state of the window rolled up or down so this is potentially a different addition to the todo list)
Traditional Progress Bar
to your todo list

- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
More Buttons

Okay, but these bits will be a little while in the making

CE.
- spannerman
- Home away from home
- Posts: 330
- Joined: Wed Jan 12, 2005 12:06
More Buttons
ok.. that answers that then
so officially we add..
System Area Button Additions
Minimise | Maximise | Roll up / down | Help | Focus Shuffle
( Note the Roll up / down system button would be on the left side of title bar not the sys area and show different imagery based on the state of the window rolled up or down so this is potentially a different addition to the todo list)
Traditional Progress Bar
to your todo list
Lol
Or alternatively, you code these new things yourself, and submit them as a patch.

More Buttons
Ok spannerman
i will get right on that after i complete the AI library the camera system and the new entity management system
which will be around 2006 2Q 

i will get right on that after i complete the AI library the camera system and the new entity management system


Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 3 guests