#include <lltoolbar.h>
Inheritance diagram for LLToolBar:
Definition at line 46 of file lltoolbar.h.
LLToolBar::LLToolBar | ( | const std::string & | name, | |
const LLRect & | rect | |||
) |
Definition at line 106 of file lltoolbar.cpp.
References LLUICtrlFactory::buildPanel(), FOLLOWS_BOTTOM, FOLLOWS_LEFT, FOLLOWS_RIGHT, gUICtrlFactory, LLView::mIsFocusRoot, LLView::setFollows(), LLUICtrl::setIsChrome(), and TRUE.
LLToolBar::~LLToolBar | ( | ) |
Definition at line 190 of file lltoolbar.cpp.
BOOL LLToolBar::handleDragAndDrop | ( | S32 | x, | |
S32 | y, | |||
MASK | mask, | |||
BOOL | drop, | |||
EDragAndDropType | cargo_type, | |||
void * | cargo_data, | |||
EAcceptance * | accept, | |||
LLString & | tooltip_msg | |||
) | [virtual] |
Reimplemented from LLView.
Definition at line 196 of file lltoolbar.cpp.
References FALSE, LLInventoryView::getActiveInventory(), LLUICtrlFactory::getButtonByName(), LLFrameTimer::getElapsedTimeF32(), LLView::getRect(), LLView::getVisible(), LLView::handleDragAndDrop(), mInventoryAutoOpen, mInventoryAutoOpenTimer, LLRectBase< Type >::pointInRect(), LLFrameTimer::reset(), LLInventoryView::showAgentInventory(), sInventoryAutoOpenTime, and TRUE.
void LLToolBar::layoutButtons | ( | ) |
Definition at line 247 of file lltoolbar.cpp.
References count, FALSE, LLView::getChildCount(), LLView::getChildList(), LLWindow::getFullscreen(), LLViewerWindow::getWindow(), LLViewerWindow::getWindowWidth(), gViewerWindow, height, i, llround(), lltrunc(), NULL, r, RESIZE_HANDLE_HEIGHT, RESIZE_HANDLE_WIDTH, S32, TRUE, WIDGET_TYPE_BUTTON, width, x, and y.
Referenced by postBuild(), and reshape().
Definition at line 358 of file lltoolbar.cpp.
References LLAgent::changeCameraToCustomizeAvatar(), gAgent, and LLAgent::getWearablesLoaded().
Referenced by postBuild().
Definition at line 449 of file lltoolbar.cpp.
References NULL, and LLFloaterAvatarList::toggle().
Referenced by postBuild().
Definition at line 417 of file lltoolbar.cpp.
References toggle_build_mode().
Referenced by postBuild().
Definition at line 352 of file lltoolbar.cpp.
References handle_chat(), and NULL.
Referenced by postBuild().
Definition at line 368 of file lltoolbar.cpp.
References handle_clothing(), and NULL.
Referenced by postBuild().
Definition at line 345 of file lltoolbar.cpp.
References LLUIInstanceMgr< LLFloaterChatterBox, LLFloaterChatterBox >::toggleInstance().
Referenced by postBuild().
Definition at line 410 of file lltoolbar.cpp.
References handle_find(), and NULL.
Referenced by postBuild().
Definition at line 437 of file lltoolbar.cpp.
References NULL, and LLFloaterEventLog::toggle().
Referenced by postBuild().
Definition at line 375 of file lltoolbar.cpp.
References gAgent, and LLAgent::toggleFlying().
Referenced by postBuild().
Definition at line 443 of file lltoolbar.cpp.
References handle_inventory(), and NULL.
Referenced by postBuild().
Definition at line 431 of file lltoolbar.cpp.
References handle_map(), and NULL.
Referenced by postBuild().
Definition at line 424 of file lltoolbar.cpp.
References handle_mini_map(), and NULL.
Referenced by postBuild().
Definition at line 382 of file lltoolbar.cpp.
References AGENT_CONTROL_SIT_ON_GROUND, AGENT_CONTROL_STAND_UP, FALSE, gAgent, LLAgent::getControlFlags(), LLAgent::setControlFlags(), LLAgent::setFlying(), and LLFirstUse::useSit().
Referenced by postBuild().
Definition at line 403 of file lltoolbar.cpp.
References LLFloaterSnapshot::show().
Referenced by postBuild().
BOOL LLToolBar::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 121 of file lltoolbar.cpp.
References LLView::addChildAtEnd(), LLPanel::childSetAction(), LLPanel::childSetControlName(), LLView::getChildList(), layoutButtons(), NULL, onClickAppearance(), onClickAvatarList(), onClickBuild(), onClickChat(), onClickClothing(), onClickCommunicate(), onClickDirectory(), onClickEventLog(), onClickFly(), onClickInventory(), onClickMap(), onClickRadar(), onClickSit(), onClickSnapshot(), RESIZE_HANDLE_HEIGHT, RESIZE_HANDLE_WIDTH, LLView::SILENT, TRUE, and WIDGET_TYPE_BUTTON.
void LLToolBar::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 321 of file lltoolbar.cpp.
References LLViewerParcelMgr::agentCanBuild(), LLAgent::cameraMouselook(), LLAgent::canFly(), LLPanel::childSetEnabled(), FALSE, gAgent, LLControlGroup::getBOOL(), LLAgent::getFlying(), LLToolGrab::getHideBuildHighlight(), gParcelMgr, gSavedSettings, gToolGrab, gToolMgr, LLToolMgr::inEdit(), LLControlGroup::setBOOL(), and LLView::setVisible().
Referenced by LLViewerWindow::handlePerFrameHover().
Reimplemented from LLView.
Definition at line 312 of file lltoolbar.cpp.
References layoutButtons(), and LLView::reshape().
Definition at line 232 of file lltoolbar.cpp.
References LLControlGroup::getBOOL(), gSavedSettings, gToolBar, LLControlGroup::setBOOL(), and LLView::setVisible().
Referenced by LLShowFloater::handleEvent().
Definition at line 241 of file lltoolbar.cpp.
References LLView::getVisible(), and gToolBar.
Referenced by LLFloaterVisible::handleEvent().
BOOL LLToolBar::mInventoryAutoOpen [private] |
F32 LLToolBar::sInventoryAutoOpenTime = 1.f [static] |
Definition at line 88 of file lltoolbar.h.
Referenced by handleDragAndDrop(), and saved_settings_to_globals().