llwindow.cpp File Reference

Basic graphical window class. More...

#include "linden_common.h"
#include "llwindowheadless.h"
#include "llerror.h"
#include "llkeyboard.h"
#include "linked_lists.h"

Include dependency graph for llwindow.cpp:

Go to the source code of this file.

Defines

#define UTF16_IS_HIGH_SURROGATE(U)   ((U16)((U) - 0xD800) < 0x0400)
#define UTF16_IS_LOW_SURROGATE(U)   ((U16)((U) - 0xDC00) < 0x0400)
#define UTF16_SURROGATE_PAIR_TO_UTF32(H, L)   (((H) << 10) + (L) - (0xD800 << 10) - 0xDC00 + 0x00010000)

Functions

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

Variables

LLSplashScreengSplashScreenp = NULL
BOOL gDebugClicks = FALSE
BOOL gDebugWindowProc = FALSE
const S32 gURLProtocolWhitelistCount = 3
const char * gURLProtocolWhitelist [] = { "file", "http", "https" }
const char * gURLProtocolWhitelistHandler [] = { "http", "http", "https" }
static LLLinkedList< LLWindowsWindowList


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.cpp.


Define Documentation

#define UTF16_IS_HIGH_SURROGATE (  )     ((U16)((U) - 0xD800) < 0x0400)

Definition at line 304 of file llwindow.cpp.

Referenced by LLWindow::handleUnicodeUTF16().

#define UTF16_IS_LOW_SURROGATE (  )     ((U16)((U) - 0xDC00) < 0x0400)

Definition at line 305 of file llwindow.cpp.

Referenced by LLWindow::handleUnicodeUTF16().

#define UTF16_SURROGATE_PAIR_TO_UTF32 ( H,
 )     (((H) << 10) + (L) - (0xD800 << 10) - 0xDC00 + 0x00010000)

Definition at line 306 of file llwindow.cpp.

Referenced by LLWindow::handleUnicodeUTF16().


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().


Variable Documentation

BOOL gDebugClicks = FALSE

Definition at line 59 of file llwindow.cpp.

Referenced by LLViewerWindow::handleDoubleClick(), LLToolPie::handleDoubleClick(), LLToolGrab::handleDoubleClick(), LLViewerWindow::handleMouseDown(), LLToolGrab::handleMouseDown(), LLTool::handleMouseDown(), LLViewerWindow::handleMouseUp(), LLTool::handleMouseUp(), LLToolGrab::handleObjectHit(), LLViewerWindow::handleRightMouseDown(), LLViewerWindow::handleRightMouseUp(), init_debug_ui_menu(), and send_agent_update().

BOOL gDebugWindowProc = FALSE

Definition at line 60 of file llwindow.cpp.

Referenced by cleanup_saved_settings(), init_debug_ui_menu(), and saved_settings_to_globals().

LLSplashScreen* gSplashScreenp = NULL

Definition at line 58 of file llwindow.cpp.

Referenced by LLSplashScreen::hide(), LLSplashScreen::isVisible(), LLSplashScreen::show(), and LLSplashScreen::update().

const char* gURLProtocolWhitelist[] = { "file", "http", "https" }

Definition at line 63 of file llwindow.cpp.

const S32 gURLProtocolWhitelistCount = 3

Definition at line 62 of file llwindow.cpp.

const char* gURLProtocolWhitelistHandler[] = { "http", "http", "https" }

Definition at line 69 of file llwindow.cpp.

LLLinkedList<LLWindow> sWindowList [static]

Definition at line 419 of file llwindow.cpp.

Referenced by LLWindowManager::createWindow(), LLWindowManager::destroyWindow(), and LLWindowManager::isWindowValid().


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