Revert "[Preferences Refactor] Remove window size combo box from graphics preferences"

The issue wasn't the resolution box, and it apparently has its uses.
This reverts commit ac106b0aff.

Conflicts:
	indra/newview/skins/default/xui/en-us/panel_preferences_graphics1.xml
This commit is contained in:
Inusaito Sayori
2014-06-16 21:43:43 -04:00
parent 2d29fb8d15
commit 5490a992ca
8 changed files with 191 additions and 0 deletions

View File

@@ -72,9 +72,12 @@ public:
void disableUnavailableSettings();
void apply(); // Apply the changed values.
void applyResolution();
void applyWindowSize();
void cancel();
protected:
void initWindowSizeControls();
bool extractWindowSizeFromString(const std::string& instr, U32 &width, U32 &height);
// aspect ratio sliders and boxes
LLComboBox *mCtrlFullScreen; // Fullscreen resolution
@@ -82,6 +85,7 @@ protected:
LLComboBox *mCtrlAspectRatio; // user provided aspect ratio
LLCheckBoxCtrl *mCtrlWindowed; // windowed mode
LLComboBox *mCtrlWindowSize; // window size for windowed mode
/// performance radio group
LLSliderCtrl *mCtrlSliderQuality;
@@ -103,6 +107,7 @@ protected:
LLTextBox *mAspectRatioLabel1;
LLTextBox *mDisplayResLabel;
LLTextBox *mWindowSizeLabel;
LLCheckBoxCtrl *mVBO;