LLFloaterTools Class Reference

#include <llfloatertools.h>

Inheritance diagram for LLFloaterTools:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterTools:

Collaboration graph
[legend]

List of all members.

Public Types

enum  EInfoPanel {
  PANEL_GENERAL = 0, PANEL_OBJECT, PANEL_FEATURES, PANEL_FACE,
  PANEL_CONTENTS, PANEL_COUNT
}

Public Member Functions

virtual BOOL postBuild ()
 LLFloaterTools ()
virtual ~LLFloaterTools ()
virtual void onOpen ()
virtual void onClose (bool app_quitting)
virtual BOOL canClose ()
void updatePopup (LLCoordGL center, MASK mask)
void resetToolState ()
void draw ()
void dirty ()
void showMore (BOOL show_more)
void showPanel (EInfoPanel panel)
void setStatusText (const std::string &text)
virtual void onFocusReceived ()
void saveLastTool ()

Static Public Member Functions

static void * createPanelPermissions (void *vdata)
static void * createPanelObject (void *vdata)
static void * createPanelVolume (void *vdata)
static void * createPanelFace (void *vdata)
static void * createPanelContents (void *vdata)
static void * createPanelContentsInventory (void *vdata)
static void * createPanelLandInfo (void *vdata)
static void setEditTool (void *data)

Public Attributes

LLButton * mBtnFocus
LLButton * mBtnMove
LLButton * mBtnEdit
LLButton * mBtnCreate
LLButton * mBtnLand
LLTextBox * mTextStatus
LLCheckBoxCtrl * mRadioOrbit
LLCheckBoxCtrl * mRadioZoom
LLCheckBoxCtrl * mRadioPan
LLCheckBoxCtrl * mRadioMove
LLCheckBoxCtrl * mRadioLift
LLCheckBoxCtrl * mRadioSpin
LLCheckBoxCtrl * mRadioPosition
LLCheckBoxCtrl * mRadioRotate
LLCheckBoxCtrl * mRadioStretch
LLCheckBoxCtrl * mRadioSelectFace
LLCheckBoxCtrl * mCheckSelectIndividual
LLCheckBoxCtrl * mCheckSnapToGrid
LLButton * mBtnGridOptions
LLTextBox * mTextGridMode
LLComboBox * mComboGridMode
LLCheckBoxCtrl * mCheckStretchUniform
LLCheckBoxCtrl * mCheckStretchTexture
LLButton * mBtnRotateLeft
LLButton * mBtnRotateReset
LLButton * mBtnRotateRight
LLButton * mBtnDelete
LLButton * mBtnDuplicate
LLButton * mBtnDuplicateInPlace
LLCheckBoxCtrl * mCheckSticky
LLCheckBoxCtrl * mCheckCopySelection
LLCheckBoxCtrl * mCheckCopyCenters
LLCheckBoxCtrl * mCheckCopyRotates
LLCheckBoxCtrl * mRadioSelectLand
LLCheckBoxCtrl * mRadioDozerFlatten
LLCheckBoxCtrl * mRadioDozerRaise
LLCheckBoxCtrl * mRadioDozerLower
LLCheckBoxCtrl * mRadioDozerSmooth
LLCheckBoxCtrl * mRadioDozerNoise
LLCheckBoxCtrl * mRadioDozerRevert
LLComboBox * mComboDozerSize
LLButton * mBtnApplyToSelection
LLCheckBoxCtrl * mCheckShowOwners
std::vector< LLButton * > mButtons
LLTabContainer * mTab
LLPanelPermissions * mPanelPermissions
LLPanelObject * mPanelObject
LLPanelVolume * mPanelVolume
LLPanelContents * mPanelContents
LLPanelFace * mPanelFace
LLPanelLandInfo * mPanelLandInfo
LLTabContainer * mTabLand
LLParcelSelectionHandle mParcelSelection
LLObjectSelectionHandle mObjectSelection

Private Member Functions

void refresh ()

Static Private Member Functions

static void setObjectType (void *data)
static void onClickGridOptions (void *data)

Private Attributes

BOOL mDirty
S32 mSmallHeight
S32 mLargeHeight
std::map< std::string,
std::string > 
mStatusText


Detailed Description

Definition at line 56 of file llfloatertools.h.


Member Enumeration Documentation

