aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/llwindowsdl.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/llwindow/llwindowsdl.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/llwindow/llwindowsdl.h')
-rw-r--r--linden/indra/llwindow/llwindowsdl.h26
1 files changed, 21 insertions, 5 deletions
diff --git a/linden/indra/llwindow/llwindowsdl.h b/linden/indra/llwindow/llwindowsdl.h
index 0528b84..ed529a2 100644
--- a/linden/indra/llwindow/llwindowsdl.h
+++ b/linden/indra/llwindow/llwindowsdl.h
@@ -112,7 +112,17 @@ public:
112 112
113 /*virtual*/ void *getPlatformWindow(); 113 /*virtual*/ void *getPlatformWindow();
114 /*virtual*/ void bringToFront(); 114 /*virtual*/ void bringToFront();
115 115
116 // Not great that these are public, but they have to be accessible
117 // by non-class code and it's better than making them global.
118#if LL_X11
119 // These are set up by the X11 clipboard initialization code
120 Window mSDL_XWindowID;
121 Display *mSDL_Display;
122#endif
123 void (*Lock_Display)(void);
124 void (*Unlock_Display)(void);
125
116protected: 126protected:
117 LLWindowSDL( 127 LLWindowSDL(
118 char *title, int x, int y, int width, int height, U32 flags, 128 char *title, int x, int y, int width, int height, U32 flags,
@@ -179,10 +189,6 @@ protected:
179 189
180#if LL_X11 190#if LL_X11
181private: 191private:
182 // These are set up by the X11 clipboard initialization code
183 Window mSDL_XWindowID;
184 void (*Lock_Display)(void);
185 void (*Unlock_Display)(void);
186 // more X11 clipboard stuff 192 // more X11 clipboard stuff
187 int init_x11clipboard(void); 193 int init_x11clipboard(void);
188 void quit_x11clipboard(void); 194 void quit_x11clipboard(void);
@@ -214,4 +220,14 @@ S32 OSMessageBoxSDL(const char* text, const char* caption, U32 type);
214void load_url_external(const char* url); 220void load_url_external(const char* url);
215void shell_open( const char* file_path ); 221void shell_open( const char* file_path );
216 222
223#if LL_GTK
224// Lazily initialize and check the runtime GTK version for goodness.
225BOOL ll_try_gtk_init(void);
226#endif // LL_GTK
227
228#if LL_X11
229Window get_SDL_XWindowID(void);
230Display* get_SDL_Display(void);
231#endif // LL_X11
232
217#endif //LL_LLWINDOWSDL_H 233#endif //LL_LLWINDOWSDL_H