linthesia icon indicating copy to clipboard operation
linthesia copied to clipboard

make the application to support different resolution and "full screen"

Open allan-simon opened this issue 10 years ago • 1 comments

for a first shot i guess the idea would be the following:

1 - define a view with a given size (let's say 800*600, which is current setting) 2 - we draw everything in that view 3 - we paint the "main" application in same background color 4 - we position the "game" view and size so that is centered nicely (or take full screen if it's a 4/3 ratio screen) and "strech" the view to be as big as possible need to make some research on how to implement that idea in practice

allan-simon avatar Dec 17 '14 14:12 allan-simon

https://github.com/LaurentGomila/SFML/wiki/Source:-Letterbox-effect-using-a-view

allan-simon avatar Dec 17 '14 14:12 allan-simon