llviewerwindow.cpp File Reference

Implementation of the LLViewerWindow class. More...

#include "llviewerprecompiledheaders.h"
#include "llviewerwindow.h"
#include <stdio.h>
#include <iostream>
#include <fstream>
#include "llviewquery.h"
#include "llxmltree.h"
#include "llvoiceclient.h"
#include "audioengine.h"
#include "indra_constants.h"
#include "linked_lists.h"
#include "llassetstorage.h"
#include "llfontgl.h"
#include "llmediaengine.h"
#include "llrect.h"
#include "llsky.h"
#include "llstring.h"
#include "llui.h"
#include "lluuid.h"
#include "llview.h"
#include "llxfermanager.h"
#include "message.h"
#include "object_flags.h"
#include "lltimer.h"
#include "timing.h"
#include "llviewermenu.h"
#include "llagent.h"
#include "llalertdialog.h"
#include "llbox.h"
#include "llcameraview.h"
#include "llchatbar.h"
#include "llconsole.h"
#include "llviewercontrol.h"
#include "llcylinder.h"
#include "lldebugview.h"
#include "lldir.h"
#include "lldrawable.h"
#include "lldrawpoolalpha.h"
#include "lldrawpoolbump.h"
#include "lldrawpoolwater.h"
#include "llmaniptranslate.h"
#include "llface.h"
#include "llfeaturemanager.h"
#include "llfilepicker.h"
#include "llfloater.h"
#include "llfloateractivespeakers.h"
#include "llfloaterbuildoptions.h"
#include "llfloaterbuyland.h"
#include "llfloaterchat.h"
#include "llfloaterchatterbox.h"
#include "llfloatercustomize.h"
#include "llfloatereditui.h"
#include "llfloatereventlog.h"
#include "llfloaterland.h"
#include "llfloaterinspect.h"
#include "llfloatermap.h"
#include "llfloatermute.h"
#include "llfloaternamedesc.h"
#include "llfloaterproject.h"
#include "llfloatersnapshot.h"
#include "llfloatertools.h"
#include "llfloaterworldmap.h"
#include "llfloateravatarlist.h"
#include "llfocusmgr.h"
#include "llframestatview.h"
#include "llgesturemgr.h"
#include "llglheaders.h"
#include "llhippo.h"
#include "llhoverview.h"
#include "llhudmanager.h"
#include "llhudview.h"
#include "llimagebmp.h"
#include "llimagej2c.h"
#include "llinventoryview.h"
#include "llkeyboard.h"
#include "lllineeditor.h"
#include "llmenugl.h"
#include "llmodaldialog.h"
#include "llmorphview.h"
#include "llmoveview.h"
#include "llnotify.h"
#include "lloverlaybar.h"
#include "llpreviewtexture.h"
#include "llprogressview.h"
#include "llresmgr.h"
#include "llrootview.h"
#include "llselectmgr.h"
#include "llsphere.h"
#include "llstartup.h"
#include "llstatusbar.h"
#include "llstatview.h"
#include "llsurface.h"
#include "llsurfacepatch.h"
#include "llimview.h"
#include "lltexlayer.h"
#include "lltextbox.h"
#include "lltexturecache.h"
#include "lltexturefetch.h"
#include "lltextureview.h"
#include "lltool.h"
#include "lltoolbar.h"
#include "lltoolcomp.h"
#include "lltooldraganddrop.h"
#include "lltoolface.h"
#include "lltoolfocus.h"
#include "lltoolgrab.h"
#include "lltoolmgr.h"
#include "lltoolmorph.h"
#include "lltoolpie.h"
#include "lltoolplacer.h"
#include "lltoolselect.h"
#include "lltoolselectland.h"
#include "lltoolview.h"
#include "llvieweruictrlfactory.h"
#include "lluploaddialog.h"
#include "llurldispatcher.h"
#include "llviewercamera.h"
#include "llviewergesture.h"
#include "llviewerimagelist.h"
#include "llviewerinventory.h"
#include "llviewerkeyboard.h"
#include "llviewermessage.h"
#include "llviewerobjectlist.h"
#include "llviewerparcelmgr.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llvoavatar.h"
#include "llvovolume.h"
#include "llworld.h"
#include "llworldmapview.h"
#include "moviemaker.h"
#include "pipeline.h"
#include "viewer.h"

Include dependency graph for llviewerwindow.cpp:

