Keep the cursor from resizing upon resolution change

Help and discussion regarding skinning, themes, and other artistic content.

Moderators: CEGUI MVP, CEGUI Team

3-R4Z0R
Just popping in
Just popping in
Posts: 5
Joined: Sat Mar 21, 2009 20:20

Keep the cursor from resizing upon resolution change

Postby 3-R4Z0R » Sat Mar 21, 2009 20:24

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

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sat Mar 21, 2009 23:24

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.

3-R4Z0R
Just popping in
Just popping in
Posts: 5
Joined: Sat Mar 21, 2009 20:20

Postby 3-R4Z0R » Sun Mar 22, 2009 16:31

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


Return to “Skins and Themes”

Who is online

Users browsing this forum: No registered users and 8 guests