diff options
author | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:50 -0500 |
commit | 2a4dea528f670b9bb1f77ef27a8a1dd16603d114 (patch) | |
tree | 95c68e362703c9099d571ecbdc6142b1cda1e005 /linden/indra/newview/llpaneldisplay.h | |
parent | Second Life viewer sources 1.20.6 (diff) | |
download | meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.zip meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.gz meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.bz2 meta-impy-2a4dea528f670b9bb1f77ef27a8a1dd16603d114.tar.xz |
Second Life viewer sources 1.20.7
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpaneldisplay.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/linden/indra/newview/llpaneldisplay.h b/linden/indra/newview/llpaneldisplay.h index cc39f93..e100a18 100644 --- a/linden/indra/newview/llpaneldisplay.h +++ b/linden/indra/newview/llpaneldisplay.h | |||
@@ -33,7 +33,7 @@ | |||
33 | #define LL_LLPANELDISPLAY_H | 33 | #define LL_LLPANELDISPLAY_H |
34 | 34 | ||
35 | #include "llpanel.h" | 35 | #include "llpanel.h" |
36 | 36 | #include "llwindow.h" | |
37 | #include "llcontrol.h" | 37 | #include "llcontrol.h" |
38 | 38 | ||
39 | class LLSlider; | 39 | class LLSlider; |
@@ -72,15 +72,21 @@ public: | |||
72 | void setHiddenGraphicsState(bool isHidden); | 72 | void setHiddenGraphicsState(bool isHidden); |
73 | void apply(); // Apply the changed values. | 73 | void apply(); // Apply the changed values. |
74 | void applyResolution(); | 74 | void applyResolution(); |
75 | void applyWindowSize(); | ||
75 | void cancel(); | 76 | void cancel(); |
76 | 77 | ||
77 | protected: | 78 | protected: |
79 | void initWindowSizeControls(); | ||
80 | bool extractWindowSizeFromString(const char *sInput, U32 &width, U32 &height); | ||
81 | |||
78 | // aspect ratio sliders and boxes | 82 | // aspect ratio sliders and boxes |
79 | LLComboBox *mCtrlFullScreen; // Fullscreen resolution | 83 | LLComboBox *mCtrlFullScreen; // Fullscreen resolution |
80 | LLCheckBoxCtrl *mCtrlWindowed; // windowed mode | ||
81 | LLCheckBoxCtrl *mCtrlAutoDetectAspect; // automatically detect aspect ratio | 84 | LLCheckBoxCtrl *mCtrlAutoDetectAspect; // automatically detect aspect ratio |
82 | LLComboBox *mCtrlAspectRatio; // user provided aspect ratio | 85 | LLComboBox *mCtrlAspectRatio; // user provided aspect ratio |
83 | 86 | ||
87 | LLCheckBoxCtrl *mCtrlWindowed; // windowed mode | ||
88 | LLComboBox *mCtrlWindowSize; // window size for windowed mode | ||
89 | |||
84 | /// performance radio group | 90 | /// performance radio group |
85 | LLSliderCtrl *mCtrlSliderQuality; | 91 | LLSliderCtrl *mCtrlSliderQuality; |
86 | LLCheckBoxCtrl *mCtrlCustomSettings; | 92 | LLCheckBoxCtrl *mCtrlCustomSettings; |
@@ -113,7 +119,8 @@ protected: | |||
113 | LLTextBox *mAspectRatioLabel1; | 119 | LLTextBox *mAspectRatioLabel1; |
114 | LLTextBox *mDisplayResLabel; | 120 | LLTextBox *mDisplayResLabel; |
115 | LLTextEditor *mFullScreenInfo; | 121 | LLTextEditor *mFullScreenInfo; |
116 | 122 | LLTextBox *mWindowSizeLabel; | |
123 | |||
117 | LLTextBox *mShaderText; | 124 | LLTextBox *mShaderText; |
118 | LLTextBox *mReflectionText; | 125 | LLTextBox *mReflectionText; |
119 | LLTextBox *mAvatarText; | 126 | LLTextBox *mAvatarText; |