llfloatertools.cpp File Reference

The edit tools, including move, position, land, etc. More...

#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 "lltoolselect.h"
#include "lltoolselectland.h"
#include "llui.h"
#include "llviewermenu.h"
#include "llviewerparcelmgr.h"
#include "llviewerwindow.h"
#include "llviewercontrol.h"
#include "viewer.h"
#include "llvieweruictrlfactory.h"

Include dependency graph for llfloatertools.cpp:

Go to the source code of this file.

Functions

void commit_select_tool (LLUICtrl *ctrl, void *data)
void commit_select_component (LLUICtrl *ctrl, void *data)
void click_show_more (void *)
void click_popup_info (void *)
void click_popup_done (void *)
void click_popup_minimize (void *)
void click_popup_grab_drag (LLUICtrl *, void *)
void click_popup_grab_lift (LLUICtrl *, void *)
void click_popup_grab_spin (LLUICtrl *, void *)
void click_popup_rotate_left (void *)
void click_popup_rotate_reset (void *)
void click_popup_rotate_right (void *)
void click_popup_dozer_mode (LLUICtrl *, void *user)
void click_popup_dozer_size (LLUICtrl *, void *user)
void click_dozer_size (LLUICtrl *, void *)
void click_apply_to_selection (void *)
void commit_radio_zoom (LLUICtrl *, void *)
void commit_radio_orbit (LLUICtrl *, void *)
void commit_radio_pan (LLUICtrl *, void *)
void commit_grid_mode (LLUICtrl *, void *)
void commit_slider_zoom (LLUICtrl *, void *)

Variables

LLFloaterToolsgFloaterTools = NULL
const LLString PANEL_NAMES [LLFloaterTools::PANEL_COUNT]


Detailed Description

The edit tools, including move, position, land, etc.

LicenseInfo
firstyear=2002&license=viewergpl

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


Function Documentation

void click_apply_to_selection ( void  ) 

Definition at line 927 of file llfloatertools.cpp.

References gToolLand, and LLToolBrushLand::modifyLandInSelectionGlobal().

Referenced by LLFloaterTools::postBuild().

void click_dozer_size ( LLUICtrl ,
void  
)

Definition at line 921 of file llfloatertools.cpp.

References gSavedSettings, S32, LLControlGroup::setS32(), and size.

Referenced by LLFloaterTools::postBuild().

void click_popup_done ( void  ) 

Definition at line 839 of file llfloatertools.cpp.

References handle_reset_view().

void click_popup_dozer_mode ( LLUICtrl ,
void user 
)

Definition at line 906 of file llfloatertools.cpp.

References LLControlGroup::getBOOL(), gFloaterTools, gSavedSettings, gToolLand, mode, S32, LLControlGroup::setBOOL(), LLFloaterTools::setEditTool(), and LLControlGroup::setS32().

Referenced by LLFloaterTools::postBuild().

void click_popup_dozer_size ( LLUICtrl ,
void user 
)

Definition at line 915 of file llfloatertools.cpp.

References gSavedSettings, S32, LLControlGroup::setS32(), and size.

void click_popup_grab_drag ( LLUICtrl ,
void  
)

Definition at line 844 of file llfloatertools.cpp.

References FALSE, gGrabBtnSpin, and gGrabBtnVertical.

Referenced by LLFloaterTools::postBuild().

void click_popup_grab_lift ( LLUICtrl ,
void  
)

Definition at line 850 of file llfloatertools.cpp.

References FALSE, gGrabBtnSpin, gGrabBtnVertical, and TRUE.

Referenced by LLFloaterTools::postBuild().

void click_popup_grab_spin ( LLUICtrl ,
void  
)

Definition at line 856 of file llfloatertools.cpp.

References FALSE, gGrabBtnSpin, gGrabBtnVertical, and TRUE.

Referenced by LLFloaterTools::postBuild().

void click_popup_info ( void  ) 

