Hi,
I'm currently using cegui 0.7.9 and need the new autoScaled property present in 0.8.0 (which can keep aspect ratio with resizing) but I can't update all cegui to 0.8 as it would cost too much time (I'm using a custom renderer and I have a lot of changes in cegui's code).
Is it possible to take only this part from the new version? And if the answer is yes, in which files should I look in?
Or maybe it is easier to implement it directly in the code as I want all my layouts/imageset to have the same behaviour regarding autoscaling (autoscaling depending on resolution height and keeping ratio)?
Thanks for help in advance!
Implemeting autoScaled from 0.8 to 0.7.9
Moderators: CEGUI MVP, CEGUI Team
Re: Implemeting autoScaled from 0.8 to 0.7.9
The short answer is "not easily". That is because 0.8.x has an entirely new Image API and that's what was used to implement this.
However, it could be done if you are OK with very limited API breakage. It's not going to be easy work though. I'd be willing to do this if it were paid for. (I have implemented the new autoScaled functionality in 0.8 ).
However, it could be done if you are OK with very limited API breakage. It's not going to be easy work though. I'd be willing to do this if it were paid for. (I have implemented the new autoScaled functionality in 0.8 ).
Re: Implemeting autoScaled from 0.8 to 0.7.9
Ok, thank you for the answer.
I think I will either try to merge all my changes to the 0.8 version (and adapt the renderer) or use a workaround.
I think I will either try to merge all my changes to the 0.8 version (and adapt the renderer) or use a workaround.
Who is online
Users browsing this forum: No registered users and 6 guests