llcontroldef.cpp File Reference

Viewer control settings. More...

#include "llviewerprecompiledheaders.h"
#include "llviewercontrol.h"
#include "indra_constants.h"
#include "v3math.h"
#include "v3dmath.h"
#include "llrect.h"
#include "v4color.h"
#include "v4coloru.h"
#include "v3color.h"
#include "llfirstuse.h"
#include "audioengine.h"
#include "llagent.h"
#include "llconsole.h"
#include "lldrawpoolterrain.h"
#include "llflexibleobject.h"
#include "llfloatereventlog.h"
#include "llfeaturemanager.h"
#include "llglslshader.h"
#include "llmediaengine.h"
#include "llpanelgeneral.h"
#include "llpanelinput.h"
#include "llsky.h"
#include "llviewerimagelist.h"
#include "llviewerthrottle.h"
#include "llviewerwindow.h"
#include "llvoavatar.h"
#include "llvosky.h"
#include "llvotree.h"
#include "llvovolume.h"
#include "llworld.h"
#include "pipeline.h"
#include "viewer.h"
#include "llviewerjoystick.h"
#include "llviewerparcelmgr.h"
#include "llparcel.h"
#include "llnotify.h"
#include "llkeyboard.h"

Include dependency graph for llcontroldef.cpp:

Go to the source code of this file.

Classes

class  LLAFKTimeoutListener
class  LLMouseSensitivityListener
class  LLInvertMouseListener
class  LLRenderAvatarMouselookListener
class  LLRenderFarClipListener
class  LLTerrainDetailListener
class  LLSetShaderListener
class  LLReleaseGLBufferListener
class  LLVolumeLODListener
class  LLAvatarLODListener
class  LLTreeLODListener
class  LLFlexLODListener
class  LLGammaListener
class  LLNightBrightnessListener
class  LLFogRatioListener
class  LLMaxPartCountListener
class  LLCompositeLimitListener
class  LLVideoMemoryListener
class  LLBandwidthListener
class  LLChatFontSizeListener
class  LLChatPersistTimeListener
class  LLConsoleMaxLinesListener
class  LLAudioListener
class  LLJoystickListener
class  LLAudioStreamMusicListener
class  LLAudioStreamMediaListener
class  LLUseOcclusionListener
class  LLNumpadControlListener
class  LLRenderUseVBOListener
class  LLRenderLightingDetailListener

Functions

void declare_settings ()
void fixup_settings ()
void stop_video ()
void prepare_video (const LLParcel *parcel)
void settings_setup_listeners ()

Variables

static LLAFKTimeoutListener afk_timeout_listener
static LLMouseSensitivityListener mouse_sensitivity_listener
static LLInvertMouseListener invert_mouse_listener
static LLRenderAvatarMouselookListener render_avatar_mouselook_listener
static LLRenderFarClipListener render_far_clip_listener
static LLTerrainDetailListener terrain_detail_listener
static LLSetShaderListener set_shader_listener
static LLReleaseGLBufferListener release_gl_buffer_listener
static LLVolumeLODListener volume_lod_listener
static LLAvatarLODListener avatar_lod_listener
static LLTreeLODListener tree_lod_listener
static LLFlexLODListener flex_lod_listener
static LLGammaListener gamma_listener
static LLNightBrightnessListener night_brightness_listener
const F32 MAX_USER_FOG_RATIO = 4.f
const F32 MIN_USER_FOG_RATIO = 0.5f
static LLFogRatioListener fog_ratio_listener
static LLMaxPartCountListener max_partCount_listener
const S32 MAX_USER_COMPOSITE_LIMIT = 100
const S32 MIN_USER_COMPOSITE_LIMIT = 0
static LLCompositeLimitListener composite_limit_listener
static LLVideoMemoryListener video_memory_listener
static LLBandwidthListener bandwidth_listener
static LLChatFontSizeListener chat_font_size_listener
static LLChatPersistTimeListener chat_persist_time_listener
static LLConsoleMaxLinesListener console_max_lines_listener
static LLAudioListener audio_listener
static LLJoystickListener joystick_listener
static LLAudioStreamMusicListener audio_stream_music_listener
static LLAudioStreamMediaListener audio_stream_media_listener
static LLUseOcclusionListener use_occlusion_listener
static LLNumpadControlListener numpad_control_listener
static LLRenderUseVBOListener render_use_vbo_listener
static LLRenderLightingDetailListener render_lighting_detail_listener


Detailed Description

Viewer control settings.

Author:
James Cook
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 llcontroldef.cpp.


Function Documentation

void declare_settings (  ) 

Definition at line 78 of file llcontroldef.cpp.

References LLFirstUse::addConfigVariable(), LLControlGroup::addWarning(), CRASH_BEHAVIOR_ASK, CRASH_BEHAVIOR_SETTING, LLControlGroup::declareBOOL(), LLControlGroup::declareColor3(), LLControlGroup::declareColor4(), LLControlGroup::declareF32(), LLControlGroup::declareRect(), LLControlGroup::declareS32(), LLControlGroup::declareString(), LLControlGroup::declareU32(), LLControlGroup::declareVec3(), LLControlGroup::declareVec3d(), f, FALSE, gCrashSettings, gSavedPerAccountSettings, gSavedSettings, NO_PERSIST, LLFloaterEventLog::QB_OBJECT_MUTE, S32, LLRectBase< Type >::setOriginAndSize(), and TRUE.

Referenced by main().

void fixup_settings (  ) 

Definition at line 1543 of file llcontroldef.cpp.

