llwindow.h File Reference

Basic graphical window class. More...

#include <sys/stat.h>
#include "llrect.h"
#include "llcoord.h"
#include "llstring.h"

Include dependency graph for llwindow.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLWindowCallbacks
class  LLWindow
struct  LLWindow::LLWindowResolution
class  LLSplashScreen
class  LLWindowManager

Enumerations

enum  ECursorType {
  UI_CURSOR_ARROW, UI_CURSOR_WAIT, UI_CURSOR_HAND, UI_CURSOR_IBEAM,
  UI_CURSOR_CROSS, UI_CURSOR_SIZENWSE, UI_CURSOR_SIZENESW, UI_CURSOR_SIZEWE,
  UI_CURSOR_SIZENS, UI_CURSOR_NO, UI_CURSOR_WORKING, UI_CURSOR_TOOLGRAB,
  UI_CURSOR_TOOLLAND, UI_CURSOR_TOOLFOCUS, UI_CURSOR_TOOLCREATE, UI_CURSOR_ARROWDRAG,
  UI_CURSOR_ARROWCOPY, UI_CURSOR_ARROWDRAGMULTI, UI_CURSOR_ARROWCOPYMULTI, UI_CURSOR_NOLOCKED,
  UI_CURSOR_ARROWLOCKED, UI_CURSOR_GRABLOCKED, UI_CURSOR_TOOLTRANSLATE, UI_CURSOR_TOOLROTATE,
  UI_CURSOR_TOOLSCALE, UI_CURSOR_TOOLCAMERA, UI_CURSOR_TOOLPAN, UI_CURSOR_TOOLZOOMIN,
  UI_CURSOR_TOOLPICKOBJECT3, UI_CURSOR_TOOLSIT, UI_CURSOR_TOOLBUY, UI_CURSOR_TOOLPAY,
  UI_CURSOR_TOOLOPEN, UI_CURSOR_PIPETTE, UI_CURSOR_COUNT
}
enum  EStereoMode { STEREO_MODE_NONE = 0, STEREO_MODE_ANAGLYPH = 1, STEREO_MODE_ACTIVE = 2 }

Functions

S32 OSMessageBox (const char *text, const char *caption, U32 type)
void spawn_web_browser (const char *escaped_url)
void shell_open (const char *file_path)
void simpleEscapeString (std::string &stringIn)

Variables

const U32 OSMB_OK = 0
const U32 OSMB_OKCANCEL = 1
const U32 OSMB_YESNO = 2
const S32 OSBTN_YES = 0
const S32 OSBTN_NO = 1
const S32 OSBTN_OK = 2
const S32 OSBTN_CANCEL = 3
BOOL gDebugWindowProc
const S32 gURLProtocolWhitelistCount
const char * gURLProtocolWhitelist []
const char * gURLProtocolWhitelistHandler []


Detailed Description

Basic graphical window class.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llwindow.h.


Enumeration Type Documentation

enum ECursorType

Enumerator:
UI_CURSOR_ARROW 
UI_CURSOR_WAIT 
UI_CURSOR_HAND 
UI_CURSOR_IBEAM 
UI_CURSOR_CROSS 
UI_CURSOR_SIZENWSE 
UI_CURSOR_SIZENESW 
UI_CURSOR_SIZEWE 
UI_CURSOR_SIZENS 
UI_CURSOR_NO 
UI_CURSOR_WORKING 
UI_CURSOR_TOOLGRAB 
UI_CURSOR_TOOLLAND 
UI_CURSOR_TOOLFOCUS 
UI_CURSOR_TOOLCREATE 
UI_CURSOR_ARROWDRAG 
UI_CURSOR_ARROWCOPY 
UI_CURSOR_ARROWDRAGMULTI 
UI_CURSOR_ARROWCOPYMULTI 
UI_CURSOR_NOLOCKED 
UI_CURSOR_ARROWLOCKED 
UI_CURSOR_GRABLOCKED 
UI_CURSOR_TOOLTRANSLATE 
UI_CURSOR_TOOLROTATE 
UI_CURSOR_TOOLSCALE 
UI_CURSOR_TOOLCAMERA 
UI_CURSOR_TOOLPAN 
UI_CURSOR_TOOLZOOMIN 
UI_CURSOR_TOOLPICKOBJECT3 
UI_CURSOR_TOOLSIT 
UI_CURSOR_TOOLBUY 
UI_CURSOR_TOOLPAY 
UI_CURSOR_TOOLOPEN 
UI_CURSOR_PIPETTE 
UI_CURSOR_COUNT 

Definition at line 42 of file llwindow.h.

enum EStereoMode

Enumerator:
STEREO_MODE_NONE 
STEREO_MODE_ANAGLYPH 
STEREO_MODE_ACTIVE 

Definition at line 80 of file llwindow.h.


Function Documentation

S32 OSMessageBox ( const char *  text,
const char *  caption,
U32  type 
)

Definition at line 194 of file llwindow.cpp.

References FALSE, LLSplashScreen::hide(), LLSplashScreen::isVisible(), llendl, llwarns, OSBTN_OK, OSMessageBoxMacOSX(), OSMessageBoxSDL(), OSMessageBoxWin32(), S32, LLSplashScreen::show(), and TRUE.

Referenced by errorCallback(), main(), and update_dialog_callback().

void shell_open ( const char *  file_path  ) 

void simpleEscapeString ( std::string &  stringIn  ) 

void spawn_web_browser ( const char *  escaped_url  ) 

Referenced by LLWeb::loadURLExternal().


Variable Documentation

BOOL gDebugWindowProc

Definition at line 60 of file llwindow.cpp.

const char* gURLProtocolWhitelist[]

Definition at line 63 of file llwindow.cpp.

const S32 gURLProtocolWhitelistCount

Definition at line 62 of file llwindow.cpp.

const char* gURLProtocolWhitelistHandler[]

Definition at line 69 of file llwindow.cpp.

const S32 OSBTN_CANCEL = 3

Definition at line 322 of file llwindow.h.

const S32 OSBTN_NO = 1

Definition at line 320 of file llwindow.h.

Referenced by main().

const S32 OSBTN_OK = 2

Definition at line 321 of file llwindow.h.

Referenced by OSMessageBox().

const S32 OSBTN_YES = 0

Definition at line 319 of file llwindow.h.

Referenced by main().

const U32 OSMB_OK = 0

Definition at line 315 of file llwindow.h.

Referenced by errorCallback(), main(), and update_dialog_callback().

const U32 OSMB_OKCANCEL = 1

Definition at line 316 of file llwindow.h.

const U32 OSMB_YESNO = 2

Definition at line 317 of file llwindow.h.

Referenced by main().


Generated on Thu Jul 1 06:10:51 2010 for Second Life Viewer by  doxygen 1.4.7