Enumerator:
PANEL_GENERAL 
PANEL_OBJECT 
PANEL_FEATURES 
PANEL_FACE 
PANEL_CONTENTS 
PANEL_COUNT 

Definition at line 84 of file llfloatertools.h.


Constructor & Destructor Documentation

LLFloaterTools::LLFloaterTools (  ) 

LLFloaterTools::~LLFloaterTools (  )  [virtual]

Definition at line 428 of file llfloatertools.cpp.


Member Function Documentation

BOOL LLFloaterTools::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 173 of file llfloatertools.cpp.

References LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetValue(), click_apply_to_selection(), click_dozer_size(), click_popup_dozer_mode(), click_popup_grab_drag(), click_popup_grab_lift(), click_popup_grab_spin(), click_show_more(), commit_grid_mode(), commit_radio_orbit(), commit_radio_pan(), commit_radio_zoom(), commit_select_component(), commit_select_tool(), commit_slider_zoom(), FALSE, FOLLOWS_LEFT, FOLLOWS_TOP, LLControlGroup::getBOOL(), LLFloater::getDragHandle(), LLSingleton< LLToolFace >::getInstance(), LLSingleton< LLToolCompScale >::getInstance(), LLSingleton< LLToolCompRotate >::getInstance(), LLSingleton< LLToolSelectLand >::getInstance(), LLSingleton< LLToolCompCreate >::getInstance(), LLSingleton< LLToolCompTranslate >::getInstance(), LLSingleton< LLToolGrab >::getInstance(), LLSingleton< LLToolCamera >::getInstance(), LLPanel::getString(), gSavedSettings, llendl, llwarns, mBtnApplyToSelection, mBtnCreate, mBtnEdit, mBtnFocus, mBtnGridOptions, mBtnLand, mBtnMove, mButtons, mCheckCopyCenters, mCheckCopyRotates, mCheckCopySelection, mCheckSelectIndividual, mCheckShowOwners, mCheckSnapToGrid, mCheckSticky, mCheckStretchTexture, mCheckStretchUniform, mComboDozerSize, mComboGridMode, mRadioDozerFlatten, mRadioDozerLower, mRadioDozerNoise, mRadioDozerRaise, mRadioDozerRevert, mRadioDozerSmooth, mRadioLift, mRadioMove, mRadioOrbit, mRadioPan, mRadioPosition, mRadioRotate, mRadioSelectFace, mRadioSelectLand, mRadioSpin, mRadioStretch, mRadioZoom, mStatusText, mTab, mTextGridMode, mTextStatus, NULL, onClickGridOptions(), LLToolPlacerPanel::sCone, LLToolPlacerPanel::sConeHemi, LLToolPlacerPanel::sCube, LLToolPlacerPanel::sCylinder, LLToolPlacerPanel::sCylinderHemi, LLTabContainer::selectFirstTab(), LLPanel::setBorderVisible(), LLButton::setClickedCallback(), LLComboBox::setCurrentByIndex(), setEditTool(), LLView::setEnabled(), LLView::setFollows(), setObjectType(), LLView::setSoundFlags(), LLView::setVisible(), LLFloater::setVisible(), LLToolPlacerPanel::sGrass, LLView::SILENT, LLToolPlacerPanel::sPrism, LLToolPlacerPanel::sPyramid, LLToolPlacerPanel::sSphere, LLToolPlacerPanel::sSphereHemi, LLToolPlacerPanel::sSquareTorus, LLToolPlacerPanel::sTetrahedron, LLToolPlacerPanel::sTorus, LLToolPlacerPanel::sTree, LLToolPlacerPanel::sTriangleTorus, and TRUE.

Here is the call graph for this function:

void * LLFloaterTools::createPanelPermissions ( void *  vdata  )  [static]

Definition at line 119 of file llfloatertools.cpp.

References mPanelPermissions.

Referenced by LLFloaterTools().

Here is the caller graph for this function:

void * LLFloaterTools::createPanelObject ( void *  vdata  )  [static]

Definition at line 126 of file llfloatertools.cpp.

References mPanelObject.

Referenced by LLFloaterTools().

Here is the caller graph for this function:

void * LLFloaterTools::createPanelVolume ( void *  vdata  )  [static]

Definition at line 134 of file llfloatertools.cpp.

References mPanelVolume.

Referenced by LLFloaterTools().

Here is the caller graph for this function:

void * LLFloaterTools::createPanelFace ( void *  vdata  )  [static]

Definition at line 142 of file llfloatertools.cpp.

References mPanelFace.

Referenced by LLFloaterTools().

Here is the caller graph for this function:

void * LLFloaterTools::createPanelContents ( void *  vdata  )  [static]

Definition at line 150 of file llfloatertools.cpp.

References mPanelContents.

Referenced by LLFloaterTools().

Here is the caller graph for this function:

void * LLFloaterTools::createPanelContentsInventory ( void *  vdata  )  [static]

Definition at line 158 of file llfloatertools.cpp.

References mPanelContents, and LLPanelContents::mPanelInventory.

Referenced by LLFloaterTools().

Here is the caller graph for this function:

void * LLFloaterTools::createPanelLandInfo ( void *  vdata  )  [static]

Definition at line 166 of file llfloatertools.cpp.

References mPanelLandInfo.

Referenced by LLFloaterTools().

Here is the caller graph for this function:

void LLFloaterTools::onOpen (  )  [virtual]

void LLFloaterTools::onClose ( bool  app_quitting  )  [virtual]

BOOL LLFloaterTools::canClose (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 756 of file llfloatertools.cpp.

References LLApp::isExiting().

Here is the call graph for this function:

void LLFloaterTools::updatePopup ( LLCoordGL  center,
MASK  mask 
)

Definition at line 507 of file llfloatertools.cpp.

References LLComboBox::add(), LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLPanel::childSetVisible(), FALSE, gAgent, gCameraBtnOrbit, gCameraBtnPan, gCameraBtnZoom, LLCheckBoxCtrl::get(), LLControlGroup::getBOOL(), LLAgent::getCameraZoomFraction(), LLComboBox::getCurrentIndex(), LLToolMgr::getCurrentTool(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLSingleton< LLToolSelectLand >::getInstance(), LLSingleton< LLToolBrushLand >::getInstance(), LLSingleton< LLToolCompCreate >::getInstance(), LLSingleton< LLToolPipette >::getInstance(), LLSingleton< LLToolIndividual >::getInstance(), LLSingleton< LLToolFace >::getInstance(), LLSingleton< LLToolCompScale >::getInstance(), LLSingleton< LLToolCompRotate >::getInstance(), LLSingleton< LLToolCompTranslate >::getInstance(), LLSingleton< LLToolGrab >::getInstance(), LLSingleton< LLToolCamera >::getInstance(), LLSingleton< LLToolMgr >::getInstance(), LLToolPlacer::getObjectType(), LLControlGroup::getS32(), LLPanel::getString(), gGrabBtnSpin, gGrabBtnVertical, gSavedSettings, gToolNull, i, LLFloater::isMinimized(), MASK_ALT, MASK_ORBIT, MASK_PAN, MASK_SPIN, MASK_VERTICAL, mBtnApplyToSelection, mBtnCreate, mBtnEdit, mBtnFocus, mBtnGridOptions, mBtnLand, mBtnMove, mButtons, mCheckCopyCenters, mCheckCopyRotates, mCheckCopySelection, mCheckSelectIndividual, mCheckShowOwners, mCheckSnapToGrid, mCheckSticky, mCheckStretchTexture, mCheckStretchUniform, mComboDozerSize, mComboGridMode, mObjectSelection, mPanelLandInfo, mRadioDozerFlatten, mRadioDozerLower, mRadioDozerNoise, mRadioDozerRaise, mRadioDozerRevert, mRadioDozerSmooth, mRadioLift, mRadioMove, mRadioOrbit, mRadioPan, mRadioPosition, mRadioRotate, mRadioSelectFace, mRadioSelectLand, mRadioSpin, mRadioStretch, mRadioZoom, mTab, mTextGridMode, LLComboBox::removeall(), S32, SELECT_TYPE_ATTACHMENT, SELECT_TYPE_HUD, SELECT_TYPE_WORLD, LLCheckBoxCtrl::set(), LLComboBox::setCurrentByIndex(), LLView::setEnabled(), LLComboBox::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLButton::setToggleState(), and LLView::setVisible().

Referenced by LLViewerWindow::handlePerFrameHover().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterTools::resetToolState (  ) 

Definition at line 497 of file llfloatertools.cpp.

References FALSE, gCameraBtnOrbit, gCameraBtnPan, gCameraBtnZoom, gGrabBtnSpin, gGrabBtnVertical, and TRUE.

Referenced by onClose().

Here is the caller graph for this function:

void LLFloaterTools::draw ( void   )  [virtual]

Reimplemented from LLFloater.

Definition at line 477 of file llfloatertools.cpp.

References LLFloater::draw(), FALSE, mDirty, and refresh().

Here is the call graph for this function:

void LLFloaterTools::dirty (  ) 

void LLFloaterTools::showMore ( BOOL  show_more  ) 

void LLFloaterTools::showPanel ( EInfoPanel  panel  ) 

void LLFloaterTools::setStatusText ( const std::string &  text  ) 

void LLFloaterTools::onFocusReceived (  )  [virtual]

Reimplemented from LLUICtrl.

Definition at line 1008 of file llfloatertools.cpp.

References gBasicToolset, LLSingleton< LLToolMgr >::getInstance(), LLUICtrl::onFocusReceived(), and LLToolMgr::setCurrentToolset().

Here is the call graph for this function:

void LLFloaterTools::setEditTool ( void *  data  )  [static]

Definition at line 1003 of file llfloatertools.cpp.

References select_tool().

Referenced by click_popup_dozer_mode(), commit_select_tool(), LLObjectEdit::handleEvent(), and postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterTools::saveLastTool (  ) 

void LLFloaterTools::setObjectType ( void *  data  )  [static, private]

Definition at line 986 of file llfloatertools.cpp.

References FALSE, gSavedSettings, gViewerWindow, NULL, LLControlGroup::setBOOL(), LLViewerWindow::setMouseCapture(), and LLToolPlacer::setObjectType().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterTools::refresh (  )  [private, virtual]

void LLFloaterTools::onClickGridOptions ( void *  data  )  [static, private]

Definition at line 995 of file llfloatertools.cpp.

References NULL, and LLFloaterBuildOptions::show().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 113 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 114 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 115 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 116 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 117 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 119 of file llfloatertools.h.

Referenced by postBuild(), and setStatusText().

Definition at line 122 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 123 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 124 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 127 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 128 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 129 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 132 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 133 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 134 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 135 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 137 of file llfloatertools.h.

Referenced by commit_select_component(), postBuild(), and updatePopup().

Definition at line 139 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 140 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 141 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 143 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 144 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 146 of file llfloatertools.h.

Definition at line 147 of file llfloatertools.h.

Definition at line 148 of file llfloatertools.h.

Definition at line 150 of file llfloatertools.h.

Definition at line 151 of file llfloatertools.h.

Definition at line 152 of file llfloatertools.h.

Definition at line 155 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 156 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 157 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 158 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 162 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 164 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 165 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 166 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 167 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 168 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 169 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 171 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 172 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 173 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Reimplemented from LLFloater.

Definition at line 175 of file llfloatertools.h.

Referenced by postBuild(), and updatePopup().

Definition at line 177 of file llfloatertools.h.

Referenced by LLFloaterTools(), onClose(), postBuild(), refresh(), showPanel(), and updatePopup().

Definition at line 178 of file llfloatertools.h.

Referenced by createPanelPermissions(), and refresh().

Definition at line 179 of file llfloatertools.h.

Referenced by createPanelObject(), and refresh().

Definition at line 180 of file llfloatertools.h.

Referenced by createPanelVolume(), and refresh().

Definition at line 181 of file llfloatertools.h.

Referenced by createPanelContents(), createPanelContentsInventory(), and refresh().

Definition at line 182 of file llfloatertools.h.

Referenced by createPanelFace(), and refresh().

Definition at line 183 of file llfloatertools.h.

Referenced by createPanelLandInfo(), refresh(), and updatePopup().

Definition at line 185 of file llfloatertools.h.

Definition at line 187 of file llfloatertools.h.

Referenced by onClose(), and onOpen().

Definition at line 188 of file llfloatertools.h.

Referenced by onClose(), onOpen(), and updatePopup().

Definition at line 191 of file llfloatertools.h.

Referenced by dirty(), and draw().

Definition at line 192 of file llfloatertools.h.

Referenced by LLFloaterTools(), and showMore().

Definition at line 193 of file llfloatertools.h.

Referenced by LLFloaterTools(), and showMore().

std::map<std::string, std::string> LLFloaterTools::mStatusText [private]

Definition at line 195 of file llfloatertools.h.

Referenced by postBuild(), and setStatusText().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:46:48 2008 for SecondLife by  doxygen 1.5.5