LLControlGroup Class Reference

#include <llcontrol.h>

Collaboration diagram for LLControlGroup:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::map< LLString,
LLPointer< LLControlBase > > 
ctrl_name_table_t

Public Member Functions

 LLControlGroup ()
 ~LLControlGroup ()
void cleanup ()
LLControlBasegetControl (const LLString &name)
LLSD registerListener (const LLString &name, LLSimpleListenerObservable *listener)
BOOL declareControl (const LLString &name, eControlType type, const LLSD initial_val, const LLString &comment, BOOL persist)
BOOL declareU32 (const LLString &name, U32 initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareS32 (const LLString &name, S32 initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareF32 (const LLString &name, F32 initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareBOOL (const LLString &name, BOOL initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareString (const LLString &name, const LLString &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareVec3 (const LLString &name, const LLVector3 &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareVec3d (const LLString &name, const LLVector3d &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareRect (const LLString &name, const LLRect &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareColor4U (const LLString &name, const LLColor4U &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareColor4 (const LLString &name, const LLColor4 &initial_val, const LLString &comment, BOOL persist=TRUE)
BOOL declareColor3 (const LLString &name, const LLColor3 &initial_val, const LLString &comment, BOOL persist=TRUE)
LLString findString (const LLString &name)
LLString getString (const LLString &name)
LLWString getWString (const LLString &name)
LLString getText (const LLString &name)
LLVector3 getVector3 (const LLString &name)
LLVector3d getVector3d (const LLString &name)
LLRect getRect (const LLString &name)
BOOL getBOOL (const LLString &name)
S32 getS32 (const LLString &name)
F32 getF32 (const LLString &name)
U32 getU32 (const LLString &name)
LLSD getValue (const LLString &name)
LLColor4 getColor (const LLString &name)
LLColor4U getColor4U (const LLString &name)
LLColor4 getColor4 (const LLString &name)
LLColor3 getColor3 (const LLString &name)
void setBOOL (const LLString &name, BOOL val)
void setS32 (const LLString &name, S32 val)
void setF32 (const LLString &name, F32 val)
void setU32 (const LLString &name, U32 val)
void setString (const LLString &name, const LLString &val)
void setVector3 (const LLString &name, const LLVector3 &val)
void setVector3d (const LLString &name, const LLVector3d &val)
void setRect (const LLString &name, const LLRect &val)
void setColor4U (const LLString &name, const LLColor4U &val)
void setColor4 (const LLString &name, const LLColor4 &val)
void setColor3 (const LLString &name, const LLColor3 &val)
void setValue (const LLString &name, const LLSD &val)
BOOL controlExists (const LLString &name)
U32 loadFromFileLegacy (const LLString &filename, BOOL require_declaration=TRUE, eControlType declare_as=TYPE_STRING)
U32 loadFromFile (const LLString &filename, BOOL require_declaration=TRUE, eControlType declare_as=TYPE_STRING)
U32 saveToFile (const LLString &filename, BOOL skip_if_default)
void applyOverrides (const std::map< std::string, std::string > &overrides)
void resetToDefaults ()
void addWarning (const LLString &name)
BOOL getWarning (const LLString &name)
void setWarning (const LLString &name, BOOL val)
void resetWarnings ()

Public Attributes

ctrl_name_table_t mNameTable
std::set< LLStringmWarnings

Detailed Description

Definition at line 197 of file llcontrol.h.


Member Typedef Documentation

typedef std::map<LLString, LLPointer<LLControlBase> > LLControlGroup::ctrl_name_table_t

Definition at line 200 of file llcontrol.h.


Constructor & Destructor Documentation

LLControlGroup::LLControlGroup (  ) 

Definition at line 115 of file llcontrol.cpp.

LLControlGroup::~LLControlGroup (  ) 

Definition at line 120 of file llcontrol.cpp.


Member Function Documentation

void LLControlGroup::addWarning ( const LLString name  ) 

Definition at line 1241 of file llcontrol.cpp.

References declareBOOL(), mNameTable, mWarnings, and TRUE.

Referenced by LLFirstUse::addConfigVariable(), declare_settings(), and LLAlertDialog::parseAlerts().

void LLControlGroup::applyOverrides ( const std::map< std::string, std::string > &  overrides  ) 

Definition at line 1167 of file llcontrol.cpp.

References LLStringBase< char >::compareInsensitive(), FALSE, llendl, llinfos, mNameTable, S32, TRUE, TYPE_BOOLEAN, TYPE_COL3, TYPE_COL4, TYPE_F32, TYPE_S32, TYPE_STRING, TYPE_U32, TYPE_VEC3, and TYPE_VEC3D.

Referenced by main().

void LLControlGroup::cleanup (  ) 

Definition at line 132 of file llcontrol.cpp.

References mNameTable.

Referenced by cleanup_app().

BOOL LLControlGroup::controlExists ( const LLString name  ) 

Definition at line 423 of file llcontrol.cpp.

References mNameTable.

Referenced by loadFromFile(), and LLUI::locateSkin().

BOOL LLControlGroup::declareBOOL ( const LLString name,
BOOL  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 175 of file llcontrol.cpp.

References declareControl(), and TYPE_BOOLEAN.

Referenced by addWarning(), and declare_settings().

BOOL LLControlGroup::declareColor3 ( const LLString name,
const LLColor3 initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 210 of file llcontrol.cpp.

References declareControl(), LLColor3::getValue(), and TYPE_COL3.

Referenced by declare_settings().

BOOL LLControlGroup::declareColor4 ( const LLString name,
const LLColor4 initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 205 of file llcontrol.cpp.

References declareControl(), LLColor4::getValue(), and TYPE_COL4.

Referenced by declare_settings(), loadFromFile(), and loadFromFileLegacy().

BOOL LLControlGroup::declareColor4U ( const LLString name,
const LLColor4U initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 200 of file llcontrol.cpp.

References declareControl(), LLColor4U::getValue(), and TYPE_COL4U.

Referenced by loadFromFile(), and loadFromFileLegacy().

BOOL LLControlGroup::declareControl ( const LLString name,
eControlType  type,
const LLSD  initial_val,
const LLString comment,
BOOL  persist 
)

Definition at line 143 of file llcontrol.cpp.

References FALSE, llendl, llwarns, mNameTable, and TRUE.

Referenced by declareBOOL(), declareColor3(), declareColor4(), declareColor4U(), declareF32(), declareRect(), declareS32(), declareString(), declareU32(), declareVec3(), and declareVec3d().

BOOL LLControlGroup::declareF32 ( const LLString name,
F32  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 170 of file llcontrol.cpp.

References declareControl(), and TYPE_F32.

Referenced by declare_settings().

BOOL LLControlGroup::declareRect ( const LLString name,
const LLRect initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 195 of file llcontrol.cpp.

References declareControl(), LLRectBase< Type >::getValue(), and TYPE_RECT.

Referenced by declare_settings().

BOOL LLControlGroup::declareS32 ( const LLString name,
S32  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 165 of file llcontrol.cpp.

References declareControl(), and TYPE_S32.

Referenced by declare_settings(), LLAlertDialog::parseAlerts(), and WinMain().

BOOL LLControlGroup::declareString ( const LLString name,
const LLString initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 180 of file llcontrol.cpp.

References declareControl(), and TYPE_STRING.

Referenced by declare_settings(), loadFromFile(), and loadFromFileLegacy().

BOOL LLControlGroup::declareU32 ( const LLString name,
U32  initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 160 of file llcontrol.cpp.

References declareControl(), and TYPE_U32.

Referenced by declare_settings().

BOOL LLControlGroup::declareVec3 ( const LLString name,
const LLVector3 initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 185 of file llcontrol.cpp.

References declareControl(), LLVector3::getValue(), and TYPE_VEC3.

Referenced by declare_settings().

BOOL LLControlGroup::declareVec3d ( const LLString name,
const LLVector3d initial_val,
const LLString comment,
BOOL  persist = TRUE 
)

Definition at line 190 of file llcontrol.cpp.

References declareControl(), LLVector3d::getValue(), and TYPE_VEC3D.

Referenced by declare_settings().

LLString LLControlGroup::findString ( const LLString name  ) 

Definition at line 277 of file llcontrol.cpp.

References LLSD::asString(), LLControlBase::get(), getControl(), LLControlBase::isType(), LLStringBase< char >::null, and TYPE_STRING.

Referenced by LLUI::findAssetUUIDByName().

BOOL LLControlGroup::getBOOL ( const LLString name  ) 

Definition at line 225 of file llcontrol.cpp.

References LLSD::asBoolean(), CONTROL_ERRS, FALSE, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, and TYPE_BOOLEAN.

Referenced by add_duplicate(), add_timestamped_line(), LLFloaterChat::addChat(), LLFloaterChat::addChatHistory(), LLFloaterIMPanel::addHistoryLine(), agent_jump(), LLPanelDisplay::applyResolution(), audio_update_volume(), LLAgent::calcCameraPositionTargetGlobal(), LLViewerWindow::calcDisplayScale(), LLAgent::cameraOrbitIn(), LLManipTranslate::canAffectSelection(), LLManipRotate::canAffectSelection(), LLSelectMgr::canSelectObject(), LLViewerWindow::changeDisplaySettings(), check_offer_throttle(), check_show_xui_names(), check_toggle_control(), LLFloaterSnapshot::Impl::checkAutoSnapshot(), LLViewerWindow::checkSettings(), click_popup_dozer_mode(), click_show_more(), commit_select_tool(), LLViewerImageList::convertToUploadFile(), LLSelectMgr::deselectAllIfTooFar(), LLSelectMgr::deselectHighlightedObjects(), display(), LLFolderView::doIdle(), LLManipRotate::dragConstrained(), LLManipScale::dragCorner(), LLManipScale::dragFace(), LLWorldMapView::draw(), LLVoiceRemoteCtrl::draw(), LLViewerWindow::draw(), LLToolGun::draw(), LLPrefsVoice::draw(), LLPanelDirPopular::draw(), LLPanelDirPlaces::draw(), LLPanelDirGroups::draw(), LLPanelDirFindAllOld::draw(), LLPanelAudioVolume::draw(), LLFloaterVoiceWizard::draw(), LLFloaterSnapshot::draw(), LLWorldMapView::drawEvents(), LLOverlayBar::enableMediaButtons(), LLOverlayBar::enableMusicButtons(), LLEmbeddedNotecardOpener::fire(), get_texture_list_name(), LLAgent::getCameraMinOffGround(), LLViewerWindow::getDisplayAspectRatio(), LLSnapshotLivePreview::getImageAspect(), LLManipScale::getShowAxes(), LLPanelObject::getState(), LLManipScale::getStretchTextures(), LLManipScale::getUniform(), getWarning(), handle_chat(), handle_go_to(), LLWorldMapView::handleClick(), LLToolSelectLand::handleDeselect(), LLToolBrushLand::handleDeselect(), LLToolPie::handleDoubleClick(), LLVoiceClientPrefsListener::handleEvent(), LLFileTakeSnapshotToDisk::handleEvent(), LLViewCheckBeaconEnabled::handleEvent(), LLToolsEditLinkedParts::handleEvent(), LLToolsSelectOnlyMovableObjects::handleEvent(), LLToolsSelectOnlyMyObjects::handleEvent(), LLViewEnableMouselook::handleEvent(), LLToggleControl::handleEvent(), LLLandEdit::handleEvent(), LLToolsEnableLink::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLObjectBuild::handleEvent(), LLToolGun::handleHover(), LLManipTranslate::handleHover(), LLSnapshotFloaterView::handleHover(), LLToolGrab::handleHoverInactive(), LLViewerWindow::handleKey(), LLSnapshotFloaterView::handleKey(), LLMenuBarGL::handleKeyHere(), LLFloaterIMPanel::handleKeyHere(), LLSnapshotFloaterView::handleMouseDown(), LLManipTranslate::handleMouseDownOnPart(), LLToolSelect::handleMouseUp(), LLSnapshotFloaterView::handleMouseUp(), LLToolSelect::handleObjectSelection(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLToolSelectLand::handleSelect(), LLToolComposite::handleSelect(), LLToolBrushLand::handleSelect(), LLManipTranslate::highlightIntersection(), LLSelectMgr::highlightObjectOnly(), idle_network(), idle_startup(), LLVOAvatar::idleUpdate(), LLXMLRPCTransaction::Impl::init(), LLSky::init(), LLPrefsVoiceLogic::init(), LLFloaterIMPanel::init(), LLAgent::init(), init_audio(), init_cache(), LLViewerWindow::initBase(), LLUI::initClass(), LLVOSky::initCubeMap(), LLSurface::initTextures(), LLViewerWindow::initWorldUI(), inventory_offer_handler(), LLIMMgr::inviteToSession(), LLChatBar::LLChatBar(), LLCompass::LLCompass(), LLFloaterAuction::LLFloaterAuction(), LLFloaterChatterBox::LLFloaterChatterBox(), LLFloaterLagMeter::LLFloaterLagMeter(), LLFloaterTexturePicker::LLFloaterTexturePicker(), LLFloaterTools::LLFloaterTools(), LLHorizontalCompass::LLHorizontalCompass(), LLNetMap::LLNetMap(), LLPanelDebug::LLPanelDebug(), LLPanelLogin::LLPanelLogin(), LLSelectMgr::LLSelectMgr(), LLStatView::LLStatView(), LLViewerWindow::LLViewerWindow(), LLVoiceClient::LLVoiceClient(), LLVOSky::LLVOSky(), log_chat_text(), login_show(), main(), main_loop(), menu_check_control(), menu_toggle_control(), menu_ui_enabled(), LLViewerWindow::movieSize(), LLDrawPoolBump::numBumpPasses(), LLScriptEdCore::onBtnDynamicHelp(), LLVoiceRemoteCtrl::onBtnTalkClicked(), LLVoiceRemoteCtrl::onBtnTalkHeld(), LLVoiceRemoteCtrl::onBtnTalkReleased(), LLFloaterSnapshot::Impl::onClickKeep(), LLPanelDirFindAllOld::onClickSearch(), LLFloaterTools::onClose(), LLSnapshotLivePreview::onIdle(), optionally_start_music(), LLPanelDirPlaces::performQuery(), LLPanelDirGroups::performQuery(), LLToolPie::pickAndShowMenu(), LLToolCamera::pickCallback(), LLToolCompRotate::pickCallback(), LLToolCompScale::pickCallback(), LLToolCompTranslate::pickCallback(), LLToolCompInspect::pickCallback(), LLToolPlacer::placeObject(), LLPanelNetwork::postBuild(), LLPanelMsgs::postBuild(), LLPanelGeneral::postBuild(), LLPanelDisplay::postBuild(), LLPanelDirLand::postBuild(), LLPanelAudioPrefs::postBuild(), LLFloaterTools::postBuild(), LLFloaterSnapshot::postBuild(), LLFloaterColorPicker::postBuild(), LLPipeline::postSort(), LLDrawPoolWater::prerender(), process_chat_from_simulator(), process_money_balance_reply(), process_script_question(), process_time_synch(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirLandReply(), LLAvatarTracker::processNotify(), LLViewerParcelMgr::processParcelProperties(), LLAgent::propagate(), LLViewerWindow::rawSnapshot(), LLSelectMgr::redo(), LLToolBar::refresh(), LLPrefsVoiceLogic::refresh(), LLPrefsIMImpl::refresh(), LLPrefsChatImpl::refresh(), LLPanelWeb::refresh(), LLPanelPermissions::refresh(), LLPanelNetwork::refresh(), LLPanelLCD::refresh(), LLPanelInput::refresh(), LLPanelGeneral::refresh(), LLPanelDisplay3::refresh(), LLPanelDisplay2::refresh(), LLPanelDisplay::refresh(), LLOverlayBar::refresh(), LLChatBar::refresh(), LLFloaterAvatarList::refreshAvatarList(), LLPanelDisplay3::refreshEnabledState(), LLFloaterProperties::refreshFromItem(), LLPanelLogin::refreshLocation(), register_viewer_callbacks(), LLManipScale::render(), LLHUDEffectSpiral::render(), LLDrawPoolTerrain::render(), render_ui_3d(), LLTracker::renderBeacon(), LLViewerParcelOverlay::renderPropertyLines(), LLViewerWindow::renderSelections(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLAgent::resetView(), LLVOSky::restoreGL(), saved_settings_to_globals(), LLViewerWindow::saveImageNumbered(), script_question_cb(), LLSelectMgr::selectObjectAndFamily(), LLChatBar::sendChat(), LLSelectMgr::sendMultipleUpdate(), LLTextureFetch::sendRequestListToSimulators(), LLManipScale::sendUpdates(), LLViewerCamera::setPerspective(), LLShaderMgr::setShaders(), LLPanelEditWearable::setSubpart(), LLAgent::setTeleportState(), LLPanelAvatarWeb::setWebURL(), LLFloaterJoystick::show(), show_debug_menus(), LLFloaterTools::showMore(), LLFloaterColorPicker::showUI(), LLAgent::startTyping(), LLToolBar::toggle(), toggle_build_mode(), toggle_debug_menus(), toggle_map(), toggle_show_xui_names(), LLHUDEffectSpiral::triggerLocal(), LLSelectMgr::undo(), LLDebugText::update(), LLViewerObjectList::update(), update_statistics(), LLViewerJoystick::updateCamera(), LLWorld::updateClouds(), LLScriptEdCore::updateDynamicHelp(), LLManip::updateGridSettings(), LLVOSky::updateHaze(), LLPipeline::updateMove(), LLPipeline::updateMoveDampedAsync(), LLPipeline::updateMoveNormalAsync(), LLFloaterTools::updatePopup(), LLViewerParcelOverlay::updatePropertyLines(), LLSelectMgr::updateSilhouettes(), LLSnapshotLivePreview::updateSnapshot(), LLHoverView::updateText(), LLManipRotate::updateVisiblity(), velocity_interpolate(), and LLVoiceClient::voiceEnabled().

LLColor4 LLControlGroup::getColor ( const LLString name  ) 

Definition at line 352 of file llcontrol.cpp.

References CONTROL_ERRS, i, llendl, mNameTable, TYPE_COL4, TYPE_COL4U, and LLColor4::white.

Referenced by LLTextBox::draw(), LLStatusBar::draw(), LLStatGraph::draw(), LLProgressView::draw(), LLOverlayBar::draw(), LLModalDialog::draw(), LLPieMenu::draw(), LLMenuGL::draw(), LLHoverView::draw(), LLFloaterSnapshot::draw(), LLFloater::draw(), LLAlertDialog::draw(), LLNotifyBox::drawBackground(), LLTextEditor::drawClippedSegment(), LLCheckBoxCtrl::fromXML(), LLVOAvatar::idleUpdate(), LLPanel::init(), LLButton::init(), init_menus(), LLViewerWindow::initBase(), LLUI::initClass(), LLButton::LLButton(), LLFloaterMap::LLFloaterMap(), LLFolderView::LLFolderView(), LLFolderViewItem::LLFolderViewItem(), LLGroupNotifyBox::LLGroupNotifyBox(), LLHUDManager::LLHUDManager(), LLNotifyBox::LLNotifyBox(), LLSelectMgr::LLSelectMgr(), LLSquareButton::LLSquareButton(), LLViewerTextEditor::LLViewerTextEditor(), LLPanelEvent::postBuild(), pre_init_menus(), LLViewerObjectList::renderObjectsForMap(), LLManipTranslate::renderSnapGuides(), set_god_level(), LLPanelGroupVoting::impl::setEnableListProposals(), LLUploadDialog::setMessage(), LLPanel::setPanelParameters(), and LLManip::setupSnapGuideRenderPass().

LLColor3 LLControlGroup::getColor3 ( const LLString name  ) 

Definition at line 410 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, TYPE_COL3, and LLColor3::white.

Referenced by LLVOSky::LLVOSky().

LLColor4 LLControlGroup::getColor4 ( const LLString name  ) 

Definition at line 397 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, TYPE_COL4, and LLColor4::white.

Referenced by LLIMMgr::addMessage(), LLFloaterIMPanel::addTypingIndicator(), LLPrefsChat::apply(), LLFloaterColorPicker::createUI(), LLPanelDeviceSettings::draw(), get_text_color(), idle_startup(), LLFloaterIMPanel::init(), LLAgent::init(), LLHUDText::LLHUDText(), LLIMMgr::noteOfflineUsers(), LLPrefsChatImpl::refresh(), LLPanelGeneral::refresh(), and LLSpeakerMgr::update().

LLColor4U LLControlGroup::getColor4U ( const LLString name  ) 

Definition at line 384 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, TYPE_COL4U, and LLColor4U::white.

Referenced by LLViewerParcelOverlay::updateOverlayTexture(), and LLViewerParcelOverlay::updatePropertyLines().

LLControlBase * LLControlGroup::getControl ( const LLString name  ) 

Definition at line 137 of file llcontrol.cpp.

References mNameTable, and NULL.

Referenced by LLView::findControl(), findString(), getBOOL(), getColor3(), getColor4(), getColor4U(), getF32(), getRect(), getS32(), getString(), getU32(), getVector3(), getVector3d(), LLAgent::init(), LLUI::initClass(), LLNetMap::LLNetMap(), LLViewerWindow::LLViewerWindow(), LLVoiceClient::LLVoiceClient(), loadFromFile(), loadFromFileLegacy(), registerListener(), saved_settings_to_globals(), setBOOL(), setColor4(), setColor4U(), setF32(), setRect(), setS32(), setString(), settings_setup_listeners(), setU32(), setValue(), setVector3(), and setVector3d().

F32 LLControlGroup::getF32 ( const LLString name  ) 

Definition at line 264 of file llcontrol.cpp.

References LLSD::asReal(), CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, and TYPE_F32.

Referenced by add_object(), LLViewerObject::adjustAudioGain(), audio_update_volume(), audio_update_wind(), LLPreviewSound::auditionSound(), LLAgent::calcCameraPositionTargetGlobal(), LLViewerWindow::calcDisplayScale(), LLAgent::changeCameraToCustomizeAvatar(), LLMenuBarGL::checkMenuTrigger(), LLSelectMgr::deselectAllIfTooFar(), LLFloaterLagMeter::determineClient(), LLManipRotate::dragConstrained(), LLFloaterTexturePicker::draw(), LLPieMenu::draw(), LLFolderView::draw(), LLFloaterColorPicker::draw(), LLConsole::draw(), LLScrollListCtrl::drawItems(), LLViewerWindow::getDisplayAspectRatio(), LLSelectMgr::getGrid(), LLNotifyBox::getTemplate(), LLToolsSnapObjectXY::handleEvent(), LLManipTranslate::handleHover(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLScrollListCtrl::handleUnicodeCharHere(), LLFolderView::handleUnicodeCharHere(), idle_startup(), LLVOAvatar::idleUpdate(), LLSky::init(), LLAgent::init(), LLViewerWindow::initBase(), LLViewerWindow::initFonts(), LLDrawPoolTerrain::LLDrawPoolTerrain(), LLPanelDeviceSettings::LLPanelDeviceSettings(), LLSelectMgr::LLSelectMgr(), LLViewerWindow::LLViewerWindow(), LLVLComposition::LLVLComposition(), LLVoiceClient::LLVoiceClient(), LLVOSky::LLVOSky(), LLViewerThrottle::load(), main(), LLViewerTextEditor::openEmbeddedSound(), LLNotifyBox::parseNotify(), LLPanelDisplay::postBuild(), LLPanelAudioPrefs::postBuild(), process_sound_trigger(), LLVOAvatar::processSingleAnimationStateChange(), raycast_for_new_obj_pos(), LLPrefsChatImpl::refresh(), LLPanelNetwork::refresh(), LLPanelInput::refresh(), LLPanelGeneral::refresh(), LLPanelDisplay3::refresh(), LLPanelDisplay2::refresh(), LLPanelDisplay::refresh(), LLManipScale::render(), LLPipeline::renderBloom(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLHUDText::renderText(), LLManipTranslate::renderTranslationHandles(), LLViewerCamera::rotateToLeftEye(), LLViewerCamera::rotateToRightEye(), saved_settings_to_globals(), LLViewerObject::setAttachedSound(), LLStatusBar::setBalance(), LLStatusBar::setHealth(), LLViewerCamera::setPerspective(), LLManip::setupSnapGuideRenderPass(), LLAgent::startCameraAnimation(), ui_audio_callback(), update_statistics(), LLViewerJoystick::updateCamera(), LLVOAvatar::updateCharacter(), LLViewerObject::updateLOD(), LLAgent::updateLookAt(), and LLManipRotate::updateVisiblity().

LLRect LLControlGroup::getRect ( const LLString name  ) 

Definition at line 338 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, LLRectBase< Type >::null, and TYPE_RECT.

Referenced by LLToolPlacerPanel::addButton(), adjust_rect_bottom_center(), adjust_rect_top_left(), adjust_rect_top_right(), LLViewerWindow::adjustRectanglesForFirstUse(), LLFloaterNotRunQueue::create(), LLFloaterRunQueue::create(), LLFloaterResetQueue::create(), LLFloaterCompileQueue::create(), LLEmbeddedNotecardOpener::fire(), LLNewWindow::handleEvent(), LLViewerWindow::initWorldUI(), LLFloaterHtml::LLFloaterHtml(), LLFloaterReleaseMsg::LLFloaterReleaseMsg(), LLPanelContents::onClickNewScript(), open_landmark(), open_notecard(), open_texture(), LLViewerTextEditor::openEmbeddedTexture(), LLTaskAnimationBridge::openItem(), LLTaskNotecardBridge::openItem(), LLTaskLSLBridge::openItem(), LLTaskTextureBridge::openItem(), LLLSLTextBridge::openItem(), LLAnimationBridge::openItem(), LLTaskSoundBridge::openSoundPreview(), LLSoundBridge::openSoundPreview(), LLAnimationBridge::performAction(), LLFloaterRegionInfo::show(), LLFloaterGesture::show(), LLTextureCtrl::showPicker(), LLTaskInvFVBridge::showProperties(), and LLShowProps::showProperties().

S32 LLControlGroup::getS32 ( const LLString name  ) 

Definition at line 238 of file llcontrol.cpp.

References LLSD::asInteger(), CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, and TYPE_S32.

Referenced by LLFeatureManager::applyRecommendedFeatures(), LLPanelDisplay::applyResolution(), LLPanelMsgs::buildLists(), LLViewerWindow::changeDisplaySettings(), LLViewerWindow::checkSettings(), display(), LLTextBox::draw(), LLStatusBar::draw(), LLOverlayBar::draw(), LLModalDialog::draw(), LLMenuGL::draw(), LLHoverView::draw(), LLComboBox::draw(), LLAlertDialog::draw(), LLFolderView::filter(), LLGroupNotifyBox::getGroupNotifyRect(), LLNotifyBox::getNotifyRect(), LLNotifyBox::getNotifyTipRect(), LLViewerWindow::getTargetWindow(), LLVoiceClientPrefsListener::handleEvent(), LLResizeHandle::handleHover(), LLResizeBar::handleHover(), idle_startup(), LLXMLRPCTransaction::Impl::init(), LLPrefsVoiceLogic::init(), init_cache(), LLViewerWindow::initBase(), LLVOAvatar::initClass(), LLOverlayBar::layoutButtons(), LLConsole::LLConsole(), LLDragHandle::LLDragHandle(), LLDrawPoolTerrain::LLDrawPoolTerrain(), LLPanelDebug::LLPanelDebug(), LLPreferenceCore::LLPreferenceCore(), LLToolBrushLand::LLToolBrushLand(), LLViewerPartSim::LLViewerPartSim(), LLViewerWindow::LLViewerWindow(), LLVoiceClient::LLVoiceClient(), load_crash_behavior_setting(), main(), main_loop(), LLToolBrushLand::modifyLandAtPointGlobal(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLFloaterSnapshot::Impl::onCommitResolution(), LLChatBar::onInputEditorKeystroke(), LLPanelAudioPrefs::postBuild(), LLFloaterSnapshot::postBuild(), LLFloaterNameDesc::postBuild(), LLPipeline::postSort(), LLDrawPoolTerrain::prerender(), LLSpatialPartition::processImagery(), LLPrefsChatImpl::refresh(), LLPanelLCD::refresh(), LLPanelInput::refresh(), LLPanelGeneral::refresh(), LLPanelDisplay3::refresh(), LLPanelDisplay2::refresh(), LLToolBrushLand::render(), LLPipeline::renderBloom(), LLPipeline::renderGeom(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), renderScriptedTouchBeacons(), saved_settings_to_globals(), LLComboBox::setAllowTextEntry(), LLComboBox::setButtonVisible(), LLPipeline::setLightingDetail(), LLShaderMgr::setShaders(), LLAlertDialog::show(), update_statistics(), LLViewerJoystick::updateCamera(), LLFloaterSnapshot::Impl::updateControls(), LLManip::updateGridSettings(), LLViewerImageList::updateMaxResidentTexMem(), LLFloaterTools::updatePopup(), and LLFloaterEventLog::updateQuickButtons().

LLString LLControlGroup::getString ( const LLString name  ) 

Definition at line 286 of file llcontrol.cpp.

References LLSD::asString(), CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, LLStringBase< char >::null, and TYPE_STRING.

Referenced by add_object(), LLPanelDirBrowser::addClassified(), LLPanelFriends::addFriend(), LLFloaterScriptDebug::addScriptLine(), LLPrefsIMImpl::apply(), LLEmbeddedItems::bindEmbeddedChars(), LLVoiceClient::connectorCreate(), LLPanelDirBrowser::createLandSale(), LLVoiceRemoteCtrl::draw(), LLProgressView::draw(), LLOverlayBar::draw(), LLHoverView::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLNotifyBox::drawBackground(), get_item_icon_uuid(), LLVOAvatar::getDefaultTEImageID(), LLTaskCategoryBridge::getIcon(), LLFolderBridge::getIcon(), LLItemBridge::getIcon(), LLSoundEvent::getIcon(), LLParticleEvent::getIcon(), LLViewerImageList::getImageFromFile(), LLAgent::getName(), LLPanelDirFindAll::getSearchURLSuffix(), getText(), getWString(), LLVoiceClientPrefsListener::handleEvent(), LLShowFloater::handleEvent(), LLFloaterAvatarList::handleIM(), idle_startup(), LLXMLRPCTransaction::Impl::init(), LLPrefsVoiceLogic::init(), init_audio(), init_cache(), LLWorldMapView::initClass(), LLVOGrass::initClass(), LLViewerWindow::initFonts(), LLFloaterCustomize::initWearablePanels(), LLColorSwatchCtrl::LLColorSwatchCtrl(), LLDrawPoolTerrain::LLDrawPoolTerrain(), LLDrawPoolWater::LLDrawPoolWater(), LLFloaterNetwork2080::LLFloaterNetwork2080(), LLFolderViewItem::LLFolderViewItem(), LLGroupNotifyBox::LLGroupNotifyBox(), LLPanelDeviceSettings::LLPanelDeviceSettings(), LLToolGun::LLToolGun(), LLViewerParcelMgr::LLViewerParcelMgr(), LLViewerPartSourceScript::LLViewerPartSourceScript(), LLViewerWindow::LLViewerWindow(), LLVisualParamHint::LLVisualParamHint(), LLVLComposition::LLVLComposition(), LLVOAvatar::LLVOAvatar(), LLVoiceClient::LLVoiceClient(), LLVoiceVisualizer::LLVoiceVisualizer(), load_password_from_disk(), LLUI::locateSkin(), main(), LLPanelDirFindAll::navigateToDefaultPage(), LLFloaterCustomize::onBtnSnapshot(), LLPanelNetwork::onClickResetCache(), LLPanelNetwork::onClickSetCache(), LLScriptEdCore::onHelpComboCommit(), LLViewerWindow::playSnapshotAnimAndSound(), LLPanelGeneral::postBuild(), LLPanelFace::postBuild(), LLPanelDirLand::postBuild(), LLFloaterSaveAvatar::postBuild(), LLPanelLandObjects::postBuild(), LLPanelEditWearable::postBuild(), LLPanelDirBrowser::processDirEventsReply(), LLPanelDirBrowser::processDirGroupsReply(), LLPanelDirBrowser::processDirPeopleReply(), LLPanelDirBrowser::processDirPopularReply(), LLVOAvatar::processSingleAnimationStateChange(), LLPrefsIMImpl::refresh(), LLPanelGeneral::refresh(), LLPanelDatabase::refresh(), LLFloaterAvatarList::refreshAvatarList(), LLPanelActiveSpeakers::refreshSpeakers(), LLVOCloth::render(), LLPipeline::renderGeom(), LLFace::renderSelectedUV(), LLHUDText::renderText(), LLManip::renderXYZ(), LLFloaterAvatarList::requestMiscInfo(), LLStandardBumpmap::restoreGL(), LLPanelDirFindAll::search(), send_stats(), LLViewChildren::setBadge(), LLFloaterSellLandUI::setBadge(), LLScriptEdCore::setHelpPage(), LLPrefsIMImpl::setPersonalInfo(), LLUICtrlFactory::setupPaths(), LLVoiceClient::stateMachine(), LLAgentPilot::stopRecord(), LLFloaterDirectory::toggleFind(), LLViewerObject::unpackParticleSource(), LLViewerPartSourceChat::update(), LLViewerPartSourceBeam::update(), LLViewerPartSourceSpiral::update(), LLSelectMgr::updateSilhouettes(), and LLVoiceClient::userAuthorized().

LLString LLControlGroup::getText ( const LLString name  ) 

Definition at line 304 of file llcontrol.cpp.

References getString(), and LLStringBase< char >::replaceChar().

Referenced by busy_message(), and process_improved_im().

U32 LLControlGroup::getU32 ( const LLString name  ) 

Definition at line 251 of file llcontrol.cpp.

References LLSD::asInteger(), CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, and TYPE_U32.

Referenced by LLViewerInventoryCategory::fetchDescendents(), idle_startup(), LLInventoryView::init(), init_cache(), LLInventoryFilter::LLInventoryFilter(), LLPanelEditWearable::onCommitSexChange(), LLInventoryPanel::postBuild(), LLTextureCache::purgeTextures(), LLPanelNetwork::refresh(), saved_settings_to_globals(), LLVoiceClient::stateMachine(), and LLFloaterEventLog::updateList().

LLSD LLControlGroup::getValue ( const LLString name  ) 

LLVector3 LLControlGroup::getVector3 ( const LLString name  ) 

Definition at line 312 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, TYPE_VEC3, and LLVector3::zero.

Referenced by LLAgent::calcFocusPositionTargetGlobal(), LLSky::init(), LLAgent::init(), and LLVOSky::LLVOSky().

LLVector3d LLControlGroup::getVector3d ( const LLString name  ) 

Definition at line 325 of file llcontrol.cpp.

References CONTROL_ERRS, LLControlBase::get(), getControl(), LLControlBase::isType(), llendl, TYPE_VEC3D, and LLVector3d::zero.

Referenced by idle_startup().

BOOL LLControlGroup::getWarning ( const LLString name  ) 

Definition at line 1252 of file llcontrol.cpp.

References getBOOL().

Referenced by LLAlertDialogTemplate::getIgnore(), LLAudioStreamMediaListener::handleEvent(), main(), optionally_prepare_video(), optionally_start_music(), LLViewerParcelMgr::processParcelProperties(), LLPanelPermissions::refresh(), LLAlertDialog::show(), LLFirstUse::useAppearance(), LLFirstUse::useBalanceDecrease(), LLFirstUse::useBalanceIncrease(), LLFirstUse::useBuild(), LLFirstUse::useDebugMenus(), LLFirstUse::useFlexible(), LLFirstUse::useInventory(), LLFirstUse::useLeftClickNoHit(), LLFirstUse::useMap(), LLFirstUse::useOverrideKeys(), LLFirstUse::useSandbox(), LLFirstUse::useSculptedPrim(), LLFirstUse::useSit(), LLFirstUse::useTeleport(), LLFirstUse::useVoice(), and LLAlertDialog::~LLAlertDialog().

LLWString LLControlGroup::getWString ( const LLString name  ) 

Definition at line 299 of file llcontrol.cpp.

References getString(), and utf8str_to_wstring().

U32 LLControlGroup::loadFromFile ( const LLString filename,
BOOL  require_declaration = TRUE,
eControlType  declare_as = TYPE_STRING 
)

Definition at line 830 of file llcontrol.cpp.

References bottom, controlExists(), CURRENT_VERSION, declareColor4(), declareColor4U(), declareString(), FALSE, LLXmlTreeNode::getAttributeBOOL(), LLXmlTreeNode::getAttributeColor4(), LLXmlTreeNode::getAttributeColor4U(), LLXmlTreeNode::getAttributeF32(), LLXmlTreeNode::getAttributeS32(), LLXmlTreeNode::getAttributeString(), LLXmlTreeNode::getAttributeU32(), LLXmlTreeNode::getAttributeVector3(), LLXmlTreeNode::getAttributeVector3d(), getControl(), LLXmlTreeNode::getFirstChild(), LLXmlTreeNode::getName(), LLXmlTreeNode::getNextChild(), LLXmlTree::getRoot(), LLColor4::getValue(), LLColor4U::getValue(), LLRectBase< Type >::getValue(), LLVector3d::getValue(), LLVector3::getValue(), LLXmlTreeNode::hasAttribute(), height, left, llassert, llendl, llinfos, llwarns, LLControlBase::mType, LLVector3::mV, NO_PERSIST, LLStringBase< char >::null, LLXmlTree::parseFile(), S32, LLControlBase::set(), LLRectBase< Type >::setOriginAndSize(), TYPE_BOOLEAN, TYPE_COL3, TYPE_COL4, TYPE_COL4U, TYPE_F32, TYPE_RECT, TYPE_S32, TYPE_STRING, TYPE_U32, TYPE_VEC3, TYPE_VEC3D, LLColor4U::white, LLColor4::white, and width.

Referenced by handle_reload_settings(), idle_startup(), load_crash_behavior_setting(), main(), and reload_personal_settings_overrides().

U32 LLControlGroup::loadFromFileLegacy ( const LLString filename,
BOOL  require_declaration = TRUE,
eControlType  declare_as = TYPE_STRING 
)

Definition at line 601 of file llcontrol.cpp.

References blue, bottom, CURRENT_VERSION, declareColor4(), declareColor4U(), declareString(), FALSE, getControl(), LLColor3::getValue(), LLColor4::getValue(), LLColor4U::getValue(), LLRectBase< Type >::getValue(), LLVector3d::getValue(), LLVector3::getValue(), green, height, left, llassert, llendl, llifstream, llinfos, llwarns, MAX_STRING, mNameTable, LLControlBase::mType, LLColor3::mV, LLColor4::mV, NO_PERSIST, LLStringBase< char >::null, red, S32, LLControlBase::set(), LLRectBase< Type >::setOriginAndSize(), LLColor4U::setVec(), TRUE, TYPE_BOOLEAN, TYPE_COL3, TYPE_COL4, TYPE_COL4U, TYPE_F32, TYPE_RECT, TYPE_S32, TYPE_STRING, TYPE_U32, TYPE_VEC3, TYPE_VEC3D, VALPHA, VBLUE, VGREEN, VRED, LLColor4U::white, LLColor4::white, width, x, y, and z.

Referenced by main().

LLSD LLControlGroup::registerListener ( const LLString name,
LLSimpleListenerObservable listener 
)

Definition at line 215 of file llcontrol.cpp.

References getControl(), and LLControlBase::registerListener().

void LLControlGroup::resetToDefaults (  ) 

Definition at line 1225 of file llcontrol.cpp.

References mNameTable.

Referenced by handle_reload_settings().

void LLControlGroup::resetWarnings (  ) 

Definition at line 1264 of file llcontrol.cpp.

References mWarnings, setBOOL(), and TRUE.

U32 LLControlGroup::saveToFile ( const LLString filename,
BOOL  skip_if_default 
)

Definition at line 1033 of file llcontrol.cpp.

References LLLinkedList< DATA_TYPE >::addDataSorted(), CONTROL_ERRS, control_insert_before(), CURRENT_VERSION, LLSDXMLFormatter::escapeString(), LLLinkedList< DATA_TYPE >::getFirstData(), LLLinkedList< DATA_TYPE >::getLength(), LLLinkedList< DATA_TYPE >::getNextData(), llendl, llinfos, llofstream, llwarns, LLControlBase::mIsDefault, mNameTable, LLControlBase::mPersist, NULL, S32, LLLinkedList< DATA_TYPE >::setInsertBefore(), TYPE_BOOLEAN, TYPE_COL3, TYPE_COL4, TYPE_F32, TYPE_RECT, TYPE_S32, TYPE_STRING, TYPE_U32, TYPE_VEC3, TYPE_VEC3D, VALPHA, VBLUE, VGREEN, VRED, VX, VY, and VZ.

Referenced by cleanup_app(), idle_startup(), LLViewerWindow::LLViewerWindow(), login_callback(), main(), LLFloaterPreference::onBtnOK(), save_crash_behavior_setting(), and update_app().

void LLControlGroup::setBOOL ( const LLString name,
BOOL  val 
)

Definition at line 433 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_BOOLEAN.

Referenced by LLFloaterChatterBox::addFloater(), LLPrefsIMImpl::apply(), LLPanelDebug::apply(), LLFeatureManager::applyRecommendedFeatures(), callback_prepare_video(), callback_start_music(), LLPrefsVoiceLogic::cancel(), LLPrefsIMImpl::cancel(), LLPrefsChatImpl::cancel(), LLPanelWeb::cancel(), LLPanelNetwork::cancel(), LLPanelMsgs::cancel(), LLPanelLCD::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), LLPanelDisplay3::cancel(), LLPanelDisplay2::cancel(), LLPanelDisplay::cancel(), LLPanelAudioPrefs::cancel(), LLAgent::changeCameraToCustomizeAvatar(), LLAgent::changeCameraToFollow(), LLAgent::changeCameraToMouselook(), LLAgent::changeCameraToThirdPerson(), LLViewerWindow::changeDisplaySettings(), check_toggle_control(), cleanup_saved_settings(), click_popup_dozer_mode(), commit_select_component(), commit_select_tool(), disconnect_viewer(), display(), fixup_settings(), handle_show_overlay_title(), LLToolSelectLand::handleDeselect(), LLToolBrushLand::handleDeselect(), LLViewToggleBeacon::handleEvent(), LLToolsShowSelectionLightRadius::handleEvent(), LLToolsShowHiddenSelection::handleEvent(), LLToolsSelectBySurrounding::handleEvent(), LLToolsSelectOnlyMovableObjects::handleEvent(), LLToolsSelectOnlyMyObjects::handleEvent(), LLToggleControl::handleEvent(), LLViewDefaultUISize::handleEvent(), LLToolSelect::handleObjectSelection(), LLToolSelectLand::handleSelect(), LLToolBrushLand::handleSelect(), idle_startup(), init_cache(), LLFloaterTools::LLFloaterTools(), LLViewerWindow::LLViewerWindow(), login_callback(), main(), menu_toggle_control(), LLFloaterTexturePicker::onApplyImmediateCheck(), LLVoiceRemoteCtrl::onBtnLock(), LLScriptEdCore::onCheckLock(), LLFloaterSnapshot::Impl::onClickAutoSnap(), LLPanelNetwork::onClickClearCache(), LLFloaterSnapshot::Impl::onClickHUDCheck(), LLFloaterSnapshot::Impl::onClickKeepAspectCheck(), LLFloaterSnapshot::Impl::onClickKeepOpenCheck(), LLFloaterSnapshot::Impl::onClickUICheck(), LLFloaterMove::onClose(), LLInventoryView::onClose(), LLFloaterTools::onClose(), LLFloaterMap::onClose(), LLFloaterClothing::onClose(), LLFloaterChatterBox::onClose(), LLFloaterChat::onClose(), LLFloaterCamera::onClose(), LLFloaterSnapshot::Impl::onCommitFreezeFrame(), LLFloaterVoiceWizard::onCommitVoiceEnable(), LLFloaterColorPicker::onImmediateCheck(), LLFloaterChatterBox::onOpen(), LLViewerRequiredVoiceVersion::post(), LLPanelDisplay2::postBuild(), LLToolBar::refresh(), LLFloaterChatterBox::removeFloater(), resetWarnings(), LLViewerWindow::reshape(), save_final_snapshot(), saved_settings_to_globals(), LLSelectMgr::selectObjectAndFamily(), LLSavedSettingsGlue::setBOOL(), LLAgent::setFlying(), LLFloaterTools::setObjectType(), LLShaderMgr::setShaders(), LLManipScale::setShowAxes(), LLManipScale::setStretchTextures(), LLURLSimString::setString(), LLManipScale::setUniform(), LLInventoryView::setVisible(), LLFloaterWorldMap::setVisible(), LLFloaterMap::setVisible(), LLFloaterDirectory::setVisible(), LLFloaterChat::setVisible(), LLChatBar::setVisible(), setWarning(), LLFloaterMove::show(), LLFloaterClothing::show(), LLFloaterCamera::show(), LLInventoryView::showAgentInventory(), LLFloaterTools::showMore(), LLChatBar::startChat(), LLToolBar::toggle(), toggle_debug_menus(), toggle_map(), toggle_show_xui_names(), LLInventoryView::toggleVisibility(), LLViewerJointMesh::updateGeometry(), LLFloaterSnapshot::Impl::updateLayout(), user_logout(), velocity_interpolate(), LLFloaterDirectory::~LLFloaterDirectory(), LLFloaterLagMeter::~LLFloaterLagMeter(), LLFloaterSnapshot::~LLFloaterSnapshot(), and LLStatView::~LLStatView().

void LLControlGroup::setColor3 ( const LLString name,
const LLColor3 val 
)

void LLControlGroup::setColor4 ( const LLString name,
const LLColor4 val 
)

Definition at line 564 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLColor4::getValue(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_COL4.

Referenced by LLPrefsChatImpl::cancel(), LLPanelGeneral::cancel(), and LLFloaterColorPicker::handleMouseUp().

void LLControlGroup::setColor4U ( const LLString name,
const LLColor4U val 
)

Definition at line 550 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLColor4U::getValue(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_COL4U.

void LLControlGroup::setF32 ( const LLString name,
F32  val 
)

Definition at line 463 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_F32.

Referenced by LLPanelDeviceSettings::apply(), LLFeatureManager::applyRecommendedFeatures(), LLPanelDisplay::applyResolution(), LLPrefsChatImpl::cancel(), LLPanelNetwork::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), LLPanelDisplay3::cancel(), LLPanelDisplay2::cancel(), LLPanelDisplay::cancel(), LLPanelAudioPrefs::cancel(), cleanup_saved_settings(), LLViewDefaultUISize::handleEvent(), LLViewerThrottle::save(), LLSavedSettingsGlue::setF32(), and LLViewerThrottle::setMaxBandwidth().

void LLControlGroup::setRect ( const LLString name,
const LLRect val 
)

Definition at line 536 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLRectBase< Type >::getValue(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_RECT.

Referenced by adjust_rect_bottom_center(), adjust_rect_top_left(), adjust_rect_top_right(), LLViewerWindow::adjustRectanglesForFirstUse(), LLViewerWindow::initWorldUI(), LLLiveLSLEditor::reshape(), LLPreviewLSL::reshape(), LLPreviewNotecard::reshape(), LLFloaterGesture::~LLFloaterGesture(), LLFloaterHtml::~LLFloaterHtml(), and LLFloaterReleaseMsg::~LLFloaterReleaseMsg().

void LLControlGroup::setS32 ( const LLString name,
S32  val 
)

Definition at line 448 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_S32.

Referenced by LLFeatureManager::applyRecommendedFeatures(), LLPrefsVoiceLogic::cancel(), LLPrefsChatImpl::cancel(), LLPanelLCD::cancel(), LLPanelInput::cancel(), LLPanelGeneral::cancel(), LLPanelDisplay3::cancel(), LLPanelDisplay2::cancel(), LLPanelAudioPrefs::cancel(), LLViewerWindow::changeDisplaySettings(), cleanup_saved_settings(), click_dozer_size(), click_popup_dozer_mode(), click_popup_dozer_size(), idle_startup(), init_cache(), LLSelectMgr::LLSelectMgr(), LLViewerWindow::LLViewerWindow(), main(), LLFloaterSnapshot::Impl::onCommitCustomResolution(), LLFloaterSnapshot::Impl::onCommitResolution(), LLFloaterSnapshot::Impl::onCommitSnapshotType(), LLPrefsVoiceLogic::onEarLocationCommit(), LLPreferenceCore::onTabChanged(), LLViewerWindow::reshape(), save_crash_behavior_setting(), set_crash_behavior(), LLSelectMgr::setGridMode(), LLPipeline::setLightingDetail(), LLSavedSettingsGlue::setS32(), LLShaderMgr::setShaders(), LLSnapshotLivePreview::setSnapshotQuality(), LLViewerImageList::updateMaxResidentTexMem(), LLAlertDialog::~LLAlertDialog(), and LLViewerWindow::~LLViewerWindow().

void LLControlGroup::setString ( const LLString name,
const LLString val 
)

Definition at line 493 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_STRING.

Referenced by LLPrefsIMImpl::apply(), LLPanelDatabase::apply(), LLPanelDeviceSettings::apply(), LLPrefsVoiceLogic::cancel(), LLPrefsIMImpl::cancel(), LLPanelGeneral::cancel(), LLPanelDeviceSettings::cancel(), idle_startup(), init_cache(), load_password_from_disk(), main(), LLPanelLogin::onClickConnect(), LLPanelNetwork::onClickResetCache(), LLPanelNetwork::onClickSetCache(), LLPrefsVoiceLogic::onClickSetMiddleMouse(), LLFloaterSaveAvatar::onSave(), LLFloaterDirectory::onTabChanged(), set_language(), LLPrefsVoiceLogic::setKey(), LLSavedSettingsGlue::setString(), update_dialog_callback(), and LLFloaterNetwork2080::viewerCommCallback().

void LLControlGroup::setU32 ( const LLString name,
U32  val 
)

Definition at line 478 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_U32.

Referenced by LLUndoWearable::applyUndoRedo(), LLPanelNetwork::cancel(), cleanup_app(), idle_startup(), init_cache(), LLFloaterCustomize::LLFloaterCustomize(), LLPanelEditWearable::onBtnRandomize(), LLTextureCache::purgeTextures(), saved_settings_to_globals(), LLSavedSettingsGlue::setU32(), LLFloaterCustomize::setWearable(), and LLInventoryPanel::~LLInventoryPanel().

void LLControlGroup::setValue ( const LLString name,
const LLSD val 
)

Definition at line 578 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), llendl, and LLControlBase::set().

Referenced by LLView::setControlValue().

void LLControlGroup::setVector3 ( const LLString name,
const LLVector3 val 
)

Definition at line 508 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLVector3::getValue(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_VEC3.

Referenced by LLToolGun::handleHover().

void LLControlGroup::setVector3d ( const LLString name,
const LLVector3d val 
)

Definition at line 522 of file llcontrol.cpp.

References CONTROL_ERRS, getControl(), LLVector3d::getValue(), LLControlBase::isType(), llendl, LLControlBase::set(), and TYPE_VEC3D.

Referenced by save_final_snapshot().

void LLControlGroup::setWarning ( const LLString name,
BOOL  val 
)

Definition at line 1258 of file llcontrol.cpp.

References setBOOL().

Referenced by callback_prepare_video(), callback_start_music(), LLFirstUse::disableFirstUse(), LLAudioStreamMediaListener::handleEvent(), main(), LLPanelMsgs::onClickEnablePopup(), LLViewerParcelMgr::processParcelProperties(), LLFirstUse::resetFirstUse(), LLAlertDialogTemplate::setIgnore(), LLFirstUse::useAppearance(), LLFirstUse::useBalanceDecrease(), LLFirstUse::useBalanceIncrease(), LLFirstUse::useBuild(), LLFirstUse::useDebugMenus(), LLFirstUse::useFlexible(), LLFirstUse::useInventory(), LLFirstUse::useLeftClickNoHit(), LLFirstUse::useMap(), LLFirstUse::useOverrideKeys(), LLFirstUse::useSandbox(), LLFirstUse::useSculptedPrim(), LLFirstUse::useSit(), LLFirstUse::useTeleport(), LLFirstUse::useVoice(), and LLAlertDialog::~LLAlertDialog().


Member Data Documentation

ctrl_name_table_t LLControlGroup::mNameTable

Definition at line 201 of file llcontrol.h.

Referenced by addWarning(), applyOverrides(), cleanup(), controlExists(), declareControl(), getColor(), getControl(), loadFromFileLegacy(), LLFloaterSettingsDebug::postBuild(), resetToDefaults(), and saveToFile().

std::set<LLString> LLControlGroup::mWarnings

Definition at line 202 of file llcontrol.h.

Referenced by addWarning(), and resetWarnings().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7