Go to the source code of this file.

Classes

class  LLDebugText
struct  LLDebugText::Line

Functions

void toggle_debug_menus (void *)
void adjust_rect_top_left (const LLString &control, const LLRect &window)
void adjust_rect_top_right (const LLString &control, const LLRect &window)
void adjust_rect_bottom_center (const LLString &control, const LLRect &window)

Variables

LLBottomPanelgBottomPanel = NULL
BOOL gDebugClicks
BOOL gDisplaySwapBuffers
S32 gJamesInt
LLViewerWindowgViewerWindow = NULL
LLVelocityBargVelocityBar = NULL
LLVector3d gLastHitPosGlobal
LLVector3d gLastHitObjectOffset
LLUUID gLastHitObjectID
S32 gLastHitObjectFace = -1
BOOL gLastHitLand = FALSE
F32 gLastHitUCoord
F32 gLastHitVCoord
LLVector3d gLastHitNonFloraPosGlobal
LLVector3d gLastHitNonFloraObjectOffset
LLUUID gLastHitNonFloraObjectID
S32 gLastHitNonFloraObjectFace = -1
BOOL gLastHitParcelWall = FALSE
S32 gLastHitUIElement = 0
LLHUDIcongLastHitHUDIcon = NULL
BOOL gDebugSelect = FALSE
U8 gLastPickAlpha = 255
BOOL gUseGLPick = FALSE
BOOL gPickFaces = FALSE
LLFrameTimer gMouseIdleTimer
LLFrameTimer gAwayTimer
LLFrameTimer gAwayTriggerTimer
LLFrameTimer gAlphaFadeTimer
BOOL gShowOverlayTitle = FALSE
BOOL gPickTransparent = TRUE
BOOL gDebugFastUIRender = FALSE
BOOL gbCapturing = FALSE
MovieMaker gMovieMaker
S32 CHAT_BAR_HEIGHT = 28
S32 OVERLAY_BAR_HEIGHT = 20
const U8 NO_FACE = 255
BOOL gQuietSnapshot = FALSE
const F32 MIN_AFK_TIME = 2.f
const F32 MAX_FAST_FRAME_TIME = 0.5f
const F32 FAST_FRAME_INCREMENT = 0.1f
const S32 PICK_HALF_WIDTH = 5
const S32 PICK_DIAMETER = 2 * PICK_HALF_WIDTH+1
const F32 MIN_DISPLAY_SCALE = 0.85f
static S32 BORDERHEIGHT = 0
static S32 BORDERWIDTH = 0


Detailed Description

Implementation of the LLViewerWindow 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 llviewerwindow.cpp.


Function Documentation

void adjust_rect_bottom_center ( const LLString control,
const LLRect window 
)

Definition at line 1803 of file llviewerwindow.cpp.

References LLControlGroup::getRect(), LLRectBase< Type >::getWidth(), gSavedSettings, r, and LLControlGroup::setRect().

Referenced by LLViewerWindow::adjustRectanglesForFirstUse().

void adjust_rect_top_left ( const LLString control,
const LLRect window 
)

Definition at line 1780 of file llviewerwindow.cpp.

References LLRectBase< Type >::getHeight(), LLControlGroup::getRect(), gSavedSettings, r, and LLControlGroup::setRect().

Referenced by LLViewerWindow::adjustRectanglesForFirstUse().

void adjust_rect_top_right ( const LLString control,
const LLRect window 
)

Definition at line 1790 of file llviewerwindow.cpp.

References LLRectBase< Type >::getHeight(), LLControlGroup::getRect(), LLRectBase< Type >::getWidth(), gSavedSettings, r, and LLControlGroup::setRect().

Referenced by LLViewerWindow::adjustRectanglesForFirstUse().

void toggle_debug_menus ( void  ) 


Variable Documentation

S32 BORDERHEIGHT = 0 [static]

Definition at line 4240 of file llviewerwindow.cpp.

S32 BORDERWIDTH = 0 [static]

Definition at line 4241 of file llviewerwindow.cpp.

S32 CHAT_BAR_HEIGHT = 28

Definition at line 246 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::handlePerFrameHover(), LLViewerWindow::initWorldUI(), and LLHUDText::updateScreenPos().

const F32 FAST_FRAME_INCREMENT = 0.1f

Definition at line 254 of file llviewerwindow.cpp.

LLFrameTimer gAlphaFadeTimer

