#include <llbutton.h>
Inheritance diagram for LLButton:
Definition at line 66 of file llbutton.h.
LLButton::LLButton | ( | const LLString & | name, | |
const LLRect & | rect, | |||
const LLString & | control_name = LLString() , |
|||
void(*)(void *) | on_click = NULL , |
|||
void * | data = NULL | |||
) |
Definition at line 65 of file llbutton.cpp.
References LLControlGroup::getColor(), init(), mDisabledImageColor, mImageColor, mSelectedLabel, mUnselectedLabel, NULL, LLUI::sColorsGroup, setImageDisabled(), setImageDisabledSelected(), setImageSelected(), and setImageUnselected().
Referenced by fromXML().
LLButton::LLButton | ( | const LLString & | name, | |
const LLRect & | rect, | |||
const LLString & | unselected_image, | |||
const LLString & | selected_image, | |||
const LLString & | control_name, | |||
void(*)(void *) | click_callback, | |||
void * | callback_data = NULL , |
|||
const LLFontGL * | mGLFont = NULL , |
|||
const LLString & | unselected_label = LLString::null , |
|||
const LLString & | selected_label = LLString::null | |||
) |
Definition at line 112 of file llbutton.cpp.
References FALSE, LLControlGroup::getColor(), init(), mDisabledImageColor, mFixedHeight, mFixedWidth, mImageColor, mImageDisabled, mImageUnselected, mScaleImage, mSelectedLabel, mUnselectedLabel, LLColor4::mV, LLUI::sColorsGroup, setImageDisabled(), setImageDisabledSelected(), setImageSelected(), setImageUnselected(), and VALPHA.
LLButton::~LLButton | ( | ) | [virtual] |
Definition at line 227 of file llbutton.cpp.
References gFocusMgr, LLView::hasMouseCapture(), NULL, and LLFocusMgr::setMouseCapture().
void LLButton::addImageAttributeToXML | ( | LLXMLNodePtr | node, | |
const LLString & | imageName, | |||
const LLUUID & | imageID, | |||
const LLString & | xmlTagName | |||
) | const |
Definition at line 991 of file llbutton.cpp.
References LLUUID::null, and TRUE.
Referenced by LLJoystick::getXML(), and getXML().
void LLButton::draw | ( | ) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLJoystickCameraRotate, and LLJoystickCameraZoom.
Definition at line 421 of file llbutton.cpp.
References BORDER_SIZE, LLFontGL::BOTTOM, LLWindow::convertCoords(), drawBorder(), LLView::drawDebugRect(), LLFontGL::DROP_SHADOW_SOFT, LLUIString::empty(), f, FALSE, LLFocusMgr::getAppHasFocus(), LLRectBase< Type >::getCenterX(), LLRectBase< Type >::getCenterY(), LLWindow::getCursorPosition(), LLFrameTimer::getElapsedTimeF32(), LLFocusMgr::getFocusColor(), LLFocusMgr::getFocusFlashAmt(), LLRectBase< Type >::getHeight(), LLCriticalDamp::getInterpolant(), LLKeyboard::getKeyDown(), LLView::getLocalRect(), LLView::getVisible(), LLRectBase< Type >::getWidth(), LLView::getWindow(), gFocusMgr, gKeyboard, gl_draw_image(), gl_draw_scaled_image(), gl_draw_scaled_image_with_border(), gl_rect_2d(), glBlendFunc, LLUICtrl::hasFocus(), LLView::hasMouseCapture(), LLFontGL::HCENTER, LLPointer< Type >::isNull(), KEY_RETURN, LLFontGL::LEFT, lerp(), LLBUTTON_V_PAD, llendl, llmin(), llround(), llwarns, mBorderEnabled, mCommitOnReturn, mCurGlowStrength, mDisabledImageColor, mDisabledLabel, mDisabledLabelColor, mDisabledSelectedLabel, mDisabledSelectedLabelColor, mDropShadowedText, LLView::mEnabled, mFixedHeight, mFixedWidth, mFlashing, mGLFont, mHAlign, mHoverGlowStrength, mImageColor, mImageDisabled, mImageDisabledSelected, mImageHoverSelected, mImageHoverUnselected, mImageOverlay, mImageOverlayAlignment, mImageOverlayColor, mImagep, mImageSelected, mImageUnselected, mLeftHPad, LLView::mName, mNeedsHighlight, LLView::mRect, mRightHPad, mScaleImage, mSelectedLabel, mSelectedLabelColor, LLUICtrl::mTentative, mToggleState, mUnselectedLabel, mUnselectedLabelColor, LLVector2::mV, LLCoord::mX, LLCoord::mY, LLFontGL::NORMAL, LLPointer< Type >::notNull(), NULL, LLColor4::pink1, LLView::pointInView(), LLFontGL::render(), LLFontGL::RIGHT, S32, LLUI::sColorsGroup, LLView::screenPointToLocal(), LLView::sDebugRects, LLView::sEditingUI, LLView::sEditingUIView, sFlashingTimer, LLUI::sGLScaleFactor, LLStringBase< T >::trim(), TRUE, U32_MAX, VX, VY, and x.
Referenced by LLTabContainerVertical::draw().
Definition at line 724 of file llbutton.cpp.
References bottom, FALSE, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), gl_draw_scaled_image_with_border(), gl_rect_2d(), LLPointer< Type >::isNull(), left, mFixedHeight, mFixedWidth, mImagep, LLView::mRect, mScaleImage, right, S32, top, and TRUE.
Referenced by draw().
LLView * LLButton::fromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory | |||
) | [static] |
Reimplemented in LLJoystickAgentTurn, and LLJoystickAgentSlide.
Definition at line 1044 of file llbutton.cpp.
References FALSE, LLFontGL::hAlignFromName(), LLFontGL::HCENTER, LLUICtrl::initFromXML(), LLButton(), mFixedHeight, mFixedWidth, LLStringBase< char >::null, NULL, LLView::selectFont(), LLView::selectFontHAlign(), setHAlign(), setHelpURLCallback(), setImageDisabled(), setImageDisabledSelected(), setImageHoverSelected(), setImageHoverUnselected(), setImageOverlay(), setLabelSelected(), setLabelUnselected(), and setScaleImage().
BOOL LLButton::getCommitOnReturn | ( | ) | [inline] |
BOOL LLButton::getFlashing | ( | ) | const [inline] |
Definition at line 122 of file llbutton.h.
References mFlashing.
Referenced by LLTabContainerCommon::getTabPanelFlashing().
F32 LLButton::getHeldDownTime | ( | ) | const [inline] |
Definition at line 115 of file llbutton.h.
References LLFrameTimer::getElapsedTimeF32(), and mMouseDownTimer.
Referenced by LLFloaterMove::turnLeft(), and LLFloaterMove::turnRight().
LLString LLButton::getHelpURL | ( | ) | [inline] |
LLImageGL* LLButton::getImageUnselected | ( | ) | const [inline] |
const LLString LLButton::getLabelSelected | ( | ) | const [inline] |
Definition at line 129 of file llbutton.h.
References mSelectedLabel, and wstring_to_utf8str().
Referenced by getXML(), LLComboBox::setAllowTextEntry(), LLColumnHeader::showList(), and LLFloaterEventLog::updateQuickButtons().
const LLString LLButton::getLabelUnselected | ( | ) | const [inline] |
Definition at line 128 of file llbutton.h.
References mUnselectedLabel, and wstring_to_utf8str().
Referenced by getXML(), and LLFloaterEditUI::refreshButton().
BOOL LLButton::getToggleState | ( | ) | const [inline] |
Definition at line 118 of file llbutton.h.
References mToggleState.
Referenced by LLCheckBoxCtrl::getValue(), LLCheckBoxCtrl::isDirty(), LLVoiceRemoteCtrl::onBtnLock(), LLCheckBoxCtrl::resetDirty(), and LLFloaterColorPicker::setActive().
LLSD LLButton::getValue | ( | ) | const [virtual] |
LLString LLButton::getWidgetTag | ( | ) | const [virtual] |
Implements LLView.
Reimplemented in LLJoystickAgentTurn, and LLJoystickAgentSlide.
Definition at line 242 of file llbutton.cpp.
References LL_BUTTON_TAG.
EWidgetType LLButton::getWidgetType | ( | ) | const [virtual] |
Implements LLView.
Reimplemented in LLJoystickAgentTurn, and LLJoystickAgentSlide.
Definition at line 236 of file llbutton.cpp.
References WIDGET_TYPE_BUTTON.
LLXMLNodePtr LLButton::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLUICtrl.
Reimplemented in LLJoystick.
Definition at line 1007 of file llbutton.cpp.
References addImageAttributeToXML(), getLabelSelected(), getLabelUnselected(), LLUICtrl::getXML(), mFixedHeight, mFixedWidth, mGLFont, mHAlign, mImageDisabledID, mImageDisabledName, mImageDisabledSelectedID, mImageDisabledSelectedName, mImageHoverSelectedID, mImageHoverSelectedName, mImageHoverUnselectedID, mImageHoverUnselectedName, mImageSelectedID, mImageSelectedName, mImageUnselectedID, mImageUnselectedName, mScaleImage, LLFontGL::nameFromFont(), LLFontGL::nameFromHAlign(), and TRUE.
Reimplemented from LLView.
Reimplemented in LLJoystick.
Definition at line 380 of file llbutton.cpp.
References FALSE, LLFrameTimer::getElapsedTimeF32(), LLFrameTimer::getFrameCount(), LLFocusMgr::getMouseCapture(), LLView::getName(), LLFrameTimer::getStarted(), LLView::getVisible(), LLView::getWindow(), gFocusMgr, LLView::hasAncestor(), LLView::hasMouseCapture(), LLMouseHandler::isView(), lldebugst, llendl, LLUICtrl::mCallbackUserData, mHeldDownCallback, mHeldDownDelay, mHeldDownFrameDelay, mMouseDownFrame, mMouseDownTimer, mNeedsHighlight, NULL, LLWindow::setCursor(), TRUE, and UI_CURSOR_ARROW.
Referenced by LLTabContainer::handleDragAndDrop(), LLTabContainerVertical::handleHover(), LLTabContainer::handleHover(), and LLJoystick::handleHover().
Reimplemented from LLView.
Definition at line 298 of file llbutton.cpp.
References FALSE, LLKeyboard::getKeyRepeated(), LLView::getVisible(), gKeyboard, KEY_RETURN, MASK_NONE, LLUICtrl::mCallbackUserData, mClickedCallback, mCommitOnReturn, LLView::mEnabled, and TRUE.
Reimplemented from LLView.
Reimplemented in LLJoystick, LLJoystickCameraRotate, and LLJoystickCameraZoom.
Definition at line 316 of file llbutton.cpp.
References LLFrameTimer::getFrameCount(), LLUICtrl::getIsChrome(), gFocusMgr, LLUICtrl::hasTabStop(), make_ui_sound(), LLUICtrl::mCallbackUserData, mMouseDownCallback, mMouseDownFrame, mMouseDownTimer, LLView::MOUSE_DOWN, LLView::mSoundFlags, LLUICtrl::setFocus(), LLFocusMgr::setMouseCapture(), LLFrameTimer::start(), and TRUE.
Referenced by LLTabContainerVertical::handleMouseDown(), LLTabContainer::handleMouseDown(), and LLJoystick::handleMouseDown().
Reimplemented from LLView.
Reimplemented in LLJoystick.
Definition at line 343 of file llbutton.cpp.
References gFocusMgr, LLView::hasMouseCapture(), make_ui_sound(), LLUICtrl::mCallbackUserData, mClickedCallback, mMouseDownTimer, mMouseUpCallback, LLView::MOUSE_UP, LLView::mSoundFlags, NULL, LLView::pointInView(), LLFrameTimer::reset(), LLFocusMgr::setMouseCapture(), LLFrameTimer::stop(), and TRUE.
Referenced by LLTabContainerVertical::handleMouseUp(), LLTabContainer::handleMouseUp(), and LLJoystick::handleMouseUp().
Reimplemented from LLView.
Definition at line 284 of file llbutton.cpp.
References FALSE, LLKeyboard::getKeyRepeated(), LLView::getVisible(), gKeyboard, LLUICtrl::mCallbackUserData, mClickedCallback, LLView::mEnabled, and TRUE.
void LLButton::init | ( | void(*)(void *) | click_callback, | |
void * | callback_data, | |||
const LLFontGL * | font, | |||
const LLString & | control_name | |||
) |
Definition at line 198 of file llbutton.cpp.
References LLControlGroup::getColor(), LLFontGL::getWidth(), LLRectBase< Type >::getWidth(), LLFontGL::HCENTER, LLBUTTON_ORIG_H_PAD, LLUICtrl::mCallbackUserData, mDisabledLabelColor, mDisabledSelectedLabelColor, mGLFont, mHighlightColor, mImageOverlayAlignment, mImageOverlayColor, mLeftHPad, mMouseDownTimer, LLView::mRect, mRightHPad, mSelectedBgColor, mSelectedLabelColor, mUnselectedBgColor, mUnselectedLabelColor, NULL, LLUI::sColorsGroup, LLView::setControlName(), LLFontGL::sSansSerif, LLFrameTimer::stop(), and LLColor4::white.
Referenced by LLButton().
void LLButton::onCommit | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 249 of file llbutton.cpp.
References make_ui_sound(), LLUICtrl::mCallbackUserData, mClickedCallback, mMouseDownCallback, mMouseUpCallback, LLView::MOUSE_DOWN, LLView::MOUSE_UP, LLView::mSoundFlags, and LLUICtrl::onCommit().
Referenced by LLPanel::handleKeyHere().
Reimplemented in LLJoystick.
void LLButton::onMouseCaptureLost | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 903 of file llbutton.cpp.
References mMouseDownTimer, LLFrameTimer::reset(), and LLFrameTimer::stop().
Definition at line 169 of file llbutton.h.
References mBorderEnabled.
Referenced by LLPanel::draw(), LLFloater::draw(), and LLPanel::setDefaultBtn().
Referenced by LLPanel::childSetAction(), LLColumnHeader::LLColumnHeader(), LLGroupMoneyTabEventHandler::LLGroupMoneyTabEventHandler(), LLVoiceRemoteCtrl::LLVoiceRemoteCtrl(), LLPreviewGesture::postBuild(), LLPanelPlace::postBuild(), LLPanelPick::postBuild(), LLPanelGroupVoting::postBuild(), LLPanelGroupSubTab::postBuild(), LLPanelGroupNotices::postBuild(), LLPanelGroupLandMoney::postBuild(), LLPanelGroupInvite::postBuild(), LLPanelGroupGeneral::postBuild(), LLPanelGroup::postBuild(), LLPanelGroupTab::postBuild(), LLPanelEvent::postBuild(), LLPanelClassified::postBuild(), LLFloaterTools::postBuild(), LLFloaterSaveAvatar::postBuild(), LLPanelEstateCovenant::postBuild(), LLFloaterPreference::postBuild(), LLPanelLandBan::postBuild(), LLPanelLandAccess::postBuild(), LLPanelLandOptions::postBuild(), LLPanelLandObjects::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterImport::postBuild(), LLFloaterColorPicker::postBuild(), LLFloaterAnimPreview::postBuild(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLPanelGroupMembersSubTab::postBuildSubTab(), LLViewChildren::setAction(), and setHelpURLCallback().
Definition at line 144 of file llbutton.h.
References c, and mDisabledImageColor.
Referenced by LLNotifyBox::LLNotifyBox().
void LLButton::setDisabledImages | ( | const LLString & | image_name, | |
const LLString & | selected_name, | |||
const LLColor4 & | c | |||
) |
Definition at line 854 of file llbutton.cpp.
References c, mDisabledImageColor, setImageDisabled(), and setImageDisabledSelected().
Definition at line 868 of file llbutton.cpp.
References mImageColor, LLColor4::mV, and VALPHA.
Referenced by LLFloaterAnimPreview::postBuild().
void LLButton::setDisabledLabel | ( | const LLStringExplicit & | disabled_label | ) |
Definition at line 803 of file llbutton.cpp.
References mDisabledLabel.
Referenced by LLComboBox::clear(), and LLComboBox::setLabel().
void LLButton::setDisabledSelectedLabel | ( | const LLStringExplicit & | disabled_label | ) |
Definition at line 808 of file llbutton.cpp.
References mDisabledSelectedLabel.
Referenced by LLComboBox::clear(), and LLComboBox::setLabel().
Definition at line 173 of file llbutton.h.
References mFixedHeight, and mFixedWidth.
Referenced by LLTabContainerVertical::addTabPanel(), LLTabContainer::addTabPanel(), and LLFloaterAnimPreview::postBuild().
Definition at line 121 of file llbutton.h.
References mFlashing.
Referenced by LLTabContainer::draw(), and LLTabContainerCommon::setTabPanelFlashing().
Definition at line 163 of file llbutton.h.
References mGLFont, and LLFontGL::sSansSerif.
Referenced by LLComboBox::LLComboBox(), LLFloaterTestImpl::LLFloaterTestImpl(), and LLNotifyBox::LLNotifyBox().
void LLButton::setHAlign | ( | LLFontGL::HAlign | align | ) | [inline] |
Definition at line 124 of file llbutton.h.
References mHAlign.
Referenced by LLTabContainerVertical::addTabPanel(), LLTabContainer::addTabPanel(), LLJoystickAgentSlide::fromXML(), LLJoystickAgentTurn::fromXML(), fromXML(), and LLComboBox::LLComboBox().
Definition at line 112 of file llbutton.h.
References mHeldDownCallback.
Referenced by LLTabContainerVertical::initButtons(), LLTabContainer::initButtons(), LLColumnHeader::LLColumnHeader(), LLFloaterMove::LLFloaterMove(), LLScrollbar::LLScrollbar(), LLScrollingPanelParam::LLScrollingPanelParam(), LLSpinCtrl::LLSpinCtrl(), and LLVoiceRemoteCtrl::LLVoiceRemoteCtrl().
Definition at line 113 of file llbutton.h.
References mHeldDownDelay, and mHeldDownFrameDelay.
Referenced by LLColumnHeader::LLColumnHeader(), LLFloaterCamera::LLFloaterCamera(), LLFloaterMove::LLFloaterMove(), and LLScrollingPanelParam::LLScrollingPanelParam().
void LLButton::setHelpURLCallback | ( | std::string | help_url | ) |
Definition at line 1145 of file llbutton.cpp.
References clicked_help(), mHelpURL, and setClickedCallback().
Referenced by fromXML().
Definition at line 881 of file llbutton.cpp.
References setImageHoverSelected(), and setImageHoverUnselected().
Referenced by LLFloater::buildButtons().
Referenced by LLFloater::buildButtons(), and LLNotifyBox::LLNotifyBox().
Definition at line 979 of file llbutton.cpp.
References LLUI::findAssetUUIDByName(), mImageDisabledName, and setImageDisabledID().
Referenced by fromXML(), LLButton(), LLSquareButton::LLSquareButton(), and setDisabledImages().
Definition at line 838 of file llbutton.cpp.
References LLImageProviderInterface::getUIImageByID(), mDisabledImageColor, mImageColor, mImageDisabled, mImageDisabledName, LLColor4::mV, LLUI::sImageProvider, and VALPHA.
Referenced by setImageDisabled().
Definition at line 985 of file llbutton.cpp.
References LLUI::findAssetUUIDByName(), mImageDisabledSelectedName, and setImageDisabledSelectedID().
Referenced by fromXML(), LLButton(), LLSquareButton::LLSquareButton(), and setDisabledImages().
Definition at line 846 of file llbutton.cpp.
References LLImageProviderInterface::getUIImageByID(), mDisabledImageColor, mImageColor, mImageDisabledSelected, mImageDisabledSelectedName, LLColor4::mV, LLUI::sImageProvider, and VALPHA.
Referenced by setImageDisabledSelected().
Definition at line 967 of file llbutton.cpp.
References LLUI::findAssetUUIDByName(), mImageHoverSelectedName, and setImageHoverSelectedID().
Referenced by fromXML(), and setHoverImages().
Definition at line 862 of file llbutton.cpp.
References LLImageProviderInterface::getUIImageByID(), mImageHoverSelected, mImageHoverSelectedName, and LLUI::sImageProvider.
Referenced by setImageHoverSelected().
Definition at line 973 of file llbutton.cpp.
References LLUI::findAssetUUIDByName(), mImageHoverUnselectedName, and setImageHoverUnselectedID().
Referenced by fromXML(), and setHoverImages().
Definition at line 875 of file llbutton.cpp.
References LLImageProviderInterface::getUIImageByID(), mImageHoverUnselected, mImageHoverUnselectedName, and LLUI::sImageProvider.
Referenced by setImageHoverUnselected().
void LLButton::setImageOverlay | ( | const LLString & | image_name, | |
LLFontGL::HAlign | alignment = LLFontGL::HCENTER , |
|||
const LLColor4 & | color = LLColor4::white | |||
) |
Definition at line 887 of file llbutton.cpp.
References LLUI::findAssetUUIDByName(), LLImageProviderInterface::getUIImageByID(), mImageOverlay, mImageOverlayAlignment, mImageOverlayColor, NULL, and LLUI::sImageProvider.
Referenced by fromXML(), and LLTabContainerCommon::setTabImage().
Definition at line 819 of file llbutton.cpp.
References setImageSelected(), and setImageUnselected().
Referenced by LLFloaterColorPicker::postBuild(), LLFloaterAnimPreview::postBuild(), and LLFloaterAnimPreview::refresh().
Definition at line 961 of file llbutton.cpp.
References LLUI::findAssetUUIDByName(), mImageSelectedName, and setImageSelectedID().
Referenced by LLButton(), LLSquareButton::LLSquareButton(), LLColumnHeader::setImage(), and setImages().
Definition at line 826 of file llbutton.cpp.
References LLImageProviderInterface::getUIImageByID(), mImageSelected, mImageSelectedName, and LLUI::sImageProvider.
Referenced by setImageSelected().
Definition at line 955 of file llbutton.cpp.
References LLUI::findAssetUUIDByName(), mImageUnselectedName, and setImageUnselectedID().
Referenced by LLFloaterLagMeter::determineClient(), LLFloaterLagMeter::determineNetwork(), LLFloaterLagMeter::determineServer(), LLButton(), LLSquareButton::LLSquareButton(), LLColumnHeader::setImage(), and setImages().
Definition at line 813 of file llbutton.cpp.
References LLImageProviderInterface::getUIImageByID(), mImageUnselected, mImageUnselectedName, and LLUI::sImageProvider.
Referenced by setImageUnselected().
void LLButton::setLabel | ( | const LLStringExplicit & | label | ) |
Definition at line 779 of file llbutton.cpp.
References setLabelSelected(), and setLabelUnselected().
Referenced by LLPanelClassified::initNewClassified(), LLFloaterTestImpl::LLFloaterTestImpl(), LLFloaterLagMeter::onClickShrink(), and LLPanelLandGeneral::refresh().
BOOL LLButton::setLabelArg | ( | const LLString & | key, | |
const LLStringExplicit & | text | |||
) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 786 of file llbutton.cpp.
References mSelectedLabel, mUnselectedLabel, LLUIString::setArg(), and TRUE.
void LLButton::setLabelSelected | ( | const LLStringExplicit & | label | ) |
Definition at line 798 of file llbutton.cpp.
References mSelectedLabel.
Referenced by LLComboBox::clear(), fromXML(), LLPanelPermissions::refresh(), LLProgressView::setCancelButtonVisible(), LLComboBox::setLabel(), setLabel(), LLTabContainer::setPanelTitle(), and LLPanelGroupGeneral::update().
void LLButton::setLabelUnselected | ( | const LLStringExplicit & | label | ) |
Definition at line 793 of file llbutton.cpp.
References mUnselectedLabel.
Referenced by LLComboBox::clear(), fromXML(), LLPanelPermissions::refresh(), LLProgressView::setCancelButtonVisible(), LLComboBox::setLabel(), setLabel(), LLTabContainer::setPanelTitle(), and LLPanelGroupGeneral::update().
Definition at line 125 of file llbutton.h.
References mLeftHPad.
Referenced by LLTabContainerVertical::addTabPanel(), and LLTabContainer::addTabPanel().
Definition at line 110 of file llbutton.h.
References mMouseDownCallback.
Referenced by LLColumnHeader::LLColumnHeader(), LLComboBox::LLComboBox(), and LLScrollingPanelParam::LLScrollingPanelParam().
Definition at line 111 of file llbutton.h.
References mMouseUpCallback.
Referenced by LLScrollingPanelParam::LLScrollingPanelParam(), and LLVoiceRemoteCtrl::LLVoiceRemoteCtrl().
Definition at line 126 of file llbutton.h.
References mRightHPad.
Referenced by LLTabContainer::addTabPanel(), and LLComboBox::LLComboBox().
Definition at line 165 of file llbutton.h.
References mScaleImage.
Referenced by LLTabContainerVertical::addTabPanel(), LLTabContainer::addTabPanel(), LLFloater::buildButtons(), LLJoystickAgentSlide::fromXML(), LLJoystickAgentTurn::fromXML(), fromXML(), and LLFloaterAnimPreview::postBuild().
Definition at line 759 of file llbutton.cpp.
References LLObservable::fireEvent(), and mToggleState.
Referenced by LLFloaterReporter::closePickTool(), LLVoiceRemoteCtrl::draw(), LLFloaterColorPicker::draw(), LLComboBox::hideList(), LLDebugVarMessageBox::onAnimateClicked(), LLFloaterReporter::onClickObjPicker(), LLAgent::propagate(), LLPanelEditWearable::setSubpart(), LLCheckBoxCtrl::setValue(), LLComboBox::showList(), toggleState(), and LLFloaterTools::updatePopup().
Reimplemented from LLView.
Definition at line 769 of file llbutton.cpp.
References LLSD::asBoolean(), and mToggleState.
BOOL LLButton::toggleState | ( | ) | [inline] |
Definition at line 117 of file llbutton.h.
References mToggleState, and setToggleState().
Referenced by LLPreviewAnim::auditionAnim(), LLVoiceRemoteCtrl::onBtnLock(), LLPreviewAnim::playAnim(), and LLCheckBoxCtrl::toggle().
BOOL LLButton::mBorderEnabled [protected] |
void(* LLButton::mClickedCallback)(void *data) [protected] |
Referenced by handleKeyHere(), handleMouseUp(), handleUnicodeCharHere(), and onCommit().
BOOL LLButton::mCommitOnReturn [protected] |
Definition at line 277 of file llbutton.h.
Referenced by draw(), getCommitOnReturn(), handleKeyHere(), and setCommitOnReturn().
F32 LLButton::mCurGlowStrength [protected] |
LLColor4 LLButton::mDisabledImageColor [protected] |
Definition at line 255 of file llbutton.h.
Referenced by draw(), LLButton(), setDisabledImageColor(), setDisabledImages(), setImageDisabledID(), and setImageDisabledSelectedID().
LLUIString LLButton::mDisabledLabel [protected] |
LLColor4 LLButton::mDisabledLabelColor [protected] |
Definition at line 230 of file llbutton.h.
Referenced by draw(), init(), and setDisabledLabelColor().
LLUIString LLButton::mDisabledSelectedLabel [protected] |
LLColor4 LLButton::mDisabledSelectedLabelColor [protected] |
Definition at line 234 of file llbutton.h.
Referenced by draw(), init(), and setDisabledSelectedLabelColor().
BOOL LLButton::mDropShadowedText [protected] |
S32 LLButton::mFixedHeight [protected] |
Definition at line 271 of file llbutton.h.
Referenced by draw(), drawBorder(), fromXML(), getXML(), LLButton(), and setFixedBorder().
S32 LLButton::mFixedWidth [protected] |
Definition at line 270 of file llbutton.h.
Referenced by draw(), drawBorder(), fromXML(), getXML(), LLButton(), and setFixedBorder().
BOOL LLButton::mFlashing [protected] |
const LLFontGL* LLButton::mGLFont [protected] |
LLFontGL::HAlign LLButton::mHAlign [protected] |
Definition at line 266 of file llbutton.h.
Referenced by draw(), LLJoystick::getXML(), getXML(), and setHAlign().
void(* LLButton::mHeldDownCallback)(void *data) [protected] |
Referenced by handleHover(), LLJoystick::LLJoystick(), and setHeldDownCallback().
F32 LLButton::mHeldDownDelay [protected] |
S32 LLButton::mHeldDownFrameDelay [protected] |
LLString LLButton::mHelpURL [protected] |
LLColor4 LLButton::mHighlightColor [protected] |
F32 LLButton::mHoverGlowStrength [protected] |
LLColor4 LLButton::mImageColor [protected] |
Definition at line 254 of file llbutton.h.
Referenced by draw(), LLButton(), LLSquareButton::LLSquareButton(), setDisabledImages(), setImageColor(), setImageDisabledID(), and setImageDisabledSelectedID().
LLPointer<LLImageGL> LLButton::mImageDisabled [protected] |
Definition at line 228 of file llbutton.h.
Referenced by draw(), LLButton(), and setImageDisabledID().
LLUUID LLButton::mImageDisabledID [protected] |
LLString LLButton::mImageDisabledName [protected] |
Definition at line 247 of file llbutton.h.
Referenced by getXML(), setImageDisabled(), and setImageDisabledID().
LLPointer<LLImageGL> LLButton::mImageDisabledSelected [protected] |
LLUUID LLButton::mImageDisabledSelectedID [protected] |
LLString LLButton::mImageDisabledSelectedName [protected] |
Definition at line 248 of file llbutton.h.
Referenced by getXML(), setImageDisabledSelected(), and setImageDisabledSelectedID().
LLPointer<LLImageGL> LLButton::mImageHoverSelected [protected] |
LLUUID LLButton::mImageHoverSelectedID [protected] |
LLString LLButton::mImageHoverSelectedName [protected] |
Definition at line 245 of file llbutton.h.
Referenced by getXML(), setImageHoverSelected(), and setImageHoverSelectedID().
LLPointer<LLImageGL> LLButton::mImageHoverUnselected [protected] |
LLUUID LLButton::mImageHoverUnselectedID [protected] |
LLString LLButton::mImageHoverUnselectedName [protected] |
Definition at line 246 of file llbutton.h.
Referenced by getXML(), setImageHoverUnselected(), and setImageHoverUnselectedID().
LLPointer<LLImageGL> LLButton::mImageOverlay [protected] |
Definition at line 212 of file llbutton.h.
Referenced by draw(), getImageOverlay(), and setImageOverlay().
LLFontGL::HAlign LLButton::mImageOverlayAlignment [protected] |
LLColor4 LLButton::mImageOverlayColor [protected] |
LLPointer<LLImageGL> LLButton::mImagep [protected] |
LLPointer<LLImageGL> LLButton::mImageSelected [protected] |
Definition at line 220 of file llbutton.h.
Referenced by LLJoystickCameraRotate::draw(), draw(), and setImageSelectedID().
LLUUID LLButton::mImageSelectedID [protected] |
LLString LLButton::mImageSelectedName [protected] |
Definition at line 244 of file llbutton.h.
Referenced by LLJoystick::getXML(), getXML(), setImageSelected(), and setImageSelectedID().
LLPointer<LLImageGL> LLButton::mImageUnselected [protected] |
Definition at line 216 of file llbutton.h.
Referenced by LLJoystickCameraZoom::draw(), LLJoystickCameraRotate::draw(), draw(), getImageUnselected(), LLButton(), and setImageUnselectedID().
LLUUID LLButton::mImageUnselectedID [protected] |
LLString LLButton::mImageUnselectedName [protected] |
Definition at line 243 of file llbutton.h.
Referenced by LLJoystick::getXML(), getXML(), setImageUnselected(), and setImageUnselectedID().
S32 LLButton::mLeftHPad [protected] |
void(* LLButton::mMouseDownCallback)(void *data) [protected] |
Referenced by handleMouseDown(), onCommit(), and setMouseDownCallback().
S32 LLButton::mMouseDownFrame [protected] |
LLFrameTimer LLButton::mMouseDownTimer [protected] |
Definition at line 207 of file llbutton.h.
Referenced by LLJoystick::getElapsedHeldDownTime(), getHeldDownTime(), handleHover(), LLJoystick::handleMouseDown(), handleMouseDown(), handleMouseUp(), init(), and onMouseCaptureLost().
void(* LLButton::mMouseUpCallback)(void *data) [protected] |
Referenced by handleMouseUp(), onCommit(), and setMouseUpCallback().
BOOL LLButton::mNeedsHighlight [protected] |
S32 LLButton::mRightHPad [protected] |
BOOL LLButton::mScaleImage [protected] |
Definition at line 258 of file llbutton.h.
Referenced by draw(), drawBorder(), LLJoystick::getXML(), getXML(), LLButton(), and setScaleImage().
LLColor4 LLButton::mSelectedBgColor [protected] |
LLUIString LLButton::mSelectedLabel [protected] |
Definition at line 221 of file llbutton.h.
Referenced by draw(), getLabelSelected(), LLButton(), setLabelArg(), and setLabelSelected().
LLColor4 LLButton::mSelectedLabelColor [protected] |
Definition at line 222 of file llbutton.h.
Referenced by draw(), init(), and setSelectedLabelColor().
BOOL LLButton::mToggleState [protected] |
Definition at line 257 of file llbutton.h.
Referenced by draw(), getToggleState(), getValue(), setToggleState(), setValue(), and toggleState().
LLColor4 LLButton::mUnselectedBgColor [protected] |
LLUIString LLButton::mUnselectedLabel [protected] |
Definition at line 217 of file llbutton.h.
Referenced by draw(), getLabelUnselected(), LLButton(), setLabelArg(), and setLabelUnselected().
LLColor4 LLButton::mUnselectedLabelColor [protected] |
Definition at line 218 of file llbutton.h.
Referenced by draw(), init(), and setUnselectedLabelColor().
LLFrameTimer LLButton::sFlashingTimer [static, protected] |