Hi
I'd like to request that a VideoMode's constructor be modified to take an xy position, with a default parameter of 0,0 (?). On certain hardware platforms we use, we cannot open a window, and then move it using setPosition. So we have had to modify SFML to create a window at its final position, which others may find useful too.
e.g. in VideoMode.cpp
VideoMode::VideoMode(int xPos, int yPos, unsigned int modeWidth, unsigned int modeHeight, unsigned int modeBitsPerPixel) :
XPos (xPos),
YPos (yPos),
width (modeWidth),
height (modeHeight),
bitsPerPixel(modeBitsPerPixel)
{
}
and in WindowImplWin32.cpp constructor:
int left = mode.XPos;
int top = mode.YPos;