maximize window option in settings?

maximize window option in settings?

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

maximize window option in settings?

Post by TradeMark »

im using windowed mode with as big resolution as possible.

could we have setting to maximize the window when game is started? so i dont need to doubleclick it or anything, every time when i start a game...


--

i also found some typo in the grass detail settings at the description of it, (if someone cares to fix it)

also, could you rename "unit detail" setting into "unit view distance" as it was before? i was confused to notice that it changes the view distance instead of something else...
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: maximize window option in settings?

Post by TradeMark »

can someone tell me how to do this, i need it in my own program too :-)

windows/c++
User avatar
FrOzEnTaCo
Posts: 81
Joined: 02 Jul 2008, 05:52

Re: maximize window option in settings?

Post by FrOzEnTaCo »

hi trademark its sandman lol :wink:
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: maximize window option in settings?

Post by TradeMark »

I finally found out how to do this:

Code: Select all

ShowWindow(hWnd, SW_MAXIMIZE);
YAY!!!

Now can someone implement this in the springsettings.exe + in spring code? THANKS. And thank me for giving you this piece of code to improve spring again! :wink:

Look!, i even made example layout for the springsettings.exe:
Image
Isnt it nice? 8)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: maximize window option in settings?

Post by Tobi »

Needs more SDL specific code...
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: maximize window option in settings?

Post by TradeMark »

Meh, cant you make some info box "this works only with windows" if its impossible for linux / mac? Most of us uses windows anyways...
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: maximize window option in settings?

Post by Tobi »

no
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: maximize window option in settings?

Post by TradeMark »

Okay, is it possible to have this feature anyways?
Post Reply

Return to “Feature Requests”