#include "llviewerprecompiledheaders.h"
#include "llfloatertools.h"
#include "llfontgl.h"
#include "llcoord.h"
#include "llgl.h"
#include "llagent.h"
#include "llbutton.h"
#include "llcheckboxctrl.h"
#include "llcombobox.h"
#include "lldraghandle.h"
#include "llfloaterbuildoptions.h"
#include "llfloateropenobject.h"
#include "llfocusmgr.h"
#include "llmenugl.h"
#include "llpanelcontents.h"
#include "llpanelface.h"
#include "llpanelland.h"
#include "llpanelinventory.h"
#include "llpanelobject.h"
#include "llpanelvolume.h"
#include "llpanelpermissions.h"
#include "llselectmgr.h"
#include "llstatusbar.h"
#include "lltabcontainer.h"
#include "lltextbox.h"
#include "lltoolbrush.h"
#include "lltoolcomp.h"
#include "lltooldraganddrop.h"
#include "lltoolface.h"
#include "lltoolfocus.h"
#include "lltoolgrab.h"
#include "lltoolindividual.h"
#include "lltoolmgr.h"
#include "lltoolpie.h"
#include "lltoolpipette.h"
#include "lltoolplacer.h"
#include "lltoolselectland.h"
#include "llui.h"
#include "llviewermenu.h"
#include "llviewerparcelmgr.h"
#include "llviewerwindow.h"
#include "llviewercontrol.h"
#include "llviewerjoystick.h"
#include "lluictrlfactory.h"
Go to the source code of this file.
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 llfloatertools.cpp.
void click_apply_to_selection | ( | void * | user | ) |
Definition at line 942 of file llfloatertools.cpp.
References LLSingleton< LLToolBrushLand >::getInstance(), and LLToolBrushLand::modifyLandInSelectionGlobal().
Referenced by LLFloaterTools::postBuild().
void click_dozer_size | ( | LLUICtrl * | ctrl, | |
void * | user | |||
) |
Definition at line 936 of file llfloatertools.cpp.
References gSavedSettings, S32, and LLControlGroup::setS32().
Referenced by LLFloaterTools::postBuild().
void click_popup_done | ( | void * | ) |
Definition at line 851 of file llfloatertools.cpp.
References handle_reset_view().
void click_popup_dozer_mode | ( | LLUICtrl * | , | |
void * | user | |||
) |
Definition at line 921 of file llfloatertools.cpp.
References LLControlGroup::getBOOL(), LLSingleton< LLToolBrushLand >::getInstance(), gSavedSettings, S32, LLControlGroup::setBOOL(), LLFloaterTools::setEditTool(), and LLControlGroup::setS32().
Referenced by LLFloaterTools::postBuild().
void click_popup_dozer_size | ( | LLUICtrl * | , | |
void * | user | |||
) |
Definition at line 930 of file llfloatertools.cpp.
References gSavedSettings, S32, and LLControlGroup::setS32().
void click_popup_grab_drag | ( | LLUICtrl * | , | |
void * | ||||
) |
Definition at line 856 of file llfloatertools.cpp.
References FALSE, gGrabBtnSpin, and gGrabBtnVertical.
Referenced by LLFloaterTools::postBuild().
void click_popup_grab_lift | ( | LLUICtrl * | , | |
void * | ||||
) |
Definition at line 862 of file llfloatertools.cpp.
References FALSE, gGrabBtnSpin, gGrabBtnVertical, and TRUE.
Referenced by LLFloaterTools::postBuild().
void click_popup_grab_spin | ( | LLUICtrl * | , | |
void * | ||||
) |
Definition at line 868 of file llfloatertools.cpp.
References FALSE, gGrabBtnSpin, gGrabBtnVertical, and TRUE.
Referenced by LLFloaterTools::postBuild().
void click_popup_info | ( | void * | ) |
Definition at line 846 of file llfloatertools.cpp.
void click_popup_minimize | ( | void * | ) |
void click_popup_rotate_left | ( | void * | ) |
Definition at line 902 of file llfloatertools.cpp.
References dialog_refresh_all(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionRotateAroundZ().
void click_popup_rotate_reset | ( | void * | ) |
Definition at line 908 of file llfloatertools.cpp.
References dialog_refresh_all(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionResetRotation().
void click_popup_rotate_right | ( | void * | ) |
Definition at line 914 of file llfloatertools.cpp.
References dialog_refresh_all(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::selectionRotateAroundZ().
void click_show_more | ( | void * | userdata | ) |
Definition at line 839 of file llfloatertools.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, and LLFloaterTools::showMore().
Referenced by LLFloaterTools::postBuild().
void commit_grid_mode | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) |
Definition at line 978 of file llfloatertools.cpp.
References LLComboBox::getCurrentIndex(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::setGridMode().
Referenced by LLFloaterTools::postBuild().
void commit_radio_orbit | ( | LLUICtrl * | , | |
void * | ||||
) |
Definition at line 881 of file llfloatertools.cpp.
References FALSE, gCameraBtnOrbit, gCameraBtnPan, gCameraBtnZoom, and TRUE.
Referenced by LLFloaterTools::postBuild().
void commit_radio_pan | ( | LLUICtrl * | , | |
void * | ||||
) |
Definition at line 888 of file llfloatertools.cpp.
References FALSE, gCameraBtnOrbit, gCameraBtnPan, gCameraBtnZoom, and TRUE.
Referenced by LLFloaterTools::postBuild().
void commit_radio_zoom | ( | LLUICtrl * | , | |
void * | ||||
) |
Definition at line 874 of file llfloatertools.cpp.
References FALSE, gCameraBtnOrbit, gCameraBtnPan, gCameraBtnZoom, and TRUE.
Referenced by LLFloaterTools::postBuild().
void commit_select_component | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) |
Definition at line 954 of file llfloatertools.cpp.
References LLFocusMgr::childHasKeyboardFocus(), LLSelectMgr::demoteSelectionToIndividuals(), LLFloaterTools::dirty(), LLCheckBoxCtrl::get(), LLSingleton< LLSelectMgr >::getInstance(), gFocusMgr, gSavedSettings, LLFloaterTools::mCheckSelectIndividual, NULL, LLSelectMgr::promoteSelectionToRoot(), LLControlGroup::setBOOL(), and LLFocusMgr::setKeyboardFocus().
Referenced by LLFloaterTools::postBuild().
void commit_select_tool | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) |
Definition at line 947 of file llfloatertools.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, S32, LLControlGroup::setBOOL(), and LLFloaterTools::setEditTool().
Referenced by LLFloaterTools::postBuild().
void commit_slider_zoom | ( | LLUICtrl * | ctrl, | |
void * | ||||
) |
Definition at line 895 of file llfloatertools.cpp.
References LLSD::asReal(), gAgent, LLUICtrl::getValue(), and LLAgent::setCameraZoomFraction().
Referenced by LLFloaterTools::postBuild().
LLFloaterTools* gFloaterTools = NULL |
Definition at line 82 of file llfloatertools.cpp.
Referenced by LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), dialog_refresh_all(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropScript(), LLAgent::endAnimationUpdateUI(), LLToolIndividual::handleDoubleClick(), LLToolFace::handleDoubleClick(), LLToolCompRotate::handleDoubleClick(), LLToolCompScale::handleDoubleClick(), LLToolCompTranslate::handleDoubleClick(), LLToolsUseSelectionForGrid::handleEvent(), LLLandEdit::handleEvent(), LLObjectEdit::handleEvent(), LLViewerWindow::handlePerFrameHover(), LLToolSelectLand::handleSelect(), LLToolPlacer::handleSelect(), LLToolGrab::handleSelect(), LLToolCamera::handleSelect(), LLToolBrushLand::handleSelect(), LLManipTranslate::handleSelect(), LLManipScale::handleSelect(), LLManipRotate::handleSelect(), LLViewerWindow::hitObjectOrLandGlobalAsync(), LLViewerWindow::initWorldUI(), LLViewerParcelOverlay::renderPropertyLines(), reset_view_final(), LLFloaterTelehub::show(), update_statistics(), LLFloaterInspect::~LLFloaterInspect(), and LLViewerWindow::~LLViewerWindow().
const LLString PANEL_NAMES[LLFloaterTools::PANEL_COUNT] |