diff options
Diffstat (limited to 'linden/indra/llwindow/llwindowsdl.h')
-rw-r--r-- | linden/indra/llwindow/llwindowsdl.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/linden/indra/llwindow/llwindowsdl.h b/linden/indra/llwindow/llwindowsdl.h index 36baec6..cebb151 100644 --- a/linden/indra/llwindow/llwindowsdl.h +++ b/linden/indra/llwindow/llwindowsdl.h | |||
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -118,12 +119,11 @@ public: | |||
118 | 119 | ||
119 | /*virtual*/ void spawnWebBrowser(const std::string& escaped_url); | 120 | /*virtual*/ void spawnWebBrowser(const std::string& escaped_url); |
120 | 121 | ||
121 | static std::string getFontListSans(); | 122 | static std::vector<std::string> getDynamicFallbackFontList(); |
122 | 123 | ||
123 | // Not great that these are public, but they have to be accessible | 124 | // Not great that these are public, but they have to be accessible |
124 | // by non-class code and it's better than making them global. | 125 | // by non-class code and it's better than making them global. |
125 | #if LL_X11 | 126 | #if LL_X11 |
126 | // These are set up by the X11 clipboard initialization code | ||
127 | Window mSDL_XWindowID; | 127 | Window mSDL_XWindowID; |
128 | Display *mSDL_Display; | 128 | Display *mSDL_Display; |
129 | #endif | 129 | #endif |
@@ -173,7 +173,6 @@ protected: | |||
173 | BOOL createContext(int x, int y, int width, int height, int bits, BOOL fullscreen, BOOL disable_vsync); | 173 | BOOL createContext(int x, int y, int width, int height, int bits, BOOL fullscreen, BOOL disable_vsync); |
174 | void destroyContext(); | 174 | void destroyContext(); |
175 | void setupFailure(const std::string& text, const std::string& caption, U32 type); | 175 | void setupFailure(const std::string& text, const std::string& caption, U32 type); |
176 | void adjustCursorDecouple(bool warpingMouse = false); | ||
177 | void fixWindowSize(void); | 176 | void fixWindowSize(void); |
178 | U32 SDLCheckGrabbyKeys(SDLKey keysym, BOOL gain); | 177 | U32 SDLCheckGrabbyKeys(SDLKey keysym, BOOL gain); |
179 | BOOL SDLReallyCaptureInput(BOOL capture); | 178 | BOOL SDLReallyCaptureInput(BOOL capture); |
@@ -186,10 +185,6 @@ protected: | |||
186 | SDL_Surface * mWindow; | 185 | SDL_Surface * mWindow; |
187 | std::string mWindowTitle; | 186 | std::string mWindowTitle; |
188 | double mOriginalAspectRatio; | 187 | double mOriginalAspectRatio; |
189 | BOOL mCursorDecoupled; | ||
190 | S32 mCursorLastEventDeltaX; | ||
191 | S32 mCursorLastEventDeltaY; | ||
192 | BOOL mCursorIgnoreNextDelta; | ||
193 | BOOL mNeedsResize; // Constructor figured out the window is too big, it needs a resize. | 188 | BOOL mNeedsResize; // Constructor figured out the window is too big, it needs a resize. |
194 | LLCoordScreen mNeedsResizeSize; | 189 | LLCoordScreen mNeedsResizeSize; |
195 | F32 mOverrideAspectRatio; | 190 | F32 mOverrideAspectRatio; |
@@ -206,12 +201,6 @@ protected: | |||
206 | 201 | ||
207 | #if LL_X11 | 202 | #if LL_X11 |
208 | private: | 203 | private: |
209 | // more X11 clipboard stuff | ||
210 | int init_x11clipboard(void); | ||
211 | void quit_x11clipboard(void); | ||
212 | int is_empty_x11clipboard(void); | ||
213 | void put_x11clipboard(int type, int srclen, const char *src); | ||
214 | void get_x11clipboard(int type, int *dstlen, char **dst); | ||
215 | void x11_set_urgent(BOOL urgent); | 204 | void x11_set_urgent(BOOL urgent); |
216 | BOOL mFlashing; | 205 | BOOL mFlashing; |
217 | LLTimer mFlashTimer; | 206 | LLTimer mFlashTimer; |