llhudtext.cpp File Reference

LLHUDText class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llhudtext.h"
#include "llglimmediate.h"
#include "llagent.h"
#include "llviewercontrol.h"
#include "llchatbar.h"
#include "llcriticaldamp.h"
#include "lldrawable.h"
#include "llfontgl.h"
#include "llglheaders.h"
#include "llhudrender.h"
#include "llimagegl.h"
#include "llui.h"
#include "llviewercamera.h"
#include "llviewerimagelist.h"
#include "llviewerobject.h"
#include "llvovolume.h"
#include "llviewerwindow.h"
#include "llstatusbar.h"
#include "llmenugl.h"
#include "pipeline.h"
#include <boost/tokenizer.hpp>

Include dependency graph for llhudtext.cpp:

Go to the source code of this file.

Variables

const F32 SPRING_STRENGTH = 0.7f
const F32 RESTORATION_SPRING_TIME_CONSTANT = 0.1f
const F32 HORIZONTAL_PADDING = 15.f
const F32 VERTICAL_PADDING = 12.f
const F32 BUFFER_SIZE = 2.f
const F32 MIN_EDGE_OVERLAP = 3.f
F32 HUD_TEXT_MAX_WIDTH = 190.f
const F32 HUD_TEXT_MAX_WIDTH_NO_BUBBLE = 1000.f
const F32 RESIZE_TIME = 0.f
const S32 NUM_OVERLAP_ITERATIONS = 10
const F32 NEIGHBOR_FORCE_FRACTION = 1.f
const F32 POSITION_DAMPING_TC = 0.2f
const F32 MAX_STABLE_CAMERA_VELOCITY = 0.1f
const F32 LOD_0_SCREEN_COVERAGE = 0.15f
const F32 LOD_1_SCREEN_COVERAGE = 0.30f
const F32 LOD_2_SCREEN_COVERAGE = 0.40f


Detailed Description

LLHUDText class implementation.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-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 llhudtext.cpp.


Variable Documentation

const F32 BUFFER_SIZE = 2.f

const F32 HORIZONTAL_PADDING = 15.f

Definition at line 61 of file llhudtext.cpp.

Referenced by LLHUDText::renderText(), and LLHUDText::updateSize().

Definition at line 65 of file llhudtext.cpp.

Referenced by LLHUDText::addLine(), LLHUDText::setLabel(), and LLHUDText::updateSize().

Definition at line 66 of file llhudtext.cpp.

Referenced by LLHUDText::addLine(), and LLHUDText::setLabel().

const F32 LOD_0_SCREEN_COVERAGE = 0.15f

Definition at line 72 of file llhudtext.cpp.

Referenced by LLHUDText::updateAll().

const F32 LOD_1_SCREEN_COVERAGE = 0.30f

Definition at line 73 of file llhudtext.cpp.

Referenced by LLHUDText::updateAll().

const F32 LOD_2_SCREEN_COVERAGE = 0.40f

Definition at line 74 of file llhudtext.cpp.

Referenced by LLHUDText::updateAll().

Definition at line 71 of file llhudtext.cpp.

Referenced by LLHUDText::updateAll().

const F32 MIN_EDGE_OVERLAP = 3.f

Definition at line 64 of file llhudtext.cpp.

Definition at line 69 of file llhudtext.cpp.

Definition at line 68 of file llhudtext.cpp.

Referenced by LLHUDText::updateAll().

const F32 POSITION_DAMPING_TC = 0.2f

Definition at line 70 of file llhudtext.cpp.

Referenced by LLHUDText::updateAll().

const F32 RESIZE_TIME = 0.f

Definition at line 67 of file llhudtext.cpp.

Definition at line 60 of file llhudtext.cpp.

const F32 SPRING_STRENGTH = 0.7f

Definition at line 59 of file llhudtext.cpp.

Referenced by LLHUDText::updateAll().

const F32 VERTICAL_PADDING = 12.f

Definition at line 62 of file llhudtext.cpp.

Referenced by LLHUDText::renderText(), and LLHUDText::updateSize().


Generated on Fri May 16 08:36:45 2008 for SecondLife by  doxygen 1.5.5