Page 1 of 1

Keep the cursor from resizing upon resolution change

Posted: Sat Mar 21, 2009 20:24
by 3-R4Z0R
Hello everybody!

How do I keep the mouse cursor image from resizing when the resolution is changed?
CEGUI is integrated into Ogre3D here.

I will most probably have more questions about scaling and stretching in future, because I like unstretched textures more than stretched ones.

Greetings 3-R4Z0R

Posted: Sat Mar 21, 2009 23:24
by CrazyEddie
Hi, and welcome :)

The Imageset definition XML has an autoscale option, disabling that will stop the stretching.

If you were to want other imagery scaled, but not the mouse, you would need to put the mouse cursor image(s) in a separate imageset with the appropriate autoscale setting (i.e. False).

HTH

CE.

Posted: Sun Mar 22, 2009 16:31
by 3-R4Z0R
CrazyEddie wrote:Hi, and welcome :)

The Imageset definition XML has an autoscale option, disabling that will stop the stretching.

If you were to want other imagery scaled, but not the mouse, you would need to put the mouse cursor image(s) in a separate imageset with the appropriate autoscale setting (i.e. False).

HTH

CE.

Thank you very much! It works like a charm.

Greetings 3-R4Z0R