Per Subject-
I'm trying to make the current mouse position display in my render window for debuging purposes.
Essentially I have this for my main loop-
sf::Input inpt;
sf::String text("","arial.ttf",16.f);
while (1)
{
text.SetText(Convert::toString(inpt.GetMouseX())); //custom conversion works fine, GetMouseX only returns a 0
DoEvents(App); //handles things like window closing ect.
App.Draw(sprScreen); //my main screen
App.Draw(text)
App.Display();
}
Short of posting all the code here, is there anything inherently wrong with trying to get the mouse coordiantes this way?