Definition at line 234 of file llviewerwindow.cpp.

LLFrameTimer gAwayTimer

Definition at line 232 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::handleMouseMove(), LLViewerWindow::handleTranslatedKeyDown(), open_offer(), and LLAgent::setAFK().

LLFrameTimer gAwayTriggerTimer

Definition at line 233 of file llviewerwindow.cpp.

Referenced by LLAgent::clearAFK(), and idle_afk_check().

BOOL gbCapturing = FALSE

Definition at line 241 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::saveMovieNumbered().

LLBottomPanel* gBottomPanel = NULL

Definition at line 195 of file llviewerwindow.cpp.

Referenced by LLOverlayBar::draw(), LLViewerWindow::handlePerFrameHover(), LLViewerWindow::initWorldUI(), and LLViewerWindow::setNormalControlsVisible().

BOOL gDebugClicks

Definition at line 59 of file llwindow.cpp.

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

BOOL gDebugFastUIRender = FALSE

Definition at line 239 of file llviewerwindow.cpp.

BOOL gDebugSelect = FALSE

Definition at line 222 of file llviewerwindow.cpp.

BOOL gDisplaySwapBuffers

Definition at line 93 of file llviewerdisplay.cpp.

S32 gJamesInt

LLHUDIcon* gLastHitHUDIcon = NULL

Definition at line 220 of file llviewerwindow.cpp.

Referenced by LLToolSelect::handleObjectSelection(), LLViewerWindow::performPick(), and LLToolPie::pickAndShowMenu().

BOOL gLastHitLand = FALSE

Definition at line 208 of file llviewerwindow.cpp.

Referenced by LLToolPie::handleDoubleClick(), LLViewerWindow::performPick(), and LLToolDragAndDrop::pickCallback().

S32 gLastHitNonFloraObjectFace = -1

Definition at line 216 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::performPick(), LLToolDragAndDrop::pickCallback(), and raycast_for_new_obj_pos().

LLUUID gLastHitNonFloraObjectID

Definition at line 215 of file llviewerwindow.cpp.

Referenced by handle_sit_or_stand(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::lastNonFloraObjectHit(), LLViewerWindow::performPick(), and raycast_for_new_obj_pos().

LLVector3d gLastHitNonFloraObjectOffset

Definition at line 214 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync(), LLVOAvatar::idleUpdate(), LLViewerWindow::lastNonFloraObjectHitOffset(), and LLViewerWindow::performPick().

LLVector3d gLastHitNonFloraPosGlobal

Definition at line 213 of file llviewerwindow.cpp.

Referenced by LLToolGrab::handleObjectHit(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLVOAvatar::idleUpdate(), LLViewerWindow::performPick(), and raycast_for_new_obj_pos().

S32 gLastHitObjectFace = -1

Definition at line 207 of file llviewerwindow.cpp.

Referenced by LLToolTexEyedropper::handleMouseDown(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::performPick(), LLToolPipette::pickCallback(), and LLToolFace::pickCallback().

LLUUID gLastHitObjectID

Definition at line 206 of file llviewerwindow.cpp.

LLVector3d gLastHitObjectOffset

Definition at line 205 of file llviewerwindow.cpp.

BOOL gLastHitParcelWall = FALSE

Definition at line 217 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::performPick(), and LLToolPie::pickAndShowMenu().

LLVector3d gLastHitPosGlobal

Definition at line 204 of file llviewerwindow.cpp.

Referenced by handle_focus(), handle_go_to(), handle_move(), LLToolPie::handleDoubleClick(), LLLandEdit::handleEvent(), LLLandSit::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::performPick(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLToolDragAndDrop::pickCallback(), and LLHoverView::pickCallback().

F32 gLastHitUCoord

Definition at line 209 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::performPick().

S32 gLastHitUIElement = 0

Definition at line 219 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::hitUIElementAsync(), and LLViewerWindow::performPick().

F32 gLastHitVCoord

Definition at line 210 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::performPick().

U8 gLastPickAlpha = 255

Definition at line 223 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::performPick().

LLFrameTimer gMouseIdleTimer

Definition at line 231 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::handleMouseDown(), LLViewerWindow::handleMouseMove(), LLViewerWindow::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLViewerWindow::handleRightMouseUp(), and LLViewerWindow::handleScrollWheel().

MovieMaker gMovieMaker

Definition at line 243 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::saveMovieNumbered().

BOOL gPickFaces = FALSE

Definition at line 229 of file llviewerwindow.cpp.

BOOL gPickTransparent = TRUE

Definition at line 237 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::rawSnapshot(), and LLPipeline::renderForSelect().

BOOL gQuietSnapshot = FALSE

Definition at line 250 of file llviewerwindow.cpp.

BOOL gShowOverlayTitle = FALSE

Definition at line 236 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::draw(), handle_show_overlay_title(), and LLViewerWindow::LLViewerWindow().

BOOL gUseGLPick = FALSE

Definition at line 224 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), and LLDrawPoolAvatar::renderForSelect().

LLVelocityBar* gVelocityBar = NULL

Definition at line 202 of file llviewerwindow.cpp.

LLViewerWindow* gViewerWindow = NULL

Definition at line 201 of file llviewerwindow.cpp.

Referenced by LLPanelEstateInfo::accessAddCore(), LLPanelEstateInfo::accessAddCore3(), LLPanelEstateInfo::accessRemoveCore(), LLPanelEstateInfo::accessRemoveCore2(), LLMuteList::add(), add_object(), LLPanelEstateInfo::addAllowedGroup2(), LLToolBrushLand::alertNoTerraform(), app_user_quit(), LLPanelGroupMembersSubTab::apply(), LLPanelGroupGeneral::apply(), LLPanelGroup::apply(), LLPanelDisplay2::apply(), LLPanelDisplay::applyResolution(), LLFloaterCustomize::askToSaveAllIfDirty(), LLPanelGroupRoles::attemptTransition(), LLPanelGroup::attemptTransition(), auction_j2c_upload_done(), auction_tga_upload_done(), audio_update_volume(), LLToolBrushLand::brush(), LLFloaterBuyCurrency::buyCurrency(), LLTaskInvFVBridge::buyItem(), LLFloaterBuyLand::buyLand(), LLAgent::calcCameraPositionTargetGlobal(), LLAgent::calcCustomizeAvatarUIOffset(), LLAgent::calcFocusOffset(), callback_download_complete(), LLViewerParcelMgr::callbackDivideLand(), LLPanelClassified::callbackGotPriceForListing(), LLViewerParcelMgr::callbackJoinLand(), LLFloaterMute::callbackMuteByName(), LLScriptEdCore::canClose(), LLPreviewNotecard::canClose(), LLPreviewGesture::canClose(), LLUploadDialog::centerDialog(), LLFloaterNameDesc::centerWindow(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToMouselook(), LLAgent::changeCameraToThirdPerson(), check_for_events(), LLViewerWindow::checkSettings(), cleanup_app(), cleanup_saved_settings(), LLPanelLogin::close(), cmd_get_key(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLConfirmationManager::confirm(), LLPanelGridTools::confirmKick(), create_new_landmark(), LLToolDragAndDrop::dad3dWearCategory(), LLToolDragAndDrop::dad3dWearItem(), LLViewerParcelMgr::deedLandToGroup(), LLFolderView::deleteAllChildren(), derez_objects(), dialog_choose_gender_first_start(), LLURLDispatcherImpl::dispatchApp(), display(), display_startup(), display_update_camera(), do_disconnect(), LLFloaterSellLandUI::doSellLand(), LLToolDragAndDrop::dragOrDrop(), LLToolDragAndDrop::dragOrDrop3D(), LLViewerWindow::draw(), LLToolGun::draw(), LLProgressView::draw(), LLPanelLogin::draw(), LLHoverView::draw(), LLFolderView::draw(), LLSnapshotLivePreview::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLFloaterJoystick::draw(), LLViewerWindow::drawMouselookInstructions(), LLToolDragAndDrop::dropObject(), enable_detach(), LLAgent::endAnimationUpdateUI(), LLHTTPUpdateResponder::error(), LLAssetUploadResponder::error(), LLFolderView::finishRenamingItem(), LLManip::getMousePointOnPlaneGlobal(), LLViewerCamera::getPixelVectors(), LLViewerWindow::getTargetWindow(), LLToolDragAndDrop::giveInventory(), LLToolDragAndDrop::giveInventoryCategory(), handle_focus(), handle_fullscreen_debug(), handle_give_money_dialog(), handle_leave_group(), handle_lure(), handle_move(), handle_save_to_xml(), handle_sit_or_stand(), handle_take(), LLPanelGroupRolesSubTab::handleActionCheck(), LLPanelGroupTab::handleClickHelp(), LLToolDragAndDrop::handleCopyProtectedCategory(), LLToolDragAndDrop::handleCopyProtectedItem(), LLToolGun::handleDeselect(), LLToolSelectLand::handleDoubleClick(), LLPanelEstateCovenant::handleDragAndDrop(), LLFileTakeSnapshotToDisk::handleEvent(), LLAvatarTrustNetRate::handleEvent(), LLAvatarSendIM::handleEvent(), LLAttachmentEnableDrop::handleEvent(), LLAttachmentDetach::handleEvent(), LLAttachmentDrop::handleEvent(), LLLandEdit::handleEvent(), LLPromptShowFile::handleEvent(), LLPromptShowURL::handleEvent(), LLEnablePayObject::handleEvent(), LLAvatarAddFriend::handleEvent(), LLAvatarInviteToGroup::handleEvent(), LLWorldCreateLandmark::handleEvent(), LLWorldSetBusy::handleEvent(), LLToolsLink::handleEvent(), LLObjectReturn::handleEvent(), LLViewDefaultUISize::handleEvent(), LLViewFullscreen::handleEvent(), LLHelpMOTD::handleEvent(), LLAvatarEnableAddFriend::handleEvent(), LLAvatarGiveCard::handleEvent(), LLAvatarEnableFreezeEject::handleEvent(), LLAvatarEject::handleEvent(), LLAvatarDebug::handleEvent(), LLAvatarFreeze::handleEvent(), LLObjectMute::handleEvent(), LLObjectEnableMute::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLEmptyLostAndFound::handleEvent(), LLEmptyTrash::handleEvent(), LLGammaListener::handleEvent(), LLViewerWindow::handleFocusLost(), LLWorldMapView::handleHover(), LLToolSelectRect::handleHover(), LLToolSelectLand::handleHover(), LLToolPlacer::handleHover(), LLToolPipette::handleHover(), LLToolPie::handleHover(), LLToolObjPicker::handleHover(), LLToolGun::handleHover(), LLToolGrab::handleHover(), LLToolCamera::handleHover(), LLToolDragAndDrop::handleHover(), LLToolCompGun::handleHover(), LLToolBrushLand::handleHover(), LLTool::handleHover(), LLToolTexEyedropper::handleHover(), LLProgressView::handleHover(), LLManipTranslate::handleHover(), LLManipScale::handleHover(), LLManipRotate::handleHover(), LLManip::handleHover(), LLFolderViewItem::handleHover(), LLFloaterImagePreview::handleHover(), LLFloaterAnimPreview::handleHover(), LLToolGrab::handleHoverActive(), LLToolGrab::handleHoverFailed(), LLToolGrab::handleHoverInactive(), LLViewerKeyboard::handleKey(), LLPanelLogin::handleKeyHere(), LLFolderView::handleKeyHere(), LLToolSelectLand::handleMouseDown(), LLToolPipette::handleMouseDown(), LLToolPie::handleMouseDown(), LLToolObjPicker::handleMouseDown(), LLToolIndividual::handleMouseDown(), LLToolGrab::handleMouseDown(), LLToolCamera::handleMouseDown(), LLToolFace::handleMouseDown(), LLToolCompRotate::handleMouseDown(), LLToolCompCreate::handleMouseDown(), LLToolCompScale::handleMouseDown(), LLToolCompTranslate::handleMouseDown(), LLToolCompInspect::handleMouseDown(), LLToolBrushLand::handleMouseDown(), LLToolTexEyedropper::handleMouseDown(), LLManipTranslate::handleMouseDown(), LLManipScale::handleMouseDown(), LLManipRotate::handleMouseDown(), LLFolderViewItem::handleMouseDown(), LLFloaterImagePreview::handleMouseDown(), LLFloaterColorPicker::handleMouseDown(), LLFloaterAnimPreview::handleMouseDown(), LLColorSwatchCtrl::handleMouseDown(), LLManipTranslate::handleMouseDownOnPart(), LLWorldMapView::handleMouseUp(), LLToolPie::handleMouseUp(), LLToolObjPicker::handleMouseUp(), LLToolCamera::handleMouseUp(), LLFolderViewItem::handleMouseUp(), LLFloaterImagePreview::handleMouseUp(), LLFloaterColorPicker::handleMouseUp(), LLFloaterAnimPreview::handleMouseUp(), LLColorSwatchCtrl::handleMouseUp(), LLPanelGroupRoles::handleNotifyCallback(), LLToolGrab::handleObjectHit(), LLToolSelectRect::handleRectangleSelection(), LLToolPie::handleRightMouseDown(), LLViewerWindow::handleScrollWheel(), LLToolGun::handleSelect(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), LLManipRotate::highlightManipulators(), LLViewerWindow::hitUIElementAsync(), hud_render_text(), idle(), idle_shutdown(), idle_startup(), LLDrawable::incrementVisible(), LLAgent::init(), init_menus(), LLViewerWindow::initBase(), LLVOTree::initClass(), LLVOGrass::initClass(), LLViewerWindow::initWorldUI(), join_group_callback(), LLToolBar::layoutButtons(), LLPanelGroups::leave(), LLDebugView::LLDebugView(), LLPanelLogin::LLPanelLogin(), LLSnapshotLivePreview::LLSnapshotLivePreview(), LLUploadDialog::LLUploadDialog(), load_url_local_file(), login_show(), main(), main_loop(), LLInventoryModel::messageUpdateCore(), mouse_x_from_center(), mouse_y_from_center(), LLManipRotate::mouseToRay(), LLFloaterOpenObject::moveToInventory(), LLViewerWindow::movieSize(), LLManip::nearestPointOnLineFromMouse(), LLPanelEditWearable::onBtnCreateNew(), LLScriptEdCore::onBtnHelp(), LLFloaterLandmark::onBtnNew(), LLFloaterAnimPreview::onBtnOK(), LLFloaterCustomize::onBtnSnapshot(), LLScriptEdCore::onBtnUndoChanges(), LLFloaterTOS::onCancel(), LLPanelEstateInfo::onClickAddAllowedAgent(), LLPanelEstateInfo::onClickAddAllowedGroup(), LLPanelEstateInfo::onClickAddBannedAgent(), LLPanelEstateInfo::onClickAddEstateManager(), LLPanelPlace::onClickAuction(), LLPanelRegionTerrainInfo::onClickBakeTerrain(), LLPanelLandGeneral::onClickBuyPass(), LLPanelWeb::onClickClearCache(), LLPanelNetwork::onClickClearCache(), LLPanelWeb::onClickClearCookies(), LLPanelEvent::onClickCreateEvent(), LLPanelPermissions::onClickDeedToGroup(), LLPanelAvatarPicks::onClickDelete(), LLPanelAvatarClassified::onClickDelete(), LLPanelObjectTools::onClickDeleteAllOwnedBy(), LLPanelObjectTools::onClickDeleteAllScriptedOwnedBy(), LLPanelObjectTools::onClickDeletePublicOwnedBy(), LLFloaterAvatarList::onClickEject(), LLFloaterAvatarList::onClickEjectFromEstate(), LLPanelGridTools::onClickFlushMapVisibilityCaches(), LLPanelAvatar::onClickFreeze(), LLFloaterAvatarList::onClickFreeze(), LLFloaterAvatarList::onClickGetKey(), LLFloaterAvatarList::onClickGohomerEject(), LLFloaterAvatarList::onClickGohomerOff(), LLFloaterAvatarList::onClickGohomerSendAway(), LLFloaterAvatarList::onClickGohomerSendHome(), LLFloaterAvatarList::onClickGohomerSendHomeByKey(), LLFloaterAvatarList::onClickGohomerWarn(), LLPanelRegionInfo::onClickHelp(), LLPanelGroupGeneral::onClickJoin(), LLFloaterSnapshot::Impl::onClickKeep(), LLPanelAvatar::onClickKick(), LLPanelRegionGeneralInfo::onClickKickAll(), LLPanelGridTools::onClickKickAll(), LLPanelRegionGeneralInfo::onClickMessage(), LLPanelEstateInfo::onClickMessageEstate(), LLPanelFriends::onClickModifyStatus(), LLFloaterAvatarList::onClickMute(), LLFloaterMute::onClickMuteByName(), LLPanelAvatarClassified::onClickNew(), LLPanelLogin::onClickNewAccount(), LLPanelAvatarSecondLife::onClickPartnerHelp(), LLPanelAvatarSecondLife::onClickPublishHelp(), LLFloaterPostcard::onClickPublishHelp(), LLPanelLandOptions::onClickPublishHelp(), LLFloaterNetwork2080::onClickQueue(), LLPanelFriends::onClickRemove(), LLPanelNetwork::onClickResetCache(), LLPanelMsgs::onClickResetDialogs(), LLPanelRegionDebugInfo::onClickRestart(), LLPanelLandObjects::onClickReturnGroupObjects(), LLPanelLandObjects::onClickReturnOtherObjects(), LLPanelLandObjects::onClickReturnOwnerList(), LLPanelLandObjects::onClickReturnOwnerObjects(), LLPanelRegionDebugInfo::onClickReturnScriptedAll(), LLPanelRegionDebugInfo::onClickReturnScriptedOtherLand(), LLFloaterReporter::onClickSend(), LLFloaterPostcard::onClickSend(), LLPanelGroupNotices::onClickSendMessage(), LLPanelPick::onClickSet(), LLPanelLandOptions::onClickSet(), LLPanelNetwork::onClickSetCache(), LLPanelMsgs::onClickSkipDialogs(), LLFloaterAuction::onClickSnapshot(), LLPanelLandGeneral::onClickStartAuction(), LLPanelGroupVoting::impl::onClickSubmitProposal(), LLPanelAvatar::onClickUnfreeze(), LLPanelRegionTerrainInfo::onClickUploadRaw(), LLPanelGroupVoting::impl::onClickViewHistoryItem(), LLPanelGroupVoting::impl::onClickViewProposalItem(), LLPanelAvatarWeb::onClickWebProfileHelp(), LLFloaterTools::onClose(), LLPanelLandOptions::onCommitAny(), LLPanelDisplay::onCommitAutoDetectAspect(), LLPanelPermissions::onCommitClickAction(), LLPanelNetwork::onCommitPort(), LLFloaterSnapshot::Impl::onCommitResolution(), LLFloaterWorldMap::onCopySLURL(), LLFloaterTopObjects::onDisableAll(), LLPreviewTexture::onFileLoadedForSave(), LLSnapshotLivePreview::onIdle(), LLPanelEstateInfo::onKickUserCommit(), LLPanelEstateCovenant::onLoadComplete(), LLToolGrab::onMouseCaptureLost(), LLFloaterImagePreview::onMouseCaptureLost(), LLFloaterAnimPreview::onMouseCaptureLost(), LLLiveLSLEditor::onReset(), LLFloaterTopObjects::onReturnAll(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLPreviewLSL::onSaveBytecodeComplete(), LLFloaterCompileQueue::onSaveBytecodeComplete(), LLPreviewLSL::onSaveComplete(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLWearable::onSaveNewAssetComplete(), LLLiveLSLEditor::onSaveTextComplete(), LLFloaterCompileQueue::onSaveTextComplete(), LLViewerTextEditor::openEmbeddedNotecard(), LLWearableBridge::openItem(), optionally_prepare_video(), optionally_start_music(), LLItemBridge::performAction(), LLViewerWindow::performPick(), LLToolPie::pickAndShowMenu(), LLToolPipette::pickCallback(), LLToolIndividual::pickCallback(), LLToolCamera::pickCallback(), LLToolFace::pickCallback(), LLToolDragAndDrop::pickCallback(), LLToolCompRotate::pickCallback(), LLToolCompScale::pickCallback(), LLToolCompTranslate::pickCallback(), LLToolCompInspect::pickCallback(), LLHoverView::pickCallback(), LLViewerRequiredVoiceVersion::post(), LLViewerForceCloseChatterBoxSession::post(), LLViewerChatterBoxSessionEventReply::post(), LLViewerChatterBoxSessionStartReply::post(), LLPanelDisplay::postBuild(), LLFloaterImport::postBuild(), LLDynamicTexture::postRender(), LLDynamicTexture::preRender(), process_agent_movement_complete(), process_alert_core(), process_derez_ack(), process_frozen_message(), process_improved_im(), process_keystrokes_async(), process_mean_collision_alert_message(), process_teleport_failed(), process_teleport_progress(), process_teleport_start(), LLAvatarTracker::processChange(), LLGroupMgr::processCreateGroupReply(), LLFloaterReporter::processRegionInfo(), LLInventoryModel::processSaveAssetIntoInventory(), LLFloaterAvatarList::processTrustNetReply(), LLViewerObjectList::processUpdateCore(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), queue_actions(), raycast_for_new_obj_pos(), LLToolCamera::releaseMouse(), LLTaskInvFVBridge::removeBatch(), LLTaskInvFVBridge::removeItem(), LLFolderView::removeSelectedItems(), LLAgent::removeWearable(), LLToolBrushLand::render(), render_disconnected_background(), render_hud_elements(), render_ui_2d(), render_ui_3d(), render_ui_and_swap(), LLHUDIcon::renderIcon(), LLViewerObjectList::renderObjectsForSelect(), LLManipTranslate::renderSnapGuides(), LLHUDText::renderText(), LLManip::renderTickText(), LLManip::renderTickValue(), LLManipTranslate::renderTranslationHandles(), LLManip::renderXYZ(), request_friendship(), LLPanelFriends::requestFriendshipDialog(), reset_login(), reset_view_final(), LLPanelEstateCovenant::resetCovenantID(), LLAgent::resetView(), LLConsole::reshape(), LLFolderView::revertRenamingItem(), rez_attachment(), save_final_snapshot(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLViewerWindow::saveImageNumbered(), LLSnapshotLivePreview::saveLocal(), LLViewerWindow::saveMovieNumbered(), LLWearable::saveNewAsset(), LLSnapshotLivePreview::saveTexture(), LLViewerJoystick::scanJoystick(), LLSelectMgr::selectDelete(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelGodForceOwner(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelRelease(), LLPanelEstateInfo::sendUpdate(), LLPanelRegionGeneralInfo::sendUpdate(), set_startup_status(), LLHoverView::setHoverActive(), LLTool::setMouseCapture(), LLFloaterTools::setObjectType(), LLViewerCamera::setPerspective(), LLShaderMgr::setShaders(), setup_hud_matrices(), LLViewerParcelMgr::setupParcelBuy(), LLManip::setupSnapGuideRenderPass(), LLAgent::setWearable(), LLFloaterTrustNetRate::show(), LLFloaterOpenObject::show(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), show_buy_currency(), show_first_run_dialog(), LLViewerTextEditor::showCopyToInvDialog(), LLFloaterReporter::showFromMenu(), LLFloaterColorPicker::showUI(), LLViewerParcelMgr::startDeedLandToGroup(), LLViewerParcelMgr::startDivideLand(), LLViewerParcelMgr::startJoinLand(), LLViewerParcelMgr::startReleaseLand(), LLFolderView::startRenamingSelectedItem(), LLFloaterReporter::takeScreenshot(), LLPanelClassified::titleIsValid(), update_app(), LLHUDText::updateAll(), LLPreviewTexture::updateAspectRatio(), LLViewerJoystick::updateCamera(), LLHoverView::updateHover(), LLAgent::updateLookAt(), LLHUDText::updateScreenPos(), LLManipScale::updateSnapGuides(), LLManipRotate::updateVisiblity(), upload_done_callback(), upload_error(), upload_new_resource(), upload_pick(), LLFloaterPostcard::uploadCallback(), LLFloaterReporter::uploadDoneCallback(), LLAssetUploadResponder::uploadFailure(), use_circuit_callback(), LLFloaterReporter::validateReport(), LLPanelRegionTextureInfo::validateTextureSizes(), warn_move_inventory(), wear_inventory_category_on_avatar_step2(), LLWearableBridge::wearOnAvatar(), and LLFolderView::~LLFolderView().

const F32 MAX_FAST_FRAME_TIME = 0.5f

Definition at line 253 of file llviewerwindow.cpp.

const F32 MIN_AFK_TIME = 2.f

Definition at line 252 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::handleMouseMove(), and LLViewerWindow::handleTranslatedKeyDown().

const F32 MIN_DISPLAY_SCALE = 0.85f

Definition at line 259 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::calcDisplayScale().

const U8 NO_FACE = 255

Definition at line 249 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::analyzeHit(), and LLViewerWindow::performPick().

S32 OVERLAY_BAR_HEIGHT = 20

Definition at line 247 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::handlePerFrameHover().

const S32 PICK_DIAMETER = 2 * PICK_HALF_WIDTH+1

Definition at line 257 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::drawPickBuffer(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), LLViewerWindow::LLViewerWindow(), and LLViewerWindow::performPick().

const S32 PICK_HALF_WIDTH = 5

Definition at line 256 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::drawPickBuffer(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::hitUIElementAsync(), and LLViewerWindow::performPick().


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