#include <lluictrl.h>
Public Types | |
typedef void(* | LLUICtrlCallback )(LLUICtrl *ctrl, void *userdata) |
typedef BOOL(* | LLUICtrlValidate )(LLUICtrl *ctrl, void *userdata) |
Public Member Functions | |
LLUICtrl () | |
LLUICtrl (const LLString &name, const LLRect &rect, BOOL mouse_opaque, LLUICtrlCallback callback, void *callback_userdata, U32 reshape=FOLLOWS_NONE) | |
~LLUICtrl () | |
void | initFromXML (LLXMLNodePtr node, LLView *parent) |
LLXMLNodePtr | getXML (bool save_children=true) const |
BOOL | setLabelArg (const LLString &key, const LLStringExplicit &text) |
void | onFocusReceived () |
void | onFocusLost () |
BOOL | isCtrl () const |
void | setTentative (BOOL b) |
BOOL | getTentative () const |
void | setFocus (BOOL b) |
BOOL | hasFocus () const |
virtual class LLCtrlSelectionInterface * | getSelectionInterface () |
virtual class LLCtrlListInterface * | getListInterface () |
virtual class LLCtrlScrollInterface * | getScrollInterface () |
virtual LLSD | getValue () const |
virtual BOOL | setTextArg (const LLString &key, const LLStringExplicit &text) |
virtual void | setIsChrome (BOOL is_chrome) |
virtual BOOL | acceptsTextInput () const |
virtual BOOL | isDirty () const |
virtual void | resetDirty () |
virtual void | onLostTop () |
virtual void | onCommit () |
virtual void | onTabInto () |
virtual void | clear () |
virtual void | setDoubleClickCallback (void(*cb)(void *)) |
virtual void | setColor (const LLColor4 &color) |
virtual void | setMinValue (LLSD min_value) |
virtual void | setMaxValue (LLSD max_value) |
BOOL | focusNextItem (BOOL text_entry_only) |
BOOL | focusPrevItem (BOOL text_entry_only) |
BOOL | focusFirstItem (BOOL prefer_text_fields=FALSE, BOOL focus_flash=TRUE) |
BOOL | focusLastItem (BOOL prefer_text_fields=FALSE) |
BOOL | getIsChrome () const |
void | setTabStop (BOOL b) |
BOOL | hasTabStop () const |
class LLPanel * | getParentPanel () const |
class LLUICtrl * | getParentUICtrl () const |
void * | getCallbackUserData () const |
void | setCallbackUserData (void *data) |
void | setCommitCallback (void(*cb)(LLUICtrl *, void *)) |
void | setValidateBeforeCommit (BOOL(*cb)(LLUICtrl *, void *)) |
void | setLostTopCallback (void(*cb)(LLUICtrl *, void *)) |
LLUICtrl * | findRootMostFocusRoot () const |
Static Public Member Functions | |
static LLView * | fromXML (LLXMLNodePtr node, LLView *parent, class LLUICtrlFactory *factory) |
Protected Attributes | |
void(* | mCommitCallback )(LLUICtrl *ctrl, void *userdata) |
void(* | mLostTopCallback )(LLUICtrl *ctrl, void *userdata) |
BOOL(* | mValidateCallback )(LLUICtrl *ctrl, void *userdata) |
void * | mCallbackUserData |
Private Attributes | |
BOOL | mTabStop |
BOOL | mIsChrome |
BOOL | mTentative |
Classes | |
class | DefaultTabGroupFirstSorter |
class | LLTextInputFilter |
Definition at line 64 of file lluictrl.h.
typedef void(* LLUICtrl::LLUICtrlCallback)(LLUICtrl *ctrl, void *userdata) |
typedef BOOL(* LLUICtrl::LLUICtrlValidate)(LLUICtrl *ctrl, void *userdata) |
LLUICtrl::LLUICtrl | ( | ) |
Definition at line 90 of file lluictrl.cpp.
Referenced by fromXML().
LLUICtrl::LLUICtrl | ( | const LLString & | name, | |
const LLRect & | rect, | |||
BOOL | mouse_opaque, | |||
LLUICtrlCallback | callback, | |||
void * | callback_userdata, | |||
U32 | reshape = FOLLOWS_NONE | |||
) |
LLUICtrl::~LLUICtrl | ( | ) |
Definition at line 118 of file lluictrl.cpp.
References LLView::getName(), LLFocusMgr::getTopCtrl(), gFocusMgr, llendl, llwarns, LLFocusMgr::releaseFocusIfNeeded(), and LLFocusMgr::removeTopCtrlWithoutCallback().
void LLUICtrl::initFromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent | |||
) | [virtual] |
Reimplemented from LLView.
Definition at line 527 of file lluictrl.cpp.
References hasTabStop(), LLView::initFromXML(), and setTabStop().
Referenced by LLWebBrowserCtrl::fromXML(), LLViewerTextEditor::fromXML(), LLTextureCtrl::fromXML(), LLNameListCtrl::fromXML(), LLNameEditor::fromXML(), LLJoystickAgentSlide::fromXML(), LLJoystickAgentTurn::fromXML(), LLInventoryPanel::fromXML(), LLColorSwatchCtrl::fromXML(), LLUICtrlLocate::fromXML(), fromXML(), LLTextEditor::fromXML(), LLTextBox::fromXML(), LLSpinCtrl::fromXML(), LLSliderCtrl::fromXML(), LLSlider::fromXML(), LLScrollListCtrl::fromXML(), LLScrollingPanelList::fromXML(), LLRadioGroup::fromXML(), LLMultiSliderCtrl::fromXML(), LLMultiSlider::fromXML(), LLMenuBarGL::fromXML(), LLSearchEditor::fromXML(), LLLineEditor::fromXML(), LLIconCtrl::fromXML(), LLFlyoutButton::fromXML(), LLComboBox::fromXML(), LLCheckBoxCtrl::fromXML(), LLButton::fromXML(), LLFloater::initFloaterXML(), and LLPanel::setPanelParameters().
LLXMLNodePtr LLUICtrl::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLView.
Reimplemented in LLButton, LLCheckBoxCtrl, LLComboBox, LLFloater, LLIconCtrl, LLLineEditor, LLMenuGL, LLMenuBarGL, LLMultiSlider, LLMultiSliderCtrl, LLPanel, LLRadioGroup, LLScrollableContainerView, LLScrollingPanelList, LLScrollListCtrl, LLSlider, LLSliderCtrl, LLSpinCtrl, LLTabContainer, LLTextBox, LLTextEditor, LLColorSwatchCtrl, LLInventoryPanel, LLJoystick, LLNameListCtrl, and LLTextureCtrl.
Definition at line 537 of file lluictrl.cpp.
References LLView::getXML(), hasTabStop(), and TRUE.
Referenced by LLTextureCtrl::getXML(), LLJoystick::getXML(), LLColorSwatchCtrl::getXML(), LLTextEditor::getXML(), LLTextBox::getXML(), LLSpinCtrl::getXML(), LLSliderCtrl::getXML(), LLSlider::getXML(), LLScrollListCtrl::getXML(), LLScrollingPanelList::getXML(), LLRadioGroup::getXML(), LLMultiSliderCtrl::getXML(), LLMultiSlider::getXML(), LLLineEditor::getXML(), LLIconCtrl::getXML(), LLComboBox::getXML(), LLCheckBoxCtrl::getXML(), and LLButton::getXML().
BOOL LLUICtrl::setLabelArg | ( | const LLString & | key, | |
const LLStringExplicit & | text | |||
) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLButton, LLCheckBoxCtrl, LLSearchEditor, LLMultiSliderCtrl, and LLSliderCtrl.
Definition at line 156 of file lluictrl.cpp.
References FALSE.
void LLUICtrl::onFocusReceived | ( | ) | [virtual] |
Reimplemented from LLFocusableElement.
Reimplemented in LLLineEditor, LLTearOffMenu, LLScrollListCtrl, LLTextEditor, LLFloaterInspect, LLFloaterTools, and LLWebBrowserCtrl.
Definition at line 207 of file lluictrl.cpp.
References LLFocusMgr::getLastKeyboardFocus(), LLView::getParent(), gFocusMgr, LLView::hasAncestor(), LLView::isCtrl(), onFocusReceived(), and LLFocusableElement::onFocusReceived().
Referenced by LLWebBrowserCtrl::onFocusReceived(), LLFloaterTools::onFocusReceived(), LLFloaterInspect::onFocusReceived(), onFocusReceived(), LLTextEditor::onFocusReceived(), LLScrollListCtrl::onFocusReceived(), LLTearOffMenu::onFocusReceived(), LLLineEditor::onFocusReceived(), LLPanel::setFocus(), and LLFocusMgr::setKeyboardFocus().
void LLUICtrl::onFocusLost | ( | ) | [virtual] |
Reimplemented from LLFocusableElement.
Reimplemented in LLComboBox, LLLineEditor, LLTearOffMenu, LLScrollListCtrl, LLTextEditor, LLFolderView, and LLWebBrowserCtrl.
Definition at line 229 of file lluictrl.cpp.
References LLView::getParent(), hasFocus(), LLView::isCtrl(), onFocusLost(), and LLFocusableElement::onFocusLost().
Referenced by LLWebBrowserCtrl::onFocusLost(), LLFolderView::onFocusLost(), onFocusLost(), LLTextEditor::onFocusLost(), LLScrollListCtrl::onFocusLost(), LLTearOffMenu::onFocusLost(), LLLineEditor::onFocusLost(), LLComboBox::onFocusLost(), and LLFocusMgr::setKeyboardFocus().
BOOL LLUICtrl::isCtrl | ( | ) | const [virtual] |
Reimplemented from LLView.
Definition at line 138 of file lluictrl.cpp.
References TRUE.
Referenced by LLFloaterView::getFocusedFloater(), and LLViewerWindow::handlePerFrameHover().
void LLUICtrl::setTentative | ( | BOOL | b | ) | [virtual] |
Reimplemented from LLView.
Reimplemented in LLCheckBoxCtrl, LLMultiSliderCtrl, LLSliderCtrl, and LLSpinCtrl.
Definition at line 587 of file lluictrl.cpp.
References mTentative.
Referenced by LLPanelObject::getState(), LLPanelFace::getState(), LLTextureCtrl::handleDragAndDrop(), LLSliderCtrl::onCommit(), LLMultiSliderCtrl::onCommit(), LLComboBox::onCommit(), LLTextureCtrl::onFloaterCommit(), LLComboBox::onTextEntry(), LLComboBox::setLabel(), LLSpinCtrl::setTentative(), LLSliderCtrl::setTentative(), LLMultiSliderCtrl::setTentative(), LLCheckBoxCtrl::setTentative(), and LLComboBox::updateSelection().
BOOL LLUICtrl::getTentative | ( | ) | const [virtual] |
Reimplemented from LLView.
Reimplemented in LLCheckBoxCtrl.
Definition at line 593 of file lluictrl.cpp.
References mTentative.
Referenced by LLPanelFaceSetTEFunctor::apply(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLLineEditor::draw(), LLButton::draw(), LLCheckBoxCtrl::getTentative(), and LLPanelFace::sendTexture().
void LLUICtrl::setFocus | ( | BOOL | b | ) | [virtual] |
Reimplemented from LLFocusableElement.
Reimplemented in LLComboBox, LLFloater, LLLineEditor, LLPanel, LLScrollListCtrl, LLSpinCtrl, LLTextEditor, LLFolderView, LLPanelLogin, and LLVoiceHotkeySelectDialog.
Definition at line 184 of file lluictrl.cpp.
References LLFocusMgr::childHasKeyboardFocus(), LLView::getEnabled(), gFocusMgr, hasFocus(), NULL, and LLFocusMgr::setKeyboardFocus().
Referenced by LLPanel::childSetFocus(), LLPanel::clearCtrls(), LLNotifyBox::close(), LLAlertDialog::createDialog(), focusFirstItem(), focusLastItem(), LLView::focusNext(), LLView::focusPrev(), LLWebBrowserCtrl::handleDoubleClick(), LLWebBrowserCtrl::handleMouseDown(), LLFloaterColorPicker::handleMouseDown(), LLSlider::handleMouseDown(), LLMultiSlider::handleMouseDown(), LLButton::handleMouseDown(), LLTabContainer::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLMenuGL::highlightNextItem(), LLMenuGL::highlightPrevItem(), LLNotifyBox::moveToBack(), LLFloaterLagMeter::onClickShrink(), LLFloaterColorPicker::postBuild(), LLFolderView::setFocus(), LLTextEditor::setFocus(), LLSpinCtrl::setFocus(), LLScrollListCtrl::setFocus(), LLPanel::setFocus(), LLLineEditor::setFocus(), LLFloater::setFocus(), LLComboBox::setFocus(), LLFocusMgr::setKeyboardFocus(), LLFloaterColorPicker::setMouseDownInHueRegion(), LLFloaterColorPicker::setMouseDownInLumRegion(), and LLFloaterColorPicker::setMouseDownInSwatch().
BOOL LLUICtrl::hasFocus | ( | ) | const [virtual] |
Reimplemented from LLFocusableElement.
Definition at line 179 of file lluictrl.cpp.
References LLFocusMgr::childHasKeyboardFocus(), and gFocusMgr.
Referenced by LLPanel::childHasFocus(), LLFloater::close(), LLFloater::closeFocusedFloater(), LLWebBrowserCtrl::draw(), LLBottomPanel::draw(), LLTextureCtrl::draw(), LLScriptEdCore::draw(), LLColorSwatchCtrl::draw(), LLSlider::draw(), LLMultiSlider::draw(), LLLineEditor::draw(), LLFloater::draw(), LLButton::draw(), LLTextEditor::drawSelectionBackground(), focusFirstItem(), focusLastItem(), LLView::focusPrev(), LLFloaterView::getFocusedFloater(), LLFloaterTexturePicker::handleKeyHere(), LLInventoryView::handleKeyHere(), LLFolderView::handleKeyHere(), LLFloaterLandmark::handleKeyHere(), LLSpinCtrl::handleKeyHere(), LLScrollListCtrl::handleKeyHere(), LLComboBox::handleKeyHere(), LLChatBar::inputEditorHasFocus(), LLMenuGL::isOpen(), LLMenuGL::jumpKeysActive(), LLFloaterPreference::onBtnApply(), LLFloaterPreference::onBtnCancel(), LLFloaterPreference::onBtnOK(), onFocusLost(), LLFloaterPostcard::onMsgFormFocusRecieved(), LLTextEditor::reshape(), LLPanelLogin::setFocus(), LLFolderView::setFocus(), setFocus(), LLTextEditor::setFocus(), LLLineEditor::setFocus(), LLLineEditor::setText(), LLSpinCtrl::setValue(), LLTextEditor::updateAllowingLanguageInput(), LLLineEditor::updateAllowingLanguageInput(), and LLFloaterSettingsDebug::updateControl().
LLCtrlSelectionInterface * LLUICtrl::getSelectionInterface | ( | ) | [virtual] |
Reimplemented in LLComboBox, LLRadioGroup, and LLScrollListCtrl.
Definition at line 162 of file lluictrl.cpp.
References NULL.
Referenced by LLPanel::childGetSelectionInterface(), LLPrefsVoiceLogic::init(), and LLPrefsVoiceLogic::onEarLocationCommit().
LLCtrlListInterface * LLUICtrl::getListInterface | ( | ) | [virtual] |
Reimplemented in LLComboBox, and LLScrollListCtrl.
Definition at line 168 of file lluictrl.cpp.
References NULL.
Referenced by LLPanel::childGetListInterface().
LLCtrlScrollInterface * LLUICtrl::getScrollInterface | ( | ) | [virtual] |
Reimplemented in LLScrollListCtrl.
Definition at line 174 of file lluictrl.cpp.
References NULL.
Referenced by LLPanel::childGetScrollInterface().
LLSD LLUICtrl::getValue | ( | ) | const [virtual] |
Reimplemented from LLView.
Reimplemented in LLButton, LLCheckBoxCtrl, LLComboBox, LLIconCtrl, LLLineEditor, LLSearchEditor, LLMultiSlider, LLMultiSliderCtrl, LLRadioGroup, LLScrollListCtrl, LLSlider, LLSliderCtrl, LLSpinCtrl, LLTextBox, LLTextEditor, LLColorSwatchCtrl, LLNameEditor, and LLTextureCtrl.
Definition at line 144 of file lluictrl.cpp.
Referenced by commit_slider_zoom(), LLPanelActiveSpeakers::onChangeModerationMode(), LLScriptEdCore::onCheckLock(), LLChatBar::onClickSay(), LLPanelVoiceDeviceSettings::onCommitInputDevice(), LLPanelVoiceDeviceSettings::onCommitOutputDevice(), LLScriptEdCore::onHelpComboCommit(), LLPanelActiveSpeakers::onModeratorMuteText(), LLPanelActiveSpeakers::onModeratorMuteVoice(), LLPanelWeb::onSelectBrowser(), LLFloaterColorPicker::onTextEntryChanged(), LLFloaterIMPanel::onVolumeChange(), set_language(), LLPanelGeneral::set_start_location(), LLSavedSettingsGlue::setBOOL(), LLSavedSettingsGlue::setF32(), LLSavedSettingsGlue::setS32(), LLSavedSettingsGlue::setString(), and LLSavedSettingsGlue::setU32().
BOOL LLUICtrl::setTextArg | ( | const LLString & | key, | |
const LLStringExplicit & | text | |||
) | [virtual] |
Reimplemented in LLSearchEditor, and LLTextBox.
Definition at line 150 of file lluictrl.cpp.
References FALSE.
Referenced by LLPanel::childSetTextArg().
void LLUICtrl::setIsChrome | ( | BOOL | is_chrome | ) | [virtual] |
Reimplemented in LLFloater.
Definition at line 299 of file lluictrl.cpp.
References mIsChrome.
Referenced by LLPanel::init(), LLBottomPanel::LLBottomPanel(), LLChatBar::LLChatBar(), LLMediaRemoteCtrl::LLMediaRemoteCtrl(), LLNotifyBox::LLNotifyBox(), LLOverlayBar::LLOverlayBar(), LLStatusBar::LLStatusBar(), LLToolBar::LLToolBar(), LLVoiceRemoteCtrl::LLVoiceRemoteCtrl(), and LLFloater::setIsChrome().
BOOL LLUICtrl::acceptsTextInput | ( | ) | const [virtual] |
Reimplemented in LLComboBox, LLLineEditor, and LLTextEditor.
Definition at line 272 of file lluictrl.cpp.
References FALSE.
Referenced by LLPanel::handleKeyHere(), LLFloaterPreference::onBtnApply(), LLFloaterPreference::onBtnCancel(), LLFloaterPreference::onBtnOK(), LLUICtrl::LLTextInputFilter::operator()(), and start_gesture().
BOOL LLUICtrl::isDirty | ( | ) | const [virtual] |
Reimplemented in LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLScrollListCtrl, LLSpinCtrl, LLTextEditor, LLPanelEditWearable, LLFloaterCustomize, LLFloaterLandmark, LLFloaterTexturePicker, and LLTextureCtrl.
Definition at line 278 of file lluictrl.cpp.
References FALSE.
Referenced by LLPanelGroupGeneral::updateChanged().
void LLUICtrl::resetDirty | ( | ) | [virtual] |
Reimplemented in LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLScrollListCtrl, LLPanelClassified, and LLTextureCtrl.
Definition at line 284 of file lluictrl.cpp.
Referenced by LLTextEditor::LLTextEditor(), LLPanelClassified::resetDirty(), LLTextEditor::setText(), and LLTextEditor::setWText().
void LLUICtrl::onLostTop | ( | ) | [virtual] |
Reimplemented in LLComboBox.
Definition at line 250 of file lluictrl.cpp.
References mCallbackUserData, and mLostTopCallback.
Referenced by LLFocusMgr::setTopCtrl().
void LLUICtrl::onCommit | ( | ) | [virtual] |
Reimplemented in LLButton, LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLMultiSliderCtrl, LLSliderCtrl, LLSpinCtrl, LLFloaterNameDesc, and LLPreview.
Definition at line 129 of file lluictrl.cpp.
References mCallbackUserData, and mCommitCallback.
Referenced by LLScrollListCtrl::commitIfChanged(), LLScrollListCtrl::handleClick(), LLTextureCtrl::handleDragAndDrop(), LLMultiSlider::handleHover(), LLScrollListCtrl::handleKeyHere(), LLRadioGroup::handleKeyHere(), LLPanel::handleKeyHere(), LLMultiSlider::handleKeyHere(), LLMultiSlider::handleMouseDown(), LLScrollListCtrl::handleMouseUp(), LLScrollListCtrl::handleUnicodeCharHere(), LLFloaterPreference::onBtnApply(), LLFloaterPreference::onBtnCancel(), LLFloaterPreference::onBtnOK(), LLColorSwatchCtrl::onColorChanged(), LLSpinCtrl::onCommit(), LLSliderCtrl::onCommit(), LLMultiSliderCtrl::onCommit(), LLLineEditor::onCommit(), LLComboBox::onCommit(), LLCheckBoxCtrl::onCommit(), LLButton::onCommit(), LLTextureCtrl::onFloaterCommit(), LLTextEditor::onFocusLost(), LLScrollListCtrl::selectNextItem(), and LLSlider::setValueAndCommit().
void LLUICtrl::onTabInto | ( | ) | [virtual] |
Reimplemented in LLLineEditor, LLMultiSliderCtrl, LLSliderCtrl, LLSpinCtrl, and LLTextEditor.
Definition at line 289 of file lluictrl.cpp.
Referenced by focusFirstItem(), focusLastItem(), LLView::focusNext(), and LLView::focusPrev().
void LLUICtrl::clear | ( | void | ) | [virtual] |
Reimplemented in LLCheckBoxCtrl, LLComboBox, LLLineEditor, LLSearchEditor, LLMultiSlider, LLMultiSliderCtrl, LLSliderCtrl, LLSpinCtrl, LLTextEditor, LLPanelGroupInvite, and LLTextureCtrl.
Definition at line 294 of file lluictrl.cpp.
Referenced by LLMultiSlider::clear(), LLPanel::clearCtrls(), LLPanelVolume::getState(), and LLPreviewTexture::onFileLoadedForSave().
void LLUICtrl::setDoubleClickCallback | ( | void(*)(void *) | cb | ) | [virtual] |
Reimplemented in LLScrollListCtrl.
Definition at line 599 of file lluictrl.cpp.
Referenced by LLPanel::childSetDoubleClickCallback(), and LLPanelGroupMembersSubTab::postBuildSubTab().
void LLUICtrl::setColor | ( | const LLColor4 & | color | ) | [virtual] |
Reimplemented in LLButton, LLIconCtrl, and LLTextBox.
Definition at line 604 of file lluictrl.cpp.
Referenced by LLPanel::childSetColor(), LLGroupNotifyBox::LLGroupNotifyBox(), and LLPanelVolume::onLightCancelColor().
void LLUICtrl::setMinValue | ( | LLSD | min_value | ) | [virtual] |
Reimplemented in LLMultiSlider, LLMultiSliderCtrl, LLSlider, LLSliderCtrl, and LLSpinCtrl.
Definition at line 608 of file lluictrl.cpp.
Referenced by LLPanel::childSetMinValue().
void LLUICtrl::setMaxValue | ( | LLSD | max_value | ) | [virtual] |
Reimplemented in LLMultiSlider, LLMultiSliderCtrl, LLSlider, LLSliderCtrl, and LLSpinCtrl.
Definition at line 612 of file lluictrl.cpp.
Referenced by LLPanel::childSetMaxValue().
Definition at line 454 of file lluictrl.cpp.
References LLViewQuery::addPreFilter(), LLView::focusNext(), LLSingleton< T >::getInstance(), LLView::getTabOrderQuery(), and LLUI::sConfigGroup.
Referenced by LLPanel::handleKeyHere(), and LLAlertDialog::handleKeyHere().
Definition at line 466 of file lluictrl.cpp.
References LLViewQuery::addPreFilter(), LLView::focusPrev(), LLSingleton< T >::getInstance(), LLView::getTabOrderQuery(), and LLUI::sConfigGroup.
Referenced by LLPanel::handleKeyHere(), and LLAlertDialog::handleKeyHere().
Definition at line 363 of file lluictrl.cpp.
References LLViewQuery::addPreFilter(), FALSE, LLSingleton< T >::getInstance(), LLView::getTabOrderQuery(), gFocusMgr, hasFocus(), onTabInto(), LLViewQuery::run(), setFocus(), LLViewQuery::setSorter(), LLFocusMgr::triggerFocusFlash(), and TRUE.
Referenced by LLScrollableContainerView::draw(), LLRadioGroup::draw(), LLFloaterTexturePicker::handleKeyHere(), LLFloaterLandmark::handleKeyHere(), LLTabContainer::handleMouseUp(), LLViewerWindow::handlePerFrameHover(), LLPanel::setFocus(), LLFloaterSnapshot::show(), and LLInventoryView::startSearch().
Definition at line 418 of file lluictrl.cpp.
References LLViewQuery::addPreFilter(), FALSE, LLSingleton< T >::getInstance(), LLView::getTabOrderQuery(), gFocusMgr, hasFocus(), onTabInto(), LLViewQuery::run(), setFocus(), LLFocusMgr::triggerFocusFlash(), and TRUE.
BOOL LLUICtrl::getIsChrome | ( | ) | const |
Definition at line 305 of file lluictrl.cpp.
References LLView::getParent(), LLView::isCtrl(), and mIsChrome.
Referenced by LLFloater::draw(), LLSlider::handleMouseDown(), LLMultiSlider::handleMouseDown(), LLButton::handleMouseDown(), LLViewerWindow::handlePerFrameHover(), LLFloater::initFloater(), and LLFloater::setFocus().
void LLUICtrl::setTabStop | ( | BOOL | b | ) |
Definition at line 260 of file lluictrl.cpp.
References mTabStop.
Referenced by LLScrollListCtrl::addColumn(), LLTabContainer::addTabPanel(), LLFloater::buildButtons(), LLScrollableContainerView::init(), LLPanel::init(), LLTabContainer::initButtons(), LLFloaterScriptDebugOutput::initFloater(), initFromXML(), LLColumnHeader::LLColumnHeader(), LLFloaterScriptDebugOutput::LLFloaterScriptDebugOutput(), LLFloaterView::LLFloaterView(), LLFolderView::LLFolderView(), LLFolderViewItem::LLFolderViewItem(), LLGroupNotifyBox::LLGroupNotifyBox(), LLIconCtrl::LLIconCtrl(), LLMenuGL::LLMenuGL(), LLNotifyBox::LLNotifyBox(), LLPanelLogin::LLPanelLogin(), LLRadioCtrl::LLRadioCtrl(), LLScrollbar::LLScrollbar(), LLSpinCtrl::LLSpinCtrl(), LLTextBox::LLTextBox(), LLUICtrlLocate::LLUICtrlLocate(), LLPanelGroupNotices::postBuild(), LLTabContainer::selectTab(), LLScrollListCtrl::setEnabled(), LLLineEditor::setEnabled(), LLRadioCtrl::setValue(), LLFloater::updateButtons(), LLFlyoutButton::updateLayout(), and LLComboBox::updateLayout().
BOOL LLUICtrl::hasTabStop | ( | ) | const |
Definition at line 266 of file lluictrl.cpp.
References mTabStop.
Referenced by getXML(), LLViewerTextEditor::handleMouseDown(), LLTextEditor::handleMouseDown(), LLButton::handleMouseDown(), LLViewerWindow::handlePerFrameHover(), and initFromXML().
LLPanel * LLUICtrl::getParentPanel | ( | ) | const |
Definition at line 556 of file lluictrl.cpp.
References LLView::getParent().
LLUICtrl * LLUICtrl::getParentUICtrl | ( | ) | const |
Definition at line 569 of file lluictrl.cpp.
References LLView::getParent(), LLView::isCtrl(), and NULL.
Referenced by findRootMostFocusRoot(), and LLViewerWindow::handlePerFrameHover().
void* LLUICtrl::getCallbackUserData | ( | ) | const [inline] |
Definition at line 137 of file lluictrl.h.
References mCallbackUserData.
Referenced by LLPanelGroupSubTab::buildActionCategory(), and LLScrollListCtrl::onClickColumn().
void LLUICtrl::setCallbackUserData | ( | void * | data | ) | [inline] |
Reimplemented in LLTextBox.
Definition at line 138 of file lluictrl.h.
References mCallbackUserData.
Referenced by LLTabContainer::addTabPanel(), LLPanelGroupSubTab::buildActionCategory(), LLPanel::childSetCommitCallback(), LLPanel::childSetDoubleClickCallback(), LLPanel::childSetKeystrokeCallback(), LLPanel::childSetUserData(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLColumnHeader::LLColumnHeader(), LLJoystick::LLJoystick(), LLVoiceRemoteCtrl::postBuild(), LLPreviewGesture::postBuild(), LLPanelPlace::postBuild(), LLPanelPick::postBuild(), LLPanelObject::postBuild(), LLPanelLandMedia::postBuild(), LLPanelGroupVoting::postBuild(), LLPanelGroupSubTab::postBuild(), LLPanelGroupNotices::postBuild(), LLPanelGroupLandMoney::postBuild(), LLPanelGroupInvite::postBuild(), LLPanelGroupGeneral::postBuild(), LLPanelGroup::postBuild(), LLPanelGroupTab::postBuild(), LLPanelFace::postBuild(), LLPanelEvent::postBuild(), LLPanelDisplay::postBuild(), LLPanelClassified::postBuild(), LLFloaterIMPanel::postBuild(), LLFloaterSettingsDebug::postBuild(), LLFloaterNewIM::postBuild(), LLPanelLandOptions::postBuild(), LLFloaterMediaBrowser::postBuild(), LLFloaterColorPicker::postBuild(), LLFloaterAnimPreview::postBuild(), LLPanelActiveSpeakers::postBuild(), LLChatBar::postBuild(), LLPanelGroupActionsSubTab::postBuildSubTab(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLPanelGroupMembersSubTab::postBuildSubTab(), LLCurrencyUIManager::Impl::prepare(), LLChatBar::setGestureCombo(), LLDebugVarMessageBox::show(), and LLFloaterBuyLandUI::updateCovenantInfo().
void LLUICtrl::setCommitCallback | ( | void(*)(LLUICtrl *, void *) | cb | ) | [inline] |
Definition at line 140 of file lluictrl.h.
References mCommitCallback.
Referenced by LLPanelGroupSubTab::buildActionCategory(), LLPanel::childSetCommitCallback(), LLPanelGroupMembersSubTab::handleMemberSelect(), LLFloaterWindLight::initCallbacks(), LLFloaterWater::initCallbacks(), LLColumnHeader::LLColumnHeader(), LLFloaterPostProcess::LLFloaterPostProcess(), LLPanelLogin::LLPanelLogin(), LLPreviewGesture::postBuild(), LLPanelPick::postBuild(), LLPanelObject::postBuild(), LLPanelLandMedia::postBuild(), LLPanelGroupNotices::postBuild(), LLPanelGroupLandMoney::postBuild(), LLPanelGroupInvite::postBuild(), LLPanelGroupGeneral::postBuild(), LLPanelGeneral::postBuild(), LLPanelFace::postBuild(), LLPanelDisplay::postBuild(), LLPanelClassified::postBuild(), LLFloaterIMPanel::postBuild(), LLFloaterSettingsDebug::postBuild(), LLPanelLandOptions::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterMediaBrowser::postBuild(), LLFloaterColorPicker::postBuild(), LLPanelActiveSpeakers::postBuild(), LLPanelGroupActionsSubTab::postBuildSubTab(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLPanelGroupMembersSubTab::postBuildSubTab(), LLChatBar::setGestureCombo(), LLDebugVarMessageBox::show(), and LLFloaterBuyLandUI::updateCovenantInfo().
Definition at line 141 of file lluictrl.h.
References mValidateCallback.
Referenced by LLPanel::childSetValidate(), and LLPanelObject::postBuild().
void LLUICtrl::setLostTopCallback | ( | void(*)(LLUICtrl *, void *) | cb | ) | [inline] |
Definition at line 142 of file lluictrl.h.
References mLostTopCallback.
Referenced by LLFolderView::startRenamingSelectedItem().
LLView * LLUICtrl::fromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
class LLUICtrlFactory * | factory | |||
) | [static] |
Reimplemented from LLView.
Reimplemented in LLButton, LLCheckBoxCtrl, LLComboBox, LLFlyoutButton, LLFloater, LLIconCtrl, LLLineEditor, LLSearchEditor, LLMenuGL, LLMenuBarGL, LLMultiSlider, LLMultiSliderCtrl, LLPanel, LLRadioGroup, LLScrollableContainerView, LLScrollingPanelList, LLScrollListCtrl, LLSlider, LLSliderCtrl, LLSpinCtrl, LLTabContainer, LLTextBox, LLTextEditor, LLUICtrlLocate, LLColorSwatchCtrl, LLInventoryPanel, LLJoystickAgentTurn, LLJoystickAgentSlide, LLNameEditor, LLNameListCtrl, LLTextureCtrl, LLViewerTextEditor, and LLWebBrowserCtrl.
Definition at line 546 of file lluictrl.cpp.
References initFromXML(), and LLUICtrl().
LLUICtrl * LLUICtrl::findRootMostFocusRoot | ( | ) | const |
Definition at line 478 of file lluictrl.cpp.
References getParentUICtrl(), LLView::isFocusRoot(), and NULL.
Referenced by LLWebBrowserCtrl::draw(), LLPanel::handleKeyHere(), and LLViewerWindow::handlePerFrameHover().
void(* LLUICtrl::mCommitCallback)(LLUICtrl *ctrl, void *userdata) [protected] |
Reimplemented in LLWearableSaveAsDialog, and LLMakeOutfitDialog.
Referenced by onCommit(), and setCommitCallback().
void(* LLUICtrl::mLostTopCallback)(LLUICtrl *ctrl, void *userdata) [protected] |
Referenced by onLostTop(), and setLostTopCallback().
BOOL(* LLUICtrl::mValidateCallback)(LLUICtrl *ctrl, void *userdata) [protected] |
Referenced by setValidateBeforeCommit().
void* LLUICtrl::mCallbackUserData [protected] |
Reimplemented in LLScrollbar, LLTextBox, LLWearableSaveAsDialog, LLMakeOutfitDialog, and LLFloaterMuteObjectUI.
Definition at line 162 of file lluictrl.h.
Referenced by LLTextureCtrl::allowDrop(), LLLineEditor::cut(), LLLineEditor::doDelete(), LLTextureCtrl::doDrop(), getCallbackUserData(), LLScrollListCtrl::handleDoubleClick(), LLButton::handleHover(), LLLineEditor::handleKeyHere(), LLButton::handleKeyHere(), LLSlider::handleMouseDown(), LLMultiSlider::handleMouseDown(), LLButton::handleMouseDown(), LLSlider::handleMouseUp(), LLMultiSlider::handleMouseUp(), LLButton::handleMouseUp(), LLLineEditor::handleUnicodeCharHere(), LLButton::handleUnicodeCharHere(), LLButton::init(), LLSearchEditor::onClearSearch(), LLColorSwatchCtrl::onColorChanged(), onCommit(), LLButton::onCommit(), LLTextureCtrl::onFloaterCommit(), onLostTop(), LLSearchEditor::onSearchEdit(), LLComboBox::onTextEntry(), LLLineEditor::paste(), LLScrollListCtrl::selectItemAt(), setCallbackUserData(), LLSearchEditor::setSearchCallback(), LLLineEditor::updatePreedit(), and LLComboBox::updateSelection().
BOOL LLUICtrl::mTabStop [private] |
BOOL LLUICtrl::mIsChrome [private] |
BOOL LLUICtrl::mTentative [private] |