Can you change ImagerySection in code?
I don't see properties that would allow this. I want to switch some effects on windows rather than have lots of different definitions.
Imagery sections
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
I don't think this is easily done at the moment; changing an imagery section would affect all windows using any WidgetLook that used the ImagerySection - if that's what you're after, then you could do some hacking to set that up.
Pretty much the API of the Falagard imagery system classes was written in a 'sparse' way - basically to support the bare minimum of what was needed to get the thing working; as such there are quite a few 'missing' members.
However, it is possible to completely replace most of the named Falagard parts for a given WidgetLookFeel (or indeed most of the other related classes that use collections of named objects) simply be re-adding a new class with the same name. Note that doing that is some pretty heavy shit and has not, as far as I am aware, ever been tried!!
Best thing is to have a poke around and see what blows up! If you need further dissuasion then post back and I'll see what I can do
CE
Pretty much the API of the Falagard imagery system classes was written in a 'sparse' way - basically to support the bare minimum of what was needed to get the thing working; as such there are quite a few 'missing' members.
However, it is possible to completely replace most of the named Falagard parts for a given WidgetLookFeel (or indeed most of the other related classes that use collections of named objects) simply be re-adding a new class with the same name. Note that doing that is some pretty heavy shit and has not, as far as I am aware, ever been tried!!
Best thing is to have a poke around and see what blows up! If you need further dissuasion then post back and I'll see what I can do
CE
I didn't know were to ask for this and I don't know either if this is the right place, I hope someone that could help reads it..
I have a widget that has a variable number of Images each of the following boxes is a picture and after the pictures I have a label (Imagine an ItemEntry with images before the text):
|__|...|__| some text
I know how many pictures I should have but how can I define them in the looknfeel file. Were is the best place to do this?
thanks
José Tavares
I have a widget that has a variable number of Images each of the following boxes is a picture and after the pictures I have a label (Imagine an ItemEntry with images before the text):
|__|...|__| some text
I know how many pictures I should have but how can I define them in the looknfeel file. Were is the best place to do this?
thanks
José Tavares
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 9 guests