Implemeting autoScaled from 0.8 to 0.7.9
Posted: Thu Jul 04, 2013 09:49
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!
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!