References gSavedSettings, LLControlGroup::setBOOL(), and TRUE.

Referenced by main().

void prepare_video ( const LLParcel parcel  ) 

Definition at line 1827 of file llviewerparcelmgr.cpp.

References FALSE, LLMediaEngine::getInstance(), LLParcel::getMediaAutoScale(), LLParcel::getMediaID(), LLParcel::getMediaURL(), LLParcel::getParcelFlag(), PF_URL_RAW_HTML, LLMediaEngine::setAutoScaled(), LLMediaEngine::setImageUUID(), LLMediaEngine::setUrl(), and TRUE.

Referenced by callback_prepare_video(), LLAudioStreamMediaListener::handleEvent(), optionally_prepare_video(), and start_video().

void settings_setup_listeners (  ) 

Definition at line 1953 of file llcontroldef.cpp.

References LLObservable::addListener(), afk_timeout_listener, audio_listener, audio_stream_media_listener, audio_stream_music_listener, avatar_lod_listener, bandwidth_listener, chat_font_size_listener, chat_persist_time_listener, composite_limit_listener, console_max_lines_listener, flex_lod_listener, fog_ratio_listener, gamma_listener, LLControlGroup::getControl(), gSavedSettings, invert_mouse_listener, joystick_listener, max_partCount_listener, mouse_sensitivity_listener, night_brightness_listener, numpad_control_listener, release_gl_buffer_listener, render_avatar_mouselook_listener, render_far_clip_listener, render_lighting_detail_listener, render_use_vbo_listener, set_shader_listener, terrain_detail_listener, tree_lod_listener, use_occlusion_listener, video_memory_listener, and volume_lod_listener.

Referenced by saved_settings_to_globals().

void stop_video (  ) 

Definition at line 1851 of file llviewerparcelmgr.cpp.

References FALSE, gCurrentMovieID, LLMediaEngine::getInstance(), gImageList, gOverlayBar, LLUUID::null, LLOverlayBar::refresh(), LLMediaEngine::setImageUUID(), LLUUID::setNull(), LLMediaEngine::setUrl(), LLMediaEngine::stop(), LLMediaEngine::unload(), and LLViewerImageList::updateMovieImage().

Referenced by LLAudioStreamMediaListener::handleEvent(), and LLViewerParcelMgr::processParcelProperties().


Variable Documentation

LLAFKTimeoutListener afk_timeout_listener [static]

Definition at line 1562 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLAudioListener audio_listener [static]

Definition at line 1817 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLAudioStreamMediaListener audio_stream_media_listener [static]

Definition at line 1903 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLAudioStreamMusicListener audio_stream_music_listener [static]

Definition at line 1861 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLAvatarLODListener avatar_lod_listener [static]

Definition at line 1661 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLBandwidthListener bandwidth_listener [static]

Definition at line 1776 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLChatFontSizeListener chat_font_size_listener [static]

Definition at line 1786 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLChatPersistTimeListener chat_persist_time_listener [static]

Definition at line 1796 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLCompositeLimitListener composite_limit_listener [static]

Definition at line 1756 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLConsoleMaxLinesListener console_max_lines_listener [static]

Definition at line 1806 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLFlexLODListener flex_lod_listener [static]

Definition at line 1681 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLFogRatioListener fog_ratio_listener [static]

Definition at line 1730 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLGammaListener gamma_listener [static]

Definition at line 1704 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLInvertMouseListener invert_mouse_listener [static]

Definition at line 1583 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLJoystickListener joystick_listener [static]

Definition at line 1827 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLMaxPartCountListener max_partCount_listener [static]

Definition at line 1740 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

const S32 MAX_USER_COMPOSITE_LIMIT = 100

Definition at line 1742 of file llcontroldef.cpp.

Referenced by LLCompositeLimitListener::handleEvent().

const F32 MAX_USER_FOG_RATIO = 4.f

Definition at line 1716 of file llcontroldef.cpp.

Referenced by LLFogRatioListener::handleEvent().

const S32 MIN_USER_COMPOSITE_LIMIT = 0

Definition at line 1743 of file llcontroldef.cpp.

Referenced by LLCompositeLimitListener::handleEvent().

const F32 MIN_USER_FOG_RATIO = 0.5f

Definition at line 1717 of file llcontroldef.cpp.

Referenced by LLFogRatioListener::handleEvent().

LLMouseSensitivityListener mouse_sensitivity_listener [static]

Definition at line 1572 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLNightBrightnessListener night_brightness_listener [static]

Definition at line 1714 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLNumpadControlListener numpad_control_listener [static]

Definition at line 1929 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLReleaseGLBufferListener release_gl_buffer_listener [static]

Definition at line 1640 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLRenderAvatarMouselookListener render_avatar_mouselook_listener [static]

Definition at line 1593 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLRenderFarClipListener render_far_clip_listener [static]

Definition at line 1608 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLRenderLightingDetailListener render_lighting_detail_listener [static]

Definition at line 1949 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLRenderUseVBOListener render_use_vbo_listener [static]

Definition at line 1939 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLSetShaderListener set_shader_listener [static]

Definition at line 1629 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLTerrainDetailListener terrain_detail_listener [static]

Definition at line 1618 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLTreeLODListener tree_lod_listener [static]

Definition at line 1671 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLUseOcclusionListener use_occlusion_listener [static]

Definition at line 1915 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLVideoMemoryListener video_memory_listener [static]

Definition at line 1766 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().

LLVolumeLODListener volume_lod_listener [static]

Definition at line 1651 of file llcontroldef.cpp.

Referenced by settings_setup_listeners().


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