Compound StaticImage

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

alex
Just popping in
Just popping in
Posts: 8
Joined: Mon Jul 17, 2006 13:26

Compound StaticImage

Postby alex » Mon Jul 24, 2006 14:25

I need to strip several images in an imageset together to get a longer image strip, that would not fit in a texture.
i use a static image for every part and add up the widths to get the y coords. in relative mode i have gaps between the images in some screen resolutions. thats why, i would prefer to define a special StaticImage in the looknfeel, that contains all my images. Is there a way to do that?

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Re: Compound StaticImage

Postby spannerman » Mon Jul 24, 2006 16:17

alex wrote:I need to strip several images in an imageset together to get a longer image strip, that would not fit in a texture.
i use a static image for every part and add up the widths to get the y coords. in relative mode i have gaps between the images in some screen resolutions. thats why, i would prefer to define a special StaticImage in the looknfeel, that contains all my images. Is there a way to do that?


Hi Alex,

I dont know about creating a special StaticImage that uses multiple images in the same "render area", Im not sure if thats possible currently.

However, is there a reason why you cant use absolute mode to join the StaticImages together?

Also, how come it isnt possible to store your images in a single texture?

alex
Just popping in
Just popping in
Posts: 8
Joined: Mon Jul 17, 2006 13:26

Postby alex » Mon Jul 24, 2006 20:32

hi..
yes, you´re right, absolute mode is the way to go. i was just searching for a cleaner way to do that, avoiding to calculate the absolute pixel coords from my relative designed layout..
thank you :-)

by the way, do you know about a good solution to do a horizontal slider in falagard? i think, changing the VerticalSlider to false is not enough, right?

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Postby spannerman » Mon Jul 24, 2006 20:41

alex wrote:by the way, do you know about a good solution to do a horizontal slider in falagard? i think, changing the VerticalSlider to false is not enough, right?


Search is your friend :D

Try this oneand this one.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 5 guests