f11 for a fullscreen button

User avatar
stormchaser3000
Member
 
Posts: 407
Joined: Sun Oct 06, 2013 21:02

f11 for a fullscreen button

by stormchaser3000 » Mon Jul 21, 2014 20:40

playing around with lxde's f11 fullscreen thing made me think... minetest should have an official fullscreen button that forces the program to exit the window desighn thing and then automaticly fiting to the size of the screen.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: f11 for a fullscreen button

by philipbenr » Mon Jul 21, 2014 23:45

I think that it used to be a feature... It was in 0.4.4 or around there... To find out, I'd have to go exploring in the 'unfathomable depths' of my home directory. ;)
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: f11 for a fullscreen button

by rubenwardy » Tue Jul 22, 2014 12:34

It is harder than you think to change modes. I forget what it is called, but you need to implement a certain technology in the video drivers. AFAIK, anyway.
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

Re: f11 for a fullscreen button

by hoodedice » Tue Jul 22, 2014 19:14

rubenwardy wrote:It is harder than you think to change modes. I forget what it is called, but you need to implement a certain technology in the video drivers. AFAIK, anyway.


minetest.conf has a fullscreen variable.How hard is it to just implement it in at least the settings?
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

Re: f11 for a fullscreen button

by webdesigner97 » Tue Jul 22, 2014 19:57

hoodedice wrote:
rubenwardy wrote:It is harder than you think to change modes. I forget what it is called, but you need to implement a certain technology in the video drivers. AFAIK, anyway.


minetest.conf has a fullscreen variable.How hard is it to just implement it in at least the settings?

I had a pull request for it, but it became a bit messy because it also had another feature in it which needed some discussion... It needs a cleanup and then maybe new and clean pull request.
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

Re: f11 for a fullscreen button

by Evergreen » Tue Jul 22, 2014 21:20

webdesigner97 wrote:
hoodedice wrote:
rubenwardy wrote:It is harder than you think to change modes. I forget what it is called, but you need to implement a certain technology in the video drivers. AFAIK, anyway.


minetest.conf has a fullscreen variable.How hard is it to just implement it in at least the settings?

I had a pull request for it, but it became a bit messy because it also had another feature in it which needed some discussion... It needs a cleanup and then maybe new and clean pull request.

I have the same kind of thing with a setting for screen height and width. It needs to be cleaned up. (of course, the option for height and width already existed, it just was in minetest.con)
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: f11 for a fullscreen button

by rubenwardy » Tue Jul 22, 2014 22:57

You would need to close the window, and reopen it. This means that the entire 3d world would be deleted - you would have to create the cameras, meshes and scene again. Also, when you close the device there will still be variables pointing to it all other the code. This will cause segfaults. (Think pointers to icamerascenenode in the camera class.) So you would need to update all these.

The full screen settings work because the window is opened as full screen.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 2 guests

cron