Definition at line 834 of file llfloatertools.cpp.

void click_popup_minimize ( void  ) 

void click_popup_rotate_left ( void  ) 

Definition at line 887 of file llfloatertools.cpp.

References dialog_refresh_all(), f, gSelectMgr, and LLSelectMgr::selectionRotateAroundZ().

void click_popup_rotate_reset ( void  ) 

Definition at line 893 of file llfloatertools.cpp.

References dialog_refresh_all(), gSelectMgr, and LLSelectMgr::selectionResetRotation().

void click_popup_rotate_right ( void  ) 

Definition at line 899 of file llfloatertools.cpp.

References dialog_refresh_all(), f, gSelectMgr, and LLSelectMgr::selectionRotateAroundZ().

void click_show_more ( void  ) 

Definition at line 827 of file llfloatertools.cpp.

References f, LLControlGroup::getBOOL(), and gSavedSettings.

Referenced by LLFloaterTools::postBuild().

void commit_grid_mode ( LLUICtrl ,
void  
)

Definition at line 963 of file llfloatertools.cpp.

References LLComboBox::getCurrentIndex(), gSelectMgr, and LLSelectMgr::setGridMode().

Referenced by LLFloaterTools::postBuild().

void commit_radio_orbit ( LLUICtrl ,
void  
)

Definition at line 868 of file llfloatertools.cpp.

References FALSE, gCameraBtnOrbit, gCameraBtnPan, and TRUE.

Referenced by LLFloaterTools::postBuild().

void commit_radio_pan ( LLUICtrl ,
void  
)

Definition at line 874 of file llfloatertools.cpp.

References FALSE, gCameraBtnOrbit, gCameraBtnPan, and TRUE.

Referenced by LLFloaterTools::postBuild().

void commit_radio_zoom ( LLUICtrl ,
void  
)

Definition at line 862 of file llfloatertools.cpp.

References FALSE, gCameraBtnOrbit, and gCameraBtnPan.

void commit_select_component ( LLUICtrl ctrl,
void data 
)

Definition at line 939 of file llfloatertools.cpp.

References LLFocusMgr::childHasKeyboardFocus(), LLSelectMgr::demoteSelectionToIndividuals(), gFocusMgr, gSavedSettings, gSelectMgr, NULL, LLSelectMgr::promoteSelectionToRoot(), LLControlGroup::setBOOL(), and LLFocusMgr::setKeyboardFocus().

Referenced by LLFloaterTools::postBuild().

void commit_select_tool ( LLUICtrl ctrl,
void data 
)

Definition at line 932 of file llfloatertools.cpp.

References LLControlGroup::getBOOL(), gFloaterTools, gSavedSettings, S32, LLControlGroup::setBOOL(), and LLFloaterTools::setEditTool().

Referenced by LLFloaterTools::postBuild().

void commit_slider_zoom ( LLUICtrl ,
void  
)

Definition at line 880 of file llfloatertools.cpp.

References LLSD::asReal(), gAgent, LLUICtrl::getValue(), and LLAgent::setCameraZoomFraction().

Referenced by LLFloaterTools::postBuild().


Variable Documentation

LLFloaterTools* gFloaterTools = NULL

Definition at line 84 of file llfloatertools.cpp.

Referenced by click_popup_dozer_mode(), commit_select_tool(), 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(), reset_view_final(), LLFloaterTelehub::show(), update_statistics(), LLFloaterInspect::~LLFloaterInspect(), and LLViewerWindow::~LLViewerWindow().

const LLString PANEL_NAMES[LLFloaterTools::PANEL_COUNT]

Initial value:

{
        LLString("General"),    
        LLString("Object"),     
        LLString("Features"),   
        LLString("Texture"),    
        LLString("Content"),    
}

Definition at line 87 of file llfloatertools.cpp.

Referenced by LLFloaterTools::refresh(), and LLFloaterTools::showPanel().


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