Development > Newbie Coding

Change order of resolutions list

<< < (5/7) > >>

Duke:

--- Quote from: geever on September 14, 2009, 12:38:03 am ---That doesn't make it a good solution. Sorting by vertical first is a bullsh*t IMHO. The dropdown should have scroll function.

--- End quote ---
Admittably, the patch is a Q&D hack. But if offers *immediate* relief.

I like the scrollable DDL approach very much. Especially after finding that we already have such a control (language selection). Wouldn't that need even less coding effort than the patch ?

@bayo:
I personally run UFO in 1024x768 on a 1920x1080 monitor. Would that SDL function offer a 4:3 res on a widescreen monitor ?

@Kildor:
Allthough it's not UFO policy to be backward compatible *everywhere*, imho we should still try to be compatible wherever we can (with a few more thoughts and/or lines of code).
Users *love* backward compatibility.

bayo:

--- Quote ---Would that SDL function offer a 4:3 res on a widescreen monitor ?
--- End quote ---
There is no documentation about it, but it say the value come from the hardware.

Duke:
I went ahead and compared 'optionlist select_language' and 'selectbox select_res' in options.ufo. It seems that with a few adjustments of size, pos and color etc. we could make select_res an optionlist.
(I even managed to display the resolutions in the language dropdown by merely changing the dataid param LOL)

Is it really that easy ? What did I overlook ?

@bayo:
The biggest difference I noticed is that in the game menu the space for the dropdown is left blank. In the video menu there is not enough space left. Would it impose a problem if the dropdown of the new optionlist would overlap the checkboxes below it ?

bayo:
optionlist and selectbox are fully compatible. Then you can use the node you want.

But i am sorry, i dont think i understand your second comment. optionlist dont have drop down zone.

Duke:

--- Quote from: bayo on September 18, 2009, 07:21:48 pm ---But i am sorry, i dont think i understand your second comment. optionlist dont have drop down zone.

--- End quote ---
Ouch, you're right. I must have had some sort of blackout :(

Does the menu system also support a scrollable dropdown list ? I haven't see one in the game.

EDIT:
From one of your previous answers I guess we do NOT have such a control yet.
So what can we do to gain some space ?
- Ordering the checkboxes in two columns could be a bad idea for certain languages, I suppose.
- Create a submenu (like 'keys menu') and move the 'fine-tuning-params' there ?
- Create the missing control ? How much work would it be for you ? Is it feasable ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version