llviewerwindow.cpp File Reference

Implementation of the LLViewerWindow class. More...

#include "llviewerprecompiledheaders.h"
#include "llpanellogin.h"
#include "llviewerkeyboard.h"
#include "llviewerwindow.h"
#include <stdio.h>
#include <iostream>
#include <fstream>
#include "llviewquery.h"
#include "llxmltree.h"
#include "llglimmediate.h"
#include "llvoiceclient.h"
#include "audioengine.h"
#include "indra_constants.h"
#include "llassetstorage.h"
#include "llfontgl.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 "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 "llfloatercamera.h"
#include "llfloaterchat.h"
#include "llfloaterchatterbox.h"
#include "llfloatercustomize.h"
#include "llfloatereditui.h"
#include "llfloaterland.h"
#include "llfloaterinspect.h"
#include "llfloatermap.h"
#include "llfloaternamedesc.h"
#include "llfloaterpreference.h"
#include "llfloatersnapshot.h"
#include "llfloatertools.h"
#include "llfloaterworldmap.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 "llrendersphere.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 "lltoolselectland.h"
#include "lltoolview.h"
#include "lluictrlfactory.h"
#include "lluploaddialog.h"
#include "llurldispatcher.h"
#include "llvieweraudio.h"
#include "llviewercamera.h"
#include "llviewergesture.h"
#include "llviewerimagelist.h"
#include "llviewerinventory.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 "pipeline.h"
#include "llappviewer.h"
#include "llurlsimstring.h"
#include "llviewerdisplay.h"
#include "llspatialpartition.h"
#include "llviewerjoystick.h"

Go to the source code of this file.

Classes

class  LLDebugText
struct  LLDebugText::Line

Functions

void render_ui_and_swap_if_needed ()
void render_ui_and_swap ()
void toggle_debug_menus (void *)
void adjust_rect_top_left (const LLString &control, const LLRect &window)
void adjust_rect_top_center (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)
void adjust_rect_centered_partial_zoom (const LLString &control, const LLRect &window)

Variables

LLBottomPanelgBottomPanel = NULL
BOOL gDebugClicks
BOOL gDisplaySwapBuffers
BOOL gResizeScreenTexture
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 gDisplayWindInfo = FALSE
BOOL gDisplayCameraPos = FALSE
BOOL gDisplayNearestWater = FALSE
BOOL gDisplayFOV = FALSE
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
const S32 CONSOLE_BOTTOM_PAD = 40
static S32 BORDERHEIGHT = 0
static S32 BORDERWIDTH = 0


Detailed Description

Implementation of the LLViewerWindow class.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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 
)

void adjust_rect_centered_partial_zoom ( const LLString control,
const LLRect window 
)

void adjust_rect_top_center ( const LLString control,
const LLRect window 
)

void adjust_rect_top_left ( const LLString control,
const LLRect window 
)

void adjust_rect_top_right ( const LLString control,
const LLRect window 
)

void render_ui_and_swap (  ) 

void render_ui_and_swap_if_needed (  ) 

void toggle_debug_menus ( void *   ) 


Variable Documentation

S32 BORDERHEIGHT = 0 [static]

Definition at line 4177 of file llviewerwindow.cpp.

S32 BORDERWIDTH = 0 [static]

Definition at line 4178 of file llviewerwindow.cpp.

Definition at line 249 of file llviewerwindow.cpp.

Referenced by LLHUDText::updateScreenPos().

const S32 CONSOLE_BOTTOM_PAD = 40

Definition at line 264 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::handlePerFrameHover().

const F32 FAST_FRAME_INCREMENT = 0.1f

Definition at line 257 of file llviewerwindow.cpp.

Definition at line 236 of file llviewerwindow.cpp.

Definition at line 234 of file llviewerwindow.cpp.

Referenced by open_offer(), and LLAgent::setAFK().

Definition at line 235 of file llviewerwindow.cpp.

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

Definition at line 196 of file llviewerwindow.cpp.

Definition at line 241 of file llviewerwindow.cpp.

BOOL gDebugSelect = FALSE

Definition at line 224 of file llviewerwindow.cpp.

Referenced by init_debug_rendering_menu(), and render_ui_2d().

Definition at line 245 of file llviewerwindow.cpp.

Referenced by init_client_menu(), and LLDebugText::update().

BOOL gDisplayFOV = FALSE

Definition at line 247 of file llviewerwindow.cpp.

Referenced by init_client_menu(), and LLDebugText::update().

Definition at line 246 of file llviewerwindow.cpp.

Definition at line 244 of file llviewerwindow.cpp.

Referenced by init_client_menu(), and LLDebugText::update().

BOOL gLastHitLand = FALSE

Definition at line 217 of file llviewerwindow.cpp.

Referenced by handle_sit_or_stand(), and LLToolPlacer::raycastForNewObjPos().

Definition at line 216 of file llviewerwindow.cpp.

Referenced by LLVOAvatar::idleUpdate().

Definition at line 211 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::performPick().

Definition at line 212 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::performPick().

Definition at line 225 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::performPick().

Definition at line 233 of file llviewerwindow.cpp.

BOOL gPickFaces = FALSE

Definition at line 253 of file llviewerwindow.cpp.

Definition at line 99 of file llviewerdisplay.cpp.

BOOL gUseGLPick = FALSE

Definition at line 204 of file llviewerwindow.cpp.

Referenced by init_client_menu(), and LLDebugView::LLDebugView().

Definition at line 203 of file llviewerwindow.cpp.

Referenced by LLPanelEstateInfo::accessAddCore(), LLPanelEstateInfo::accessAddCore3(), LLPanelEstateInfo::accessCoreConfirm(), LLPanelEstateInfo::accessRemoveCore(), LLPanelEstateInfo::accessRemoveCore2(), LLMuteList::add(), LLPanelEstateInfo::addAllowedGroup2(), LLToolPlacer::addObject(), LLPipeline::addTrianglesDrawn(), LLToolBrushLand::alertNoTerraform(), LLPanelGroupMembersSubTab::apply(), LLPanelGroupGeneral::apply(), LLPanelGroup::apply(), LLFloaterHardwareSettings::apply(), LLPanelDisplay::applyResolution(), LLFloaterCustomize::askToSaveAllIfDirty(), LLPanelGroupRoles::attemptTransition(), LLPanelGroup::attemptTransition(), auction_j2c_upload_done(), auction_tga_upload_done(), audio_update_volume(), LLPipeline::blurReflectionMap(), 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(), LLFloaterBuyLandUI::canClose(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToMouselook(), LLAgent::changeCameraToThirdPerson(), LLFloaterSnapshot::Impl::checkImageSize(), LLAppViewer::cleanup(), LLAppViewer::cleanupSavedSettings(), LLPanelLogin::close(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLConfirmationManager::confirm(), LLPanelGridTools::confirmKick(), LLPanelFriends::confirmModifyRights(), create_new_landmark(), LLPipeline::createGLBuffers(), LLToolDragAndDrop::dad3dWearCategory(), LLToolDragAndDrop::dad3dWearItem(), LLViewerParcelMgr::deedLandToGroup(), LLFloaterWindLight::deleteAlertCallback(), LLFloaterWater::deleteAlertCallback(), LLFolderView::deleteAllChildren(), derez_objects(), dialog_choose_gender_first_start(), display(), display_startup(), display_update_camera(), LLFloaterSellLandUI::doSellLand(), LLToolDragAndDrop::dragOrDrop(), LLToolDragAndDrop::dragOrDrop3D(), LLToolGun::draw(), LLProgressView::draw(), LLHoverView::draw(), LLFolderView::draw(), LLSnapshotLivePreview::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLToolDragAndDrop::dropObject(), enable_detach(), LLAgent::endAnimationUpdateUI(), LLInventoryModel::fetchDescendentsResponder::error(), LLAssetUploadResponder::error(), LLFolderView::finishRenamingItem(), LLAppViewer::forceDisconnect(), LLPipeline::generateImpostor(), LLPipeline::generateReflectionMap(), LLSnapshotLivePreview::generateThumbnailImage(), LLPipeline::generateWaterReflection(), LLManip::getMousePointOnPlaneGlobal(), LLViewerCamera::getPixelVectors(), LLToolDragAndDrop::giveInventory(), LLToolDragAndDrop::giveInventoryCategory(), handle_focus(), 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(), LLWebBrowserCtrl::handleDoubleClick(), LLToolSelectLand::handleDoubleClick(), LLPanelEstateCovenant::handleDragAndDrop(), LLToolDragAndDrop::handleDropTextureProtections(), LLFileTakeSnapshotToDisk::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(), 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(), handleGammaChanged(), 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(), LLWebBrowserCtrl::handleMouseDown(), 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(), LLWebBrowserCtrl::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(), LLToolGun::handleSelect(), LLManipTranslate::highlightManipulators(), LLManipScale::highlightManipulators(), LLManipRotate::highlightManipulators(), hud_render_text(), LLAppViewer::idle(), idle_startup(), LLAppViewer::idleShutdown(), LLDrawable::incrementVisible(), LLAppViewer::init(), LLAgent::init(), init_menus(), LLVOTree::initClass(), LLVOGrass::initClass(), LLViewerMedia::initClass(), LLAppViewer::initWindow(), LLPanelDisplay::initWindowSizeControls(), join_group_callback(), LLToolBar::layoutButtons(), LLPanelGroups::leave(), LLDebugView::LLDebugView(), LLPanelLogin::LLPanelLogin(), LLSnapshotLivePreview::LLSnapshotLivePreview(), LLUploadDialog::LLUploadDialog(), load_url_local_file(), LLWLDayCycle::loadDayCycle(), LLPanelLogin::loadLoginPage(), login_show(), LLAppViewer::mainLoop(), LLInventoryModel::messageUpdateCore(), LLManipRotate::mouseToRay(), LLFloaterOpenObject::moveToInventory(), LLManip::nearestPointOnLineFromMouse(), LLFloaterWindLight::newPromptCallback(), LLFloaterWater::newPromptCallback(), LLFloaterURLEntry::onBtnClear(), 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(), LLPanelGridTools::onClickFlushMapVisibilityCaches(), LLPanelAvatar::onClickFreeze(), LLFloaterWindLight::onClickHelp(), LLFloaterWater::onClickHelp(), LLPanelRegionInfo::onClickHelp(), LLFloaterHardwareSettings::onClickHelp(), LLFloaterEnvSettings::onClickHelp(), LLFloaterDayCycle::onClickHelp(), LLPanelGroupGeneral::onClickJoin(), LLPanelAvatar::onClickKick(), LLPanelRegionGeneralInfo::onClickKickAll(), LLPanelGridTools::onClickKickAll(), LLWebBrowserCtrl::onClickLinkHref(), LLPanelRegionGeneralInfo::onClickMessage(), LLPanelEstateInfo::onClickMessageEstate(), LLPanelAvatarClassified::onClickNew(), LLPanelLogin::onClickNewAccount(), LLPanelAvatarSecondLife::onClickPartnerHelp(), LLPanelAvatarSecondLife::onClickPublishHelp(), LLPanelLandOptions::onClickPublishHelp(), 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(), LLPanelClassified::onClickUpdate(), 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(), LLFloaterWindLight::onDeletePreset(), LLFloaterWater::onDeletePreset(), LLFloaterTopObjects::onDisableAll(), LLPreviewTexture::onFileLoadedForSave(), LLWebBrowserCtrl::onFocusLost(), LLSnapshotLivePreview::onIdle(), LLPanelEstateInfo::onKickUserCommit(), LLPanelEstateCovenant::onLoadComplete(), LLToolGrab::onMouseCaptureLost(), LLFloaterAnimPreview::onMouseCaptureLost(), LLFloaterImagePreview::onMouseCaptureLostImagePreview(), LLFloaterWindLight::onNewPreset(), LLFloaterWater::onNewPreset(), LLPanelDisplay::onOpenHelp(), LLLiveLSLEditor::onReset(), LLFloaterTopObjects::onReturnAll(), LLLiveLSLEditor::onRunningCheckboxClicked(), LLLiveLSLEditor::onSaveBytecodeComplete(), LLPreviewLSL::onSaveBytecodeComplete(), LLFloaterCompileQueue::onSaveBytecodeComplete(), LLPreviewLSL::onSaveComplete(), LLPreviewNotecard::onSaveComplete(), LLPreviewGesture::onSaveComplete(), LLFloaterPostProcess::onSaveEffect(), LLWearable::onSaveNewAssetComplete(), LLFloaterWindLight::onSavePreset(), LLFloaterWater::onSavePreset(), LLLiveLSLEditor::onSaveTextComplete(), LLFloaterCompileQueue::onSaveTextComplete(), LLWearableBridge::openItem(), LLItemBridge::performAction(), LLPanelDirPeople::performQuery(), LLToolPie::pickAndShowMenu(), LLToolPipette::pickCallback(), LLToolIndividual::pickCallback(), LLToolCamera::pickCallback(), LLToolFace::pickCallback(), LLToolDragAndDrop::pickCallback(), LLToolCompRotate::pickCallback(), LLToolCompScale::pickCallback(), LLToolCompTranslate::pickCallback(), LLToolCompInspect::pickCallback(), LLHoverView::pickCallback(), LLViewerRequiredVoiceVersion::post(), LLPanelDisplay::postBuild(), LLFloaterNameDesc::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(), LLViewerObjectList::processUpdateCore(), LLViewerCamera::projectPosAgentToScreen(), LLViewerCamera::projectPosAgentToScreenEdge(), queue_actions(), LLToolPlacer::raycastForNewObjPos(), 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(), render_ui_and_swap_if_needed(), LLPipeline::renderBloom(), 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(), LLPipeline::resizeScreenTexture(), LLFolderView::revertRenamingItem(), rez_attachment(), LLAppViewer::saveFinalSnapshot(), LLLiveLSLEditor::saveIfNeeded(), LLPreviewGesture::saveIfNeeded(), LLSnapshotLivePreview::saveLocal(), LLWearable::saveNewAsset(), LLSnapshotLivePreview::saveTexture(), LLSelectMgr::selectDelete(), send_stats(), LLViewerParcelMgr::sendParcelDeed(), LLViewerParcelMgr::sendParcelGodForceOwner(), LLViewerParcelMgr::sendParcelGodForceToContent(), LLViewerParcelMgr::sendParcelRelease(), LLPanelEstateInfo::sendUpdate(), LLPanelRegionGeneralInfo::sendUpdate(), set_god_level(), set_startup_status(), LLHoverView::setHoverActive(), LLUploadDialog::setMessage(), LLTool::setMouseCapture(), LLFloaterTools::setObjectType(), LLViewerCamera::setPerspective(), LLShaderMgr::setShaders(), LLSnapshotLivePreview::setThumbnailImageSize(), setup_hud_matrices(), LLViewerParcelMgr::setupParcelBuy(), LLManip::setupSnapGuideRenderPass(), LLAgent::setWearable(), LLFloaterOpenObject::show(), LLFloaterHtmlHelp::show(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), show_buy_currency(), show_first_run_dialog(), LLViewerTextEditor::showCopyToInvDialog(), LLFloaterReporter::showFromMenu(), LLFloaterIMPanel::showSessionEventError(), LLFloaterIMPanel::showSessionForceClose(), LLFloaterIMPanel::showSessionStartError(), LLFloaterColorPicker::showUI(), LLViewerTextEditor::showUnsavedAlertDialog(), LLViewerParcelMgr::startDeedLandToGroup(), LLViewerParcelMgr::startDivideLand(), LLViewerParcelMgr::startJoinLand(), LLViewerParcelMgr::startReleaseLand(), LLFolderView::startRenamingSelectedItem(), LLPanelGroupInvite::impl::submitInvitations(), LLFloaterReporter::takeScreenshot(), LLPanelClassified::titleIsValid(), LLViewerParcelMedia::update(), update_app(), LLHUDText::updateAll(), LLPreviewTexture::updateDimensions(), LLHoverView::updateHover(), LLFloaterSnapshot::Impl::updateLayout(), 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(), LLAppViewer::userQuit(), 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 256 of file llviewerwindow.cpp.

const F32 MIN_AFK_TIME = 2.f

const F32 MIN_DISPLAY_SCALE = 0.85f

Definition at line 262 of file llviewerwindow.cpp.

Referenced by LLViewerWindow::calcDisplayScale().

const U8 NO_FACE = 255

Definition at line 252 of file llviewerwindow.cpp.

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

Definition at line 250 of file llviewerwindow.cpp.

const S32 PICK_HALF_WIDTH = 5


Generated on Fri May 16 08:37:59 2008 for SecondLife by  doxygen 1.5.5