/************************************************************************* Move the window by the pixel offsets specified in 'offset'. *************************************************************************/ void FrameWindow::offsetPixelPosition(const Vector2& offset) { UVector2 uOffset(cegui_absdim(PixelAligned(offset.d_x)), cegui_absdim(PixelAligned(offset.d_y))); setPosition(d_area.getPosition() + uOffset); }
/************************************************************************* Move the window by the pixel offsets specified in 'offset'. *************************************************************************/ void FrameWindow::offsetPixelPosition(const Vector2f& offset) { UVector2 uOffset(cegui_absdim(/*PixelAligned(*/offset.d_x/*)*/), cegui_absdim(/*PixelAligned(*/offset.d_y/*)*/)); setPosition(d_area.getPosition() + uOffset); }