CELayoutEditor--SnapToGrid problem

Use this forum for:
- Discussion regarding unofficial CEGUI related tools, scripts and utilities.
- User to user help for the obsoleted CELayoutEditor and CEImagesetEditor tools.

Moderators: CEGUI MVP, CEGUI Team

kili
Not too shy to talk
Not too shy to talk
Posts: 45
Joined: Fri Apr 27, 2007 06:17

CELayoutEditor--SnapToGrid problem

Postby kili » Wed May 23, 2007 09:25

Hi,
I've used the latest version of 0.5b
and found that the child component can't snap to the grid correctly,
but the parent is correct.

May I ask in the EditorCanvas.cpp

what is this line do with '-8'?
y0 = y1 = 1.0f - ((GLfloat)(i * step) / (mCurrentHeight-8 ) * 2.0f);

this seems cause the grid painting wrong,also x.


Another problem, can I use mouse to let
the window snap to the grid when moving?

Return to “Unofficial CEGUI-Related Tools”

Who is online

Users browsing this forum: No registered users and 4 guests