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.


Messages - DzieckoBezZycia

Pages: [1]
1
Yes, but if someone for example has monitor with resolution 1366x768 and someone else 800x600, how can i know what int must I write?

entity.setScale(4.0f, 1.6f);
entity.setScale(a, b);

Of course I can get resolution of screen with

sf::VideoMode vm = sf::VideoMode::getDesktopMode();
sf::RenderWindow window( vm, "Title" );

but it's maybe the hardest way.

2
Window / Automatically resizing window with pictures to monitor resolution
« on: December 09, 2013, 06:14:56 pm »
Hello!
I have a problem.

If I make windows (resolution 500x500) with one picture (500x500) i can resize it and picture resizes too. How can I make a window with resolution 1440x900 (resolution of my monitor), which is fullscreen. I want to send this program to another computer (with different resolution) and during making it fullscreen I want to make picture automatically resizes. How can I do it?

Pages: [1]
anything