I want to draw a checkbox with fixed absolute pixel size. I use:
cbox->setMetricsMode(Absolute);
cbox->setXPosition(100);
cbox->setYPosition(100);
cbox->setWidth(100);
cbox->setHeight(10);
cbox->setText("glow");
cbox->setSelected(m_bGlow);
and
System::getSingleton().getDefaultFont()->setAutoScalingEnabled(false);
The problem is that the checkbox image itself (displaying the checked/unchecked status) is scaled relative to the resolution of the root window.
What to do?
