aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/llwindowlinux.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llwindow/llwindowlinux.h119
1 files changed, 0 insertions, 119 deletions
diff --git a/linden/indra/llwindow/llwindowlinux.h b/linden/indra/llwindow/llwindowlinux.h
deleted file mode 100644
index da80fd4..0000000
--- a/linden/indra/llwindow/llwindowlinux.h
+++ /dev/null
@@ -1,119 +0,0 @@
1/**
2 * @file llwindowlinux.h
3 * @brief Linux implementation of LLWindow class
4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc.
8 *
9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab
11 * to you under the terms of the GNU General Public License, version 2.0
12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 *
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
19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 *
22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above,
24 * and agree to abide by those obligations.
25 *
26 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
27 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
28 * COMPLETENESS OR PERFORMANCE.
29 * $/LicenseInfo$
30 */
31
32#ifndef LL_LLWINDOWWIN32_H
33#define LL_LLWINDOWWIN32_H
34
35#include "llwindow.h"
36
37class LLWindowLinux : public LLWindow
38{
39public:
40 /*virtual*/ void show() {};
41 /*virtual*/ void hide() {};
42 /*virtual*/ void close() {};
43 /*virtual*/ BOOL getVisible() {return FALSE;};
44 /*virtual*/ BOOL getMinimized() {return FALSE;};
45 /*virtual*/ BOOL getMaximized() {return FALSE;};
46 /*virtual*/ BOOL maximize() {return FALSE;};
47 /*virtual*/ BOOL getFullscreen() {return FALSE;};
48 /*virtual*/ BOOL getPosition(LLCoordScreen *position) {return FALSE;};
49 /*virtual*/ BOOL getSize(LLCoordScreen *size) {return FALSE;};
50 /*virtual*/ BOOL getSize(LLCoordWindow *size) {return FALSE;};
51 /*virtual*/ BOOL setPosition(LLCoordScreen position) {return FALSE;};
52 /*virtual*/ BOOL setSize(LLCoordScreen size) {return FALSE;};
53 /*virtual*/ BOOL switchContext(BOOL fullscreen, const LLCoordScreen &size, BOOL disable_vsync, const LLCoordScreen * const posp = NULL) {return FALSE;};
54 /*virtual*/ BOOL setCursorPosition(LLCoordWindow position) {return FALSE;};
55 /*virtual*/ BOOL getCursorPosition(LLCoordWindow *position) {return FALSE;};
56 /*virtual*/ void showCursor() {};
57 /*virtual*/ void hideCursor() {};
58 /*virtual*/ void showCursorFromMouseMove() {};
59 /*virtual*/ void hideCursorUntilMouseMove() {};
60 /*virtual*/ BOOL isCursorHidden() {return FALSE;};
61 /*virtual*/ void setCursor(ECursorType cursor) {};
62 //virtual ECursorType getCursor() { return mCurrentCursor; };
63 /*virtual*/ void captureMouse() {};
64 /*virtual*/ void releaseMouse() {};
65 /*virtual*/ void setMouseClipping( BOOL b ) {};
66 /*virtual*/ BOOL isClipboardTextAvailable() {return FALSE; };
67 /*virtual*/ BOOL pasteTextFromClipboard(LLWString &dst) {return FALSE; };
68 /*virtual*/ BOOL copyTextToClipboard(const LLWString &src) {return FALSE; };
69 /*virtual*/ void flashIcon(F32 seconds) {};
70 /*virtual*/ F32 getGamma() {return 1.0f; };
71 /*virtual*/ BOOL setGamma(const F32 gamma) {return FALSE; }; // Set the gamma
72 /*virtual*/ BOOL restoreGamma() {return FALSE; }; // Restore original gamma table (before updating gamma)
73 //virtual ESwapMethod getSwapMethod() { return mSwapMethod; }
74 /*virtual*/ void gatherInput() {};
75 /*virtual*/ void delayInputProcessing() {};
76 /*virtual*/ void swapBuffers();
77
78 /*virtual*/ LLString getTempFileName() {return LLString(""); };
79 /*virtual*/ void deleteFile( const char* file_name ) {};
80 /*virtual*/ S32 stat( const char* file_name, struct stat* stat_info ) {return 0; };
81 /*virtual*/ BOOL sendEmail(const char* address,const char* subject,const char* body_text,const char* attachment=NULL, const char* attachment_displayed_name=NULL) { return FALSE; };
82
83
84 // handy coordinate space conversion routines
85 /*virtual*/ BOOL convertCoords(LLCoordScreen from, LLCoordWindow *to) { return FALSE; };
86 /*virtual*/ BOOL convertCoords(LLCoordWindow from, LLCoordScreen *to) { return FALSE; };
87 /*virtual*/ BOOL convertCoords(LLCoordWindow from, LLCoordGL *to) { return FALSE; };
88 /*virtual*/ BOOL convertCoords(LLCoordGL from, LLCoordWindow *to) { return FALSE; };
89 /*virtual*/ BOOL convertCoords(LLCoordScreen from, LLCoordGL *to) { return FALSE; };
90 /*virtual*/ BOOL convertCoords(LLCoordGL from, LLCoordScreen *to) { return FALSE; };
91
92 /*virtual*/ LLWindowResolution* getSupportedResolutions(S32 &num_resolutions) { return NULL; };
93 /*virtual*/ F32 getNativeAspectRatio() { return 1.0f; };
94 /*virtual*/ F32 getPixelAspectRatio() { return 1.0f; };
95 /*virtual*/ void setNativeAspectRatio(F32 ratio) {}
96
97 //virtual BOOL dialog_color_picker (F32 *r, F32 *g, F32 *b );
98
99 /*virtual*/ void *getPlatformWindow() { return NULL; }
100
101 LLWindowLinux(char *title, char *name, S32 x, S32 y, S32 width, S32 height,
102 U32 flags, BOOL fullscreen, BOOL clearBg,
103 BOOL disable_vsync, BOOL use_gl, BOOL ignore_pixel_depth);
104 ~LLWindowLinux();
105};
106
107class LLSplashScreenLinux : public LLSplashScreen
108{
109public:
110 LLSplashScreenLinux() {};
111 virtual ~LLSplashScreenLinux() {};
112
113 /*virtual*/ void showImpl() {};
114 /*virtual*/ void updateImpl(const char* mesg) {};
115 /*virtual*/ void hideImpl() {};
116
117};
118
119#endif //LL_LLWINDOWWIN32_H