Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - paulj91

Pages: [1]
Window / Resizing Oversized Windows
« on: June 02, 2013, 08:56:45 am »
I have been looking into supporting different screen resolutions with SFML, with which I don't have a lot of experience. In order to do this, I decided to opt for a 1920x1024 resolution, then scale to the appropriate resolution accordingly by changing the size of the window. However, I've been running into a bit of a problem. The following code doesn't actually resize the window that is created with its call to setSize;

#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
int main(){
  sf::RenderWindow w(sf::VideoMode(1920,1024,32),"Window");

I know that oversized windows do not display properly due to OS restrictions, but does this also prevent them from being resized? If so, what is the best way to handle resolutions that are larger than the development screen size? Thanks so much, any help or input would be much appreciated.

Pages: [1]