#include <lllineeditor.h>
Inheritance diagram for LLLineEditor:
Definition at line 65 of file lllineeditor.h.
LLLineEditor::LLLineEditor | ( | const LLString & | name, | |
const LLRect & | rect, | |||
const LLString & | default_text = LLString::null , |
|||
const LLFontGL * | glfont = NULL , |
|||
S32 | max_length_bytes = 254 , |
|||
void(*)(LLUICtrl *caller, void *user_data) | commit_callback = NULL , |
|||
void(*)(LLLineEditor *caller, void *user_data) | keystroke_callback = NULL , |
|||
void(*)(LLUICtrl *caller, void *user_data) | focus_lost_callback = NULL , |
|||
void * | userdata = NULL , |
|||
LLLinePrevalidateFunc | prevalidate_func = NULL , |
|||
LLViewBorder::EBevel | border_bevel = LLViewBorder::BEVEL_IN , |
|||
LLViewBorder::EStyle | border_style = LLViewBorder::STYLE_LINE , |
|||
S32 | border_thickness = 1 | |||
) |
Definition at line 117 of file lllineeditor.cpp.
References LLView::addChild(), FALSE, FOLLOWS_BOTTOM, FOLLOWS_LEFT, FOLLOWS_RIGHT, FOLLOWS_TOP, LLRectBase< Type >::getHeight(), LLRectBase< Type >::getWidth(), LLUIString::length(), llassert, mBorder, mBorderLeft, mBorderRight, mBorderThickness, mCurrentHistoryLine, mGLFont, mHaveHistory, mLineHistory, mMaxHPixels, mMinHPixels, LLView::mRect, mScrollTimer, mText, LLFrameTimer::reset(), setCursor(), LLUICtrl::setFocusLostCallback(), setText(), LLFontGL::sSansSerifSmall, and UI_LINEEDITOR_H_PAD.
Referenced by fromXML().
LLLineEditor::~LLLineEditor | ( | ) | [virtual] |
Definition at line 203 of file lllineeditor.cpp.
References FALSE, gEditMenuHandler, gFocusMgr, mCommitOnFocusLost, NULL, and LLFocusMgr::releaseFocusIfNeeded().
BOOL LLLineEditor::acceptsTextInput | ( | ) | const [virtual] |
Definition at line 727 of file lllineeditor.cpp.
References deleteSelection(), LLUIString::erase(), FALSE, getCursor(), LLKeyboard::getInsertMode(), LLUIString::getString(), LLView::getWindow(), gKeyboard, hasSelection(), LLWindow::hideCursorUntilMouseMove(), LLUIString::insert(), LLUIString::length(), LL_KIM_OVERWRITE, mMaxLengthBytes, mMaxLengthChars, mText, reportBadKeystroke(), S32, setCursor(), TRUE, and wchar_utf8_length().
Referenced by handleUnicodeCharHere().
BOOL LLLineEditor::canCopy | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 978 of file lllineeditor.cpp.
References hasSelection(), and mDrawAsterixes.
Referenced by copy(), and handleSpecialKey().
BOOL LLLineEditor::canCut | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 944 of file lllineeditor.cpp.
References hasSelection(), mDrawAsterixes, and mReadOnly.
Referenced by cut(), and handleSpecialKey().
BOOL LLLineEditor::canDeselect | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 434 of file lllineeditor.cpp.
References hasSelection().
BOOL LLLineEditor::canDoDelete | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 1419 of file lllineeditor.cpp.
References getCursor(), hasSelection(), LLUIString::length(), mPassDelete, mReadOnly, and mText.
Referenced by doDelete(), and handleSpecialKey().
BOOL LLLineEditor::canPaste | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 995 of file lllineeditor.cpp.
References LLClipboard::canPasteString(), gClipboard, and mReadOnly.
Referenced by handleSpecialKey(), and paste().
BOOL LLLineEditor::canSelectAll | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 464 of file lllineeditor.cpp.
References TRUE.
Referenced by handleSelectionKey().
void LLLineEditor::clear | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 1699 of file lllineeditor.cpp.
References LLUIString::clear(), mText, and setCursor().
Referenced by LLPanelGroupRolesSubTab::activate(), LLSpinCtrl::clear(), LLSearchEditor::clear(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLAlertDialog::setDrawAsterixes(), LLPanelGroupNotices::showNotice(), and LLPanelGroupRolesSubTab::update().
void LLLineEditor::copy | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 985 of file lllineeditor.cpp.
References canCopy(), LLClipboard::copyFromSubstring(), gClipboard, LLUIString::getWString(), llmin(), mSelectionEnd, mSelectionStart, mText, and S32.
Referenced by handleSpecialKey().
void LLLineEditor::cut | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 950 of file lllineeditor.cpp.
References canCut(), LLClipboard::copyFromSubstring(), deleteSelection(), LLLineEditorRollback::doRollback(), gClipboard, LLUIString::getWString(), llmin(), LLUICtrl::mCallbackUserData, mKeystrokeCallback, mPrevalidateFunc, mSelectionEnd, mSelectionStart, mText, reportBadKeystroke(), and S32.
Referenced by handleSpecialKey().
void LLLineEditor::deleteSelection | ( | ) |
Definition at line 931 of file lllineeditor.cpp.
References deselect(), LLUIString::erase(), hasSelection(), llmin(), mReadOnly, mSelectionEnd, mSelectionStart, mText, S32, and setCursor().
Referenced by addChar(), cut(), doDelete(), handleSpecialKey(), and paste().
void LLLineEditor::deselect | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 440 of file lllineeditor.cpp.
References FALSE, mIsSelecting, mSelectionEnd, and mSelectionStart.
Referenced by deleteSelection(), handleKeyHere(), handleMouseDown(), handleUnicodeCharHere(), paste(), LLFloaterIMPanel::selectNone(), setCursorToEnd(), and setText().
void LLLineEditor::doDelete | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 1424 of file lllineeditor.cpp.
References canDoDelete(), deleteSelection(), LLLineEditorRollback::doRollback(), getCursor(), LLUIString::getWString(), hasSelection(), LLUIString::length(), LLUICtrl::mCallbackUserData, mKeystrokeCallback, mPrevalidateFunc, mText, removeChar(), reportBadKeystroke(), and setCursor().
Referenced by handleSpecialKey().
void LLLineEditor::draw | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 1459 of file lllineeditor.cpp.
References LLFontGL::BOTTOM, CURSOR_FLASH_DELAY, LLView::draw(), f, FALSE, findPixelNearestPos(), getCursor(), LLFrameTimer::getElapsedTimeF32(), LLRectBase< Type >::getHeight(), LLKeyboard::getInsertMode(), LLFocusMgr::getKeyboardFocus(), LLView::getScreenRect(), LLUIString::getString(), LLView::getVisible(), LLFontGL::getWidth(), LLRectBase< Type >::getWidth(), LLView::getWindow(), LLUIString::getWString(), gFocusMgr, gKeyboard, gl_rect_2d(), gShowTextEditCursor, hasSelection(), i, LABEL_HPAD, LLFontGL::LEFT, LLUIString::length(), LL_KIM_OVERWRITE, llmax(), llmin(), llround(), mBorder, mBorderThickness, mDrawAsterixes, mFgColor, mFocusBgColor, mGLFont, mKeystrokeTimer, mLabel, mLastIMEPosition, LLRectBase< Type >::mLeft, mMaxHPixels, mMinHPixels, mReadOnly, mReadOnlyBgColor, mReadOnlyFgColor, LLView::mRect, mScrollHPos, mSelectionStart, LLUICtrl::mTentative, mTentativeFgColor, mText, LLRectBase< Type >::mTop, LLVector2::mV, LLColor4::mV, mWriteableBgColor, LLCoord::mX, LLCoord::mY, LLFontGL::NORMAL, LLFontGL::render(), S32, S32_MAX, LLViewBorder::setKeyboardFocusHighlight(), LLWindow::setLanguageTextInput(), LLUI::sGLScaleFactor, TRUE, UI_LINEEDITOR_CURSOR_THICKNESS, UI_LINEEDITOR_V_PAD, utf8str_to_wstring(), VX, VY, and width.
Referenced by LLPanelGroupLandMoney::impl::setYourContributionTextField().
void LLLineEditor::endSelection | ( | ) |
Definition at line 455 of file lllineeditor.cpp.
References FALSE, getCursor(), mIsSelecting, and mSelectionEnd.
Referenced by onMouseCaptureLost(), setFocus(), and LLComboBox::updateSelection().
Definition at line 773 of file lllineeditor.cpp.
References getCursor(), mIsSelecting, mSelectionEnd, setCursor(), and startSelection().
Referenced by handleSelectionKey().
Definition at line 1686 of file lllineeditor.cpp.
References getCursor(), LLFontGL::getWidth(), LLUIString::getWString(), mGLFont, mMinHPixels, mScrollHPos, mText, and S32.
Referenced by draw(), handleHover(), and setCursor().
LLView * LLLineEditor::fromXML | ( | LLXMLNodePtr | node, | |
LLView * | parent, | |||
LLUICtrlFactory * | factory | |||
) | [static] |
Reimplemented in LLNameEditor.
Definition at line 2163 of file lllineeditor.cpp.
References LLViewBorder::BEVEL_IN, LLView::createRect(), FALSE, LLViewBorder::getBevelFromAttribute(), LLUICtrl::initFromXML(), LLLineEditor(), NULL, prevalidateAlphaNum(), prevalidateAlphaNumSpace(), prevalidateASCII(), prevalidateFloat(), prevalidateInt(), prevalidateNonNegativeS32(), prevalidatePositiveS32(), prevalidatePrintableNoSpace(), prevalidatePrintableNotPipe(), S32, LLView::selectFont(), setColorParameters(), setCommitOnFocusLost(), setHandleEditKeysDirectly(), setLabel(), setPrevalidate(), setSelectAllonFocusReceived(), LLViewBorder::STYLE_LINE, LLViewBorder::STYLE_TEXTURE, LLStringBase< char >::toLower(), and TRUE.
S32 LLLineEditor::getCursor | ( | ) | [inline] |
Definition at line 149 of file lllineeditor.h.
References mCursorPos.
Referenced by addChar(), canDoDelete(), doDelete(), draw(), endSelection(), extendSelection(), findPixelNearestPos(), handleHover(), handleMouseDown(), handleMouseUp(), handleSelectionKey(), handleSpecialKey(), paste(), removeChar(), setCursor(), setText(), startSelection(), and LLComboBox::updateSelection().
const LLColor4& LLLineEditor::getCursorColor | ( | ) | const [inline] |
const LLColor4& LLLineEditor::getFgColor | ( | ) | const [inline] |
const LLColor4& LLLineEditor::getFocusBgColor | ( | ) | const [inline] |
S32 LLLineEditor::getLength | ( | ) | const [inline] |
Definition at line 147 of file lllineeditor.h.
References LLUIString::length(), and mText.
Referenced by nextWordPos(), LLPanelDirBrowser::onKeystrokeName(), and LLPanelDirClassified::onKeystrokeNameClassified().
const LLColor4& LLLineEditor::getReadOnlyBgColor | ( | ) | const [inline] |
const LLColor4& LLLineEditor::getReadOnlyFgColor | ( | ) | const [inline] |
const LLColor4& LLLineEditor::getTentativeFgColor | ( | ) | const [inline] |
const LLString& LLLineEditor::getText | ( | ) | const [inline] |
Definition at line 145 of file lllineeditor.h.
References LLUIString::getString(), and mText.
Referenced by LLPanelGroupGeneral::apply(), LLPanelGroupLandMoney::impl::applyContribution(), LLPanelClassified::canClose(), LLPanelClassified::confirmPublish(), LLPanelGroupLandMoney::impl::contributionCommitCallback(), LLPreviewGesture::createGesture(), LLFloaterAvatarPicker::editKeystroke(), LLFolderView::finishRenamingItem(), LLPanelClassified::getClassifiedName(), LLChatBar::getCurrentChat(), LLPanelPick::getPickName(), LLComboBox::getSimple(), getValue(), LLPanelAvatarAdvanced::getWantSkills(), LLPanelGroupSubTab::handleClickSearch(), LLPanelGroupSubTab::handleSearchKeystroke(), LLLineEditorRollback::LLLineEditorRollback(), LLPanelLogin::mungePassword(), LLFloaterImport::onBtnOK(), LLPanelAvatar::onClickAddFriend(), LLPanelAvatar::onClickCSR(), LLPanelAvatar::onClickIM(), LLPanelAvatar::onClickMute(), LLPanelAvatar::onClickTrack(), LLPanelLandGeneral::onCommitAny(), LLPanelPermissions::onCommitDesc(), LLFloaterProperties::onCommitDescription(), LLFloaterEditUI::onCommitLabel(), LLPanelPermissions::onCommitName(), LLFloaterProperties::onCommitName(), LLFloaterHtml::onCommitUrlEdit(), LLCurrencyUIManager::Impl::onCurrencyKey(), LLPanelLandObjects::onLostFocus(), LLSearchEditor::onSearchEdit(), LLComboBox::onTextEntry(), LLPreviewGesture::refresh(), LLChatBar::refresh(), LLPreviewGesture::saveIfNeeded(), LLPanelGroupRolesSubTab::saveRoleChanges(), LLPanelClassified::sendClassifiedInfoUpdate(), LLPanelPick::sendPickInfoUpdate(), LLPanelPermissions::setAllSaleInfo(), LLAlertDialog::setEditTextArgs(), LLPanelClassified::titleIsValid(), updateHistory(), LLFloaterProperties::updateSaleInfo(), LLComboBox::updateSelection(), LLPreviewLSL::uploadAssetLegacy(), and LLAlertDialog::~LLAlertDialog().
LLSD LLLineEditor::getValue | ( | ) | const [virtual] |
Reimplemented from LLUICtrl.
Reimplemented in LLNameEditor.
Definition at line 2326 of file lllineeditor.cpp.
References getText().
Referenced by LLSearchEditor::getValue(), and LLComboBox::getValue().
LLString LLLineEditor::getWidgetTag | ( | ) | const [virtual] |
Implements LLView.
Reimplemented in LLNameEditor.
Definition at line 222 of file lllineeditor.cpp.
References LL_LINE_EDITOR_TAG.
EWidgetType LLLineEditor::getWidgetType | ( | ) | const [virtual] |
Implements LLView.
Reimplemented in LLNameEditor.
Definition at line 216 of file lllineeditor.cpp.
References WIDGET_TYPE_LINE_EDITOR.
const LLColor4& LLLineEditor::getWriteableBgColor | ( | ) | const [inline] |
const LLWString& LLLineEditor::getWText | ( | ) | const [inline] |
Definition at line 146 of file lllineeditor.h.
References LLUIString::getWString(), and mText.
Referenced by LLSearchEditor::draw(), LLChatBar::sendChat(), LLFloaterIMPanel::sendMsg(), and LLComboBox::updateSelection().
LLXMLNodePtr LLLineEditor::getXML | ( | bool | save_children = true |
) | const [virtual] |
Reimplemented from LLUICtrl.
Definition at line 2107 of file lllineeditor.cpp.
References LLView::addColorXML(), LLViewBorder::BEVEL_BRIGHT, LLViewBorder::BEVEL_IN, LLViewBorder::BEVEL_NONE, LLViewBorder::BEVEL_OUT, LLUIString::empty(), LLViewBorder::getBevel(), LLViewBorder::getBorderWidth(), LLUIString::getString(), LLViewBorder::getStyle(), LLUICtrl::getXML(), mBorder, mCursorColor, mFgColor, mFocusBgColor, mGLFont, mHandleEditKeysDirectly, mLabel, mMaxLengthBytes, mReadOnlyBgColor, mReadOnlyFgColor, mSelectAllonFocusReceived, mTentativeFgColor, mWriteableBgColor, LLFontGL::nameFromFont(), LLViewBorder::STYLE_LINE, LLViewBorder::STYLE_TEXTURE, and TRUE.
Reimplemented from LLView.
Definition at line 479 of file lllineeditor.cpp.
References FALSE, LLUIString::getWString(), handleMouseDown(), isPartOfWord(), LLUIString::length(), mCursorPos, mIsSelecting, mKeystrokeTimer, mLastSelectionEnd, mLastSelectionStart, mSelectionEnd, mSelectionStart, mText, LLFrameTimer::reset(), S32, selectAll(), setFocus(), startSelection(), and TRUE.
Reimplemented from LLView.
Definition at line 614 of file lllineeditor.cpp.
References AUTO_SCROLL_TIME, FALSE, findPixelNearestPos(), getCursor(), LLFrameTimer::getElapsedTimeF32(), LLView::getName(), LLView::getVisible(), LLRectBase< Type >::getWidth(), LLView::getWindow(), LLView::handleHover(), LLFrameTimer::hasExpired(), LLView::hasMouseCapture(), LLUIString::length(), llclamp(), lldebugst, llendl, llround(), mBorderRight, mCursorPos, mIsSelecting, mKeystrokeTimer, mLastSelectionX, mLastSelectionY, mMaxHPixels, mMinHPixels, LLView::mRect, mScrollHPos, mScrollTimer, mSelectionEnd, mText, LLFrameTimer::reset(), S32, LLWindow::setCursor(), setCursorAtLocalPos(), LLFrameTimer::setTimerExpirySec(), TRUE, and UI_CURSOR_IBEAM.
Reimplemented from LLView.
Definition at line 1303 of file lllineeditor.cpp.
References deselect(), FALSE, LLFocusMgr::getKeyboardFocus(), LLUIString::getString(), LLView::getVisible(), LLUIString::getWString(), gFocusMgr, handleSelectionKey(), handleSpecialKey(), KEY_ALT, KEY_CAPSLOCK, KEY_CONTROL, KEY_SHIFT, LLUICtrl::mCallbackUserData, mKeystrokeCallback, mKeystrokeTimer, mPrevalidateFunc, mReadOnly, mText, reportBadKeystroke(), and LLFrameTimer::reset().
Reimplemented from LLView.
Definition at line 535 of file lllineeditor.cpp.
References deselect(), getCursor(), LLFocusMgr::getKeyboardFocus(), LLRectBase< Type >::getWidth(), gFocusMgr, LLView::handleMouseDown(), hasSelection(), MASK_SHIFT, mBorderRight, mIsSelecting, mKeystrokeTimer, mLastSelectionEnd, mLastSelectionStart, LLView::mRect, mSelectAllonFocusReceived, mSelectionEnd, mSelectionStart, LLFrameTimer::reset(), S32, setCursorAtLocalPos(), setFocus(), LLFocusMgr::setMouseCapture(), startSelection(), and TRUE.
Referenced by handleDoubleClick().
Reimplemented from LLView.
Definition at line 678 of file lllineeditor.cpp.
References FALSE, getCursor(), LLRectBase< Type >::getWidth(), gFocusMgr, LLView::handleMouseUp(), LLView::hasMouseCapture(), mBorderRight, mIsSelecting, mKeystrokeTimer, LLView::mRect, mSelectionEnd, NULL, LLFrameTimer::reset(), setCursorAtLocalPos(), LLFocusMgr::setMouseCapture(), and TRUE.
Definition at line 827 of file lllineeditor.cpp.
References canSelectAll(), extendSelection(), FALSE, getCursor(), KEY_END, KEY_HOME, KEY_LEFT, KEY_PAGE_DOWN, KEY_PAGE_UP, KEY_RIGHT, LLUIString::length(), MASK_CONTROL, MASK_SHIFT, mHandleEditKeysDirectly, mIgnoreArrowKeys, mText, nextWordPos(), prevWordPos(), reportBadKeystroke(), S32, selectAll(), and TRUE.
Referenced by handleKeyHere().
Definition at line 1080 of file lllineeditor.cpp.
References LLUIString::assign(), canCopy(), canCut(), canDoDelete(), canPaste(), copy(), cut(), deleteSelection(), doDelete(), FALSE, getCursor(), LLUIString::getString(), gKeyboard, hasSelection(), KEY_BACKSPACE, KEY_DELETE, KEY_DOWN, KEY_END, KEY_ESCAPE, KEY_HOME, KEY_INSERT, KEY_LEFT, KEY_PAGE_DOWN, KEY_PAGE_UP, KEY_RETURN, KEY_RIGHT, KEY_UP, LLUIString::length(), llmax(), llmin(), MASK_ALT, MASK_CONTROL, MASK_NONE, mCurrentHistoryLine, mHandleEditKeysDirectly, mHaveHistory, mIgnoreArrowKeys, mLineHistory, mPrevText, mReadOnly, mRevertOnEsc, mSelectionEnd, mSelectionStart, mText, nextWordPos(), paste(), prevWordPos(), removeChar(), reportBadKeystroke(), S32, setCursor(), setText(), LLKeyboard::toggleInsertMode(), TRUE, and updateHistory().
Referenced by handleKeyHere().
Reimplemented from LLView.
Definition at line 1371 of file lllineeditor.cpp.
References addChar(), deselect(), LLLineEditorRollback::doRollback(), FALSE, LLFocusMgr::getKeyboardFocus(), LLView::getVisible(), LLUIString::getWString(), gFocusMgr, LLUICtrl::mCallbackUserData, mKeystrokeCallback, mKeystrokeTimer, mPrevalidateFunc, mReadOnly, mText, reportBadKeystroke(), LLFrameTimer::reset(), and TRUE.
BOOL LLLineEditor::hasSelection | ( | ) | [inline] |
Definition at line 186 of file lllineeditor.h.
References mSelectionEnd, and mSelectionStart.
Referenced by addChar(), canCopy(), canCut(), canDeselect(), canDoDelete(), deleteSelection(), doDelete(), draw(), handleMouseDown(), handleSpecialKey(), paste(), and LLComboBox::updateSelection().
BOOL LLLineEditor::isDirty | ( | ) | const [virtual] |
Reimplemented from LLUICtrl.
Definition at line 257 of file lllineeditor.cpp.
References LLUIString::getString(), mPrevText, and mText.
Referenced by LLPanelClassified::checkDirty().
Definition at line 1825 of file lllineeditor.cpp.
Referenced by handleDoubleClick(), nextWordPos(), and prevWordPos().
Definition at line 812 of file lllineeditor.cpp.
References getLength(), LLUIString::getWString(), isPartOfWord(), and mText.
Referenced by handleSelectionKey(), and handleSpecialKey().
void LLLineEditor::onCommit | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 247 of file lllineeditor.cpp.
References LLUICtrl::onCommit(), selectAll(), and updateHistory().
Referenced by onFocusLost().
void LLLineEditor::onFocusLost | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 227 of file lllineeditor.cpp.
References LLWindow::allowLanguageTextInput(), FALSE, gEditMenuHandler, LLUIString::getString(), LLView::getWindow(), mCommitOnFocusLost, mPrevText, mText, NULL, onCommit(), LLUICtrl::onFocusLost(), and LLWindow::showCursorFromMouseMove().
void LLLineEditor::onMouseCaptureLost | ( | ) | [virtual] |
Reimplemented from LLView.
Definition at line 2089 of file lllineeditor.cpp.
References endSelection().
void LLLineEditor::onTabInto | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 1706 of file lllineeditor.cpp.
References selectAll().
Referenced by LLPanelGroupRolesSubTab::handleCreateRole(), LLSpinCtrl::onTabInto(), and LLSliderCtrl::onTabInto().
void LLLineEditor::paste | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 1002 of file lllineeditor.cpp.
References canPaste(), deleteSelection(), deselect(), gClipboard, getCursor(), LLClipboard::getPasteWString(), LLUIString::getWString(), hasSelection(), LLUIString::insert(), LLUIString::length(), llmin(), LLUICtrl::mCallbackUserData, mKeystrokeCallback, mMaxLengthBytes, mMaxLengthChars, mPrevalidateFunc, mText, LLStringBase< T >::replaceChar(), LLStringBase< T >::replaceTabsWithSpaces(), reportBadKeystroke(), S32, setCursor(), wchar_utf8_length(), and wstring_utf8_length().
Referenced by handleSpecialKey().
Definition at line 1828 of file lllineeditor.cpp.
References FALSE, LLResMgr::getDecimalPoint(), gResMgr, i, LLStringOps::isDigit(), S32, LLStringBase< T >::trim(), TRUE, LLLocale::USER_LOCALE, and utf8str_to_wstring().
Referenced by LLSpinCtrl::onEditorCommit(), and LLSliderCtrl::onEditorCommit().
Definition at line 1991 of file lllineeditor.cpp.
References FALSE, S32, TRUE, and LLLocale::USER_LOCALE.
Referenced by fromXML().
Definition at line 2010 of file lllineeditor.cpp.
References FALSE, S32, TRUE, and LLLocale::USER_LOCALE.
Referenced by fromXML().
Definition at line 2074 of file lllineeditor.cpp.
References FALSE, S32, and TRUE.
Referenced by fromXML(), and LLPanelClassified::postBuild().
Definition at line 1790 of file lllineeditor.cpp.
References FALSE, LLResMgr::getDecimalPoint(), gResMgr, i, LLStringOps::isDigit(), S32, LLStringBase< T >::trim(), TRUE, and LLLocale::USER_LOCALE.
Referenced by fromXML(), LLSliderCtrl::LLSliderCtrl(), LLSpinCtrl::LLSpinCtrl(), and LLPreviewGesture::postBuild().
Definition at line 1891 of file lllineeditor.cpp.
References FALSE, i, LLStringOps::isDigit(), S32, LLStringBase< T >::trim(), TRUE, and LLLocale::USER_LOCALE.
Referenced by fromXML(), and LLPanelPick::postBuild().
Definition at line 1957 of file lllineeditor.cpp.
References FALSE, i, LLStringOps::isDigit(), NULL, S32, LLStringBase< T >::trim(), TRUE, LLLocale::USER_LOCALE, and wstring_to_utf8str().
Referenced by fromXML(), LLFloaterPay::LLFloaterPay(), LLPanelPermissions::postBuild(), LLPanelDirLand::postBuild(), LLFloaterPriceForListing::postBuild(), LLFloaterSellLandUI::postBuild(), LLPanelLandObjects::postBuild(), LLCurrencyUIManager::Impl::prepare(), and LLFloaterSellLandUI::refreshUI().
Definition at line 1923 of file lllineeditor.cpp.
References FALSE, i, LLStringOps::isDigit(), NULL, S32, LLStringBase< T >::trim(), TRUE, LLLocale::USER_LOCALE, and wstring_to_utf8str().
Referenced by fromXML(), and LLPanelRegionTools::postBuild().
Definition at line 2052 of file lllineeditor.cpp.
References FALSE, S32, and TRUE.
Referenced by fromXML(), and LLPanelLogin::LLPanelLogin().
Definition at line 2029 of file lllineeditor.cpp.
References FALSE, S32, and TRUE.
Referenced by fromXML(), LLPreviewTexture::init(), LLFloaterProperties::LLFloaterProperties(), LLFolderView::LLFolderView(), LLPreviewAnim::LLPreviewAnim(), LLPreviewLSL::LLPreviewLSL(), LLPreviewNotecard::LLPreviewNotecard(), LLPreviewSound::LLPreviewSound(), LLPreviewGesture::postBuild(), LLPanelPermissions::postBuild(), LLFloaterNameDesc::postBuild(), LLPanelLandGeneral::postBuild(), LLFloaterImport::postBuild(), and LLPanelRegionTools::postBuild().
Definition at line 798 of file lllineeditor.cpp.
References LLUIString::getWString(), isPartOfWord(), and mText.
Referenced by handleSelectionKey(), and handleSpecialKey().
void LLLineEditor::removeChar | ( | ) | [protected] |
Definition at line 712 of file lllineeditor.cpp.
References LLUIString::erase(), getCursor(), mText, reportBadKeystroke(), and setCursor().
Referenced by doDelete(), and handleSpecialKey().
void LLLineEditor::reportBadKeystroke | ( | ) | [protected] |
Definition at line 1693 of file lllineeditor.cpp.
References make_ui_sound().
Referenced by addChar(), cut(), doDelete(), handleKeyHere(), handleSelectionKey(), handleSpecialKey(), handleUnicodeCharHere(), paste(), and removeChar().
void LLLineEditor::resetDirty | ( | ) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 263 of file lllineeditor.cpp.
References LLUIString::getString(), mPrevText, and mText.
Referenced by LLPanelClassified::confirmPublish().
Reimplemented from LLView.
Definition at line 289 of file lllineeditor.cpp.
References LLRectBase< Type >::getWidth(), mBorderRight, mBorderThickness, mMaxHPixels, LLView::mRect, LLView::reshape(), and UI_LINEEDITOR_H_PAD.
Referenced by LLChatBar::layout(), LLComboBox::setButtonVisible(), and LLFolderView::startRenamingSelectedItem().
void LLLineEditor::selectAll | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 469 of file lllineeditor.cpp.
References LLUIString::length(), mIsSelecting, mSelectionEnd, mSelectionStart, mText, setCursor(), and TRUE.
Referenced by LLFloaterPay::finishPayUI(), LLPanelLogin::giveFocus(), handleDoubleClick(), handleSelectionKey(), onCommit(), LLComboBox::onFocusLost(), onTabInto(), LLComboBox::onTextEntry(), LLFloaterPriceForListing::postBuild(), LLFloaterIMPanel::selectAll(), setFocus(), setText(), LLAlertDialog::show(), LLWearableSaveAsDialog::startModal(), LLFolderView::startRenamingSelectedItem(), and LLCurrencyUIManager::Impl::updateUI().
Definition at line 315 of file lllineeditor.cpp.
References LLRectBase< Type >::getWidth(), llclamp(), mBorderLeft, mBorderRight, mBorderThickness, mMaxHPixels, mMinHPixels, LLView::mRect, and UI_LINEEDITOR_H_PAD.
void LLLineEditor::setColorParameters | ( | LLXMLNodePtr | node | ) |
Definition at line 2288 of file lllineeditor.cpp.
References LLUICtrlFactory::getAttributeColor(), setCursorColor(), setFgColor(), setReadOnlyBgColor(), setReadOnlyFgColor(), setTentativeFgColor(), and setWriteableBgColor().
Referenced by LLNameEditor::fromXML(), and fromXML().
Definition at line 156 of file lllineeditor.h.
References mCommitOnFocusLost.
Referenced by LLFolderView::finishRenamingItem(), fromXML(), LLFolderView::LLFolderView(), LLPreviewGesture::postBuild(), LLPanelPick::postBuild(), LLPanelClassified::postBuild(), LLFloaterIMPanel::postBuild(), LLChatBar::postBuild(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLFolderView::revertRenamingItem(), and LLComboBox::setAllowTextEntry().
Definition at line 394 of file lllineeditor.cpp.
References f, findPixelNearestPos(), LLFontGL::firstDrawableChar(), getCursor(), LLFontGL::getWidth(), LLUIString::getWString(), LLUIString::length(), llclamp(), llmax(), llmin(), LLFontGL::maxDrawableChars(), mCursorPos, mGLFont, mMaxHPixels, mMinHPixels, mScrollHPos, mText, S32, SCROLL_INCREMENT_ADD, and SCROLL_INCREMENT_DEL.
Referenced by addChar(), clear(), deleteSelection(), doDelete(), extendSelection(), handleSpecialKey(), LLLineEditor(), paste(), removeChar(), selectAll(), setCursorAtLocalPos(), setCursorToEnd(), setSelection(), and setText().
Definition at line 372 of file lllineeditor.cpp.
References LLFontGL::charFromPixelOffset(), LLUIString::getWString(), i, LLUIString::length(), mDrawAsterixes, mGLFont, mMaxHPixels, mMinHPixels, mScrollHPos, mText, S32, and setCursor().
Referenced by handleHover(), handleMouseDown(), and handleMouseUp().
Definition at line 159 of file lllineeditor.h.
References c, and mCursorColor.
Referenced by setColorParameters().
void LLLineEditor::setCursorToEnd | ( | ) |
Definition at line 428 of file lllineeditor.cpp.
References deselect(), LLUIString::length(), mText, and setCursor().
Referenced by LLChatBar::startChat().
Definition at line 180 of file lllineeditor.h.
References mDrawAsterixes.
Referenced by LLPanelLogin::LLPanelLogin(), LLPanelLandMedia::refresh(), and LLAlertDialog::setDrawAsterixes().
Reimplemented from LLView.
Definition at line 301 of file lllineeditor.cpp.
References mReadOnly, and LLUICtrl::setTabStop().
Referenced by LLPanelGroupNotices::activate(), LLPanelAvatarAdvanced::enableControls(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLFloaterReporter::LLFloaterReporter(), LLPreviewGesture::postBuild(), LLPanelGroupNotices::postBuild(), LLPanelGroupGeneral::postBuild(), LLPreviewGesture::refresh(), LLPanelPick::refresh(), LLPanelClassified::refresh(), LLPanelLandMedia::refresh(), LLPanelLandObjects::refresh(), LLPanelLandGeneral::refresh(), LLFloaterEditUI::refresh(), LLFloaterEditUI::refreshButton(), LLFloaterEditUI::refreshView(), LLSpinCtrl::setEnabled(), and LLSliderCtrl::setEnabled().
Definition at line 296 of file lllineeditor.cpp.
References mHaveHistory.
Referenced by LLFloaterIMPanel::init(), and LLChatBar::postBuild().
Reimplemented from LLUICtrl.
Definition at line 1718 of file lllineeditor.cpp.
References LLWindow::allowLanguageTextInput(), endSelection(), FALSE, gEditMenuHandler, LLView::getWindow(), LLUICtrl::hasFocus(), mIsSelecting, mKeystrokeTimer, mPrevalidateFunc, mSelectAllonFocusReceived, NULL, LLFrameTimer::reset(), selectAll(), and LLUICtrl::setFocus().
Referenced by LLFolderView::finishRenamingItem(), LLPanelLogin::giveFocus(), LLPanelGroupRolesSubTab::handleCreateRole(), handleDoubleClick(), LLSpinCtrl::handleKeyHere(), handleMouseDown(), LLFloaterPriceForListing::postBuild(), LLFolderView::revertRenamingItem(), LLSpinCtrl::setFocus(), LLFloaterIMPanel::setInputFocus(), LLAlertDialog::show(), LLWearableSaveAsDialog::startModal(), and LLFolderView::startRenamingSelectedItem().
Definition at line 192 of file lllineeditor.h.
References mHandleEditKeysDirectly.
Referenced by fromXML(), LLFloaterTestImpl::LLFloaterTestImpl(), and LLComboBox::setAllowTextEntry().
Definition at line 176 of file lllineeditor.h.
References mIgnoreArrowKeys.
Referenced by LLChatBar::setIgnoreArrowKeys().
Definition at line 177 of file lllineeditor.h.
References mIgnoreTab.
Referenced by LLSliderCtrl::LLSliderCtrl(), LLPreviewGesture::postBuild(), LLChatBar::postBuild(), and LLComboBox::setAllowTextEntry().
void LLLineEditor::setKeystrokeCallback | ( | void(*)(LLLineEditor *caller, void *user_data) | keystroke_callback | ) |
Definition at line 2101 of file lllineeditor.cpp.
References mKeystrokeCallback.
Referenced by LLPanel::childSetKeystrokeCallback(), LLPreviewGesture::postBuild(), LLPanelGroupSubTab::postBuild(), LLPanelGroupLandMoney::postBuild(), LLFloaterIMPanel::postBuild(), LLChatBar::postBuild(), LLPanelGroupRolesSubTab::postBuildSubTab(), and LLCurrencyUIManager::Impl::prepare().
void LLLineEditor::setLabel | ( | const LLStringExplicit & | new_label | ) |
Definition at line 323 of file lllineeditor.cpp.
References mLabel.
Referenced by LLNameEditor::fromXML(), LLSearchEditor::fromXML(), fromXML(), and LLCurrencyUIManager::Impl::updateUI().
BOOL LLLineEditor::setLabelArg | ( | const LLString & | key, | |
const LLStringExplicit & | text | |||
) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 2339 of file lllineeditor.cpp.
References mLabel, LLUIString::setArg(), and TRUE.
Referenced by LLSearchEditor::setLabelArg().
Definition at line 308 of file lllineeditor.cpp.
References llmax(), mMaxLengthBytes, mMaxLengthChars, and S32.
Referenced by LLFloaterIMPanel::init(), LLPanelClassified::postBuild(), LLFloaterNameDesc::postBuild(), LLFloaterImport::postBuild(), and LLChatBar::postBuild().
Definition at line 178 of file lllineeditor.h.
References mPassDelete.
Referenced by LLChatBar::postBuild().
Definition at line 202 of file lllineeditor.h.
References mPrevalidateFunc.
Referenced by LLPanel::childSetPrevalidate(), fromXML(), LLPreviewGesture::postBuild(), LLPanelPick::postBuild(), LLFloaterPriceForListing::postBuild(), LLPanelClassified::postBuild(), LLFloaterNameDesc::postBuild(), LLFloaterImport::postBuild(), and LLCurrencyUIManager::Impl::prepare().
Definition at line 166 of file lllineeditor.h.
References c, and mReadOnlyBgColor.
Referenced by LLPanelAvatarAdvanced::enableControls(), and setColorParameters().
Definition at line 163 of file lllineeditor.h.
References c, and mReadOnlyFgColor.
Referenced by setColorParameters().
Reimplemented from LLView.
Definition at line 1771 of file lllineeditor.cpp.
References LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), mBorder, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::setOriginAndSize(), and LLView::setRect().
Referenced by LLChatBar::layout().
Definition at line 157 of file lllineeditor.h.
References mRevertOnEsc.
Referenced by LLFloaterIMPanel::postBuild(), and LLChatBar::postBuild().
Definition at line 2095 of file lllineeditor.cpp.
References mSelectAllonFocusReceived.
Referenced by fromXML(), and LLComboBox::setAllowTextEntry().
Definition at line 785 of file lllineeditor.cpp.
References LLUIString::length(), llclamp(), mIsSelecting, mSelectionEnd, mSelectionStart, mText, S32, setCursor(), and TRUE.
Referenced by LLComboBox::updateSelection().
Definition at line 164 of file lllineeditor.h.
References c, and mTentativeFgColor.
Referenced by setColorParameters().
void LLLineEditor::setText | ( | const LLStringExplicit & | new_text | ) |
Definition at line 328 of file lllineeditor.cpp.
References LLUIString::assign(), deselect(), getCursor(), LLUIString::getString(), LLUIString::length(), llmin(), mCurrentHistoryLine, mLineHistory, mMaxLengthBytes, mMaxLengthChars, mPrevText, mSelectionEnd, mSelectionStart, mText, S32, selectAll(), setCursor(), LLUIString::truncate(), and utf8str_truncate().
Referenced by LLSliderCtrl::clear(), LLComboBox::clear(), LLPanelGroupRolesSubTab::handleRoleSelect(), handleSpecialKey(), LLPanelClassified::initNewClassified(), LLPanelPick::initNewPick(), LLLineEditor(), LLPreviewGesture::loadUIFromGesture(), LLFloaterPriceForListing::postBuild(), LLFloaterSaveAvatar::postBuild(), LLFloaterImport::postBuild(), LLPreviewGesture::refresh(), LLPanelPermissions::refresh(), LLNameEditor::refresh(), LLPanelLandMedia::refresh(), LLPanelLandObjects::refresh(), LLPanelLandGeneral::refresh(), LLFloaterEditUI::refresh(), LLFloaterEditUI::refreshButton(), LLFloaterEditUI::refreshView(), LLFloaterIMPanel::sendMsg(), LLComboBox::setAllowTextEntry(), LLPanelAvatar::setAvatarID(), LLAlertDialog::setEditTextArgs(), LLPanelGroupNotices::setItem(), LLComboBox::setLabel(), LLNameEditor::setNameID(), LLSearchEditor::setText(), LLComboBox::setTextEntry(), setValue(), LLPanelAvatarAdvanced::setWantSkills(), LLPanelGroupLandMoney::impl::setYourContributionTextField(), LLPanelGroupNotices::showNotice(), LLChatBar::startChat(), LLFolderView::startRenamingSelectedItem(), LLSpinCtrl::updateEditor(), LLComboBox::updateSelection(), LLSliderCtrl::updateText(), and LLCurrencyUIManager::Impl::updateUI().
BOOL LLLineEditor::setTextArg | ( | const LLString & | key, | |
const LLStringExplicit & | text | |||
) | [virtual] |
Reimplemented from LLUICtrl.
Definition at line 2333 of file lllineeditor.cpp.
References mText, LLUIString::setArg(), and TRUE.
Referenced by LLSearchEditor::setTextArg().
Reimplemented from LLView.
Definition at line 2321 of file lllineeditor.cpp.
References LLSD::asString(), and setText().
Referenced by LLComboBox::onCommit(), and LLSearchEditor::setValue().
Definition at line 165 of file lllineeditor.h.
References c, and mWriteableBgColor.
Referenced by LLFolderView::LLFolderView(), and setColorParameters().
void LLLineEditor::startSelection | ( | ) |
Definition at line 448 of file lllineeditor.cpp.
References getCursor(), mIsSelecting, mSelectionEnd, mSelectionStart, and TRUE.
Referenced by extendSelection(), handleDoubleClick(), and handleMouseDown().
void LLLineEditor::updateHistory | ( | ) |
Definition at line 270 of file lllineeditor.cpp.
References getText(), LLUIString::length(), mCurrentHistoryLine, mHaveHistory, mLineHistory, and mText.
Referenced by handleSpecialKey(), and onCommit().
friend class LLLineEditorRollback [friend] |
Definition at line 68 of file lllineeditor.h.
LLViewBorder* LLLineEditor::mBorder [protected] |
Definition at line 242 of file lllineeditor.h.
Referenced by draw(), getXML(), LLLineEditor(), and setRect().
S32 LLLineEditor::mBorderLeft [protected] |
S32 LLLineEditor::mBorderRight [protected] |
Definition at line 252 of file lllineeditor.h.
Referenced by handleHover(), handleMouseDown(), handleMouseUp(), LLLineEditor(), reshape(), and setBorderWidth().
S32 LLLineEditor::mBorderThickness [protected] |
Definition at line 280 of file lllineeditor.h.
Referenced by draw(), LLLineEditor(), reshape(), and setBorderWidth().
BOOL LLLineEditor::mCommitOnFocusLost [protected] |
Definition at line 254 of file lllineeditor.h.
Referenced by onFocusLost(), setCommitOnFocusLost(), and ~LLLineEditor().
U32 LLLineEditor::mCurrentHistoryLine [protected] |
Definition at line 240 of file lllineeditor.h.
Referenced by handleSpecialKey(), LLLineEditor(), setText(), and updateHistory().
LLColor4 LLLineEditor::mCursorColor [protected] |
Definition at line 271 of file lllineeditor.h.
Referenced by getCursorColor(), getXML(), and setCursorColor().
S32 LLLineEditor::mCursorPos [protected] |
Definition at line 246 of file lllineeditor.h.
Referenced by LLLineEditorRollback::doRollback(), getCursor(), handleDoubleClick(), handleHover(), and setCursor().
BOOL LLLineEditor::mDrawAsterixes [protected] |
Definition at line 286 of file lllineeditor.h.
Referenced by canCopy(), canCut(), draw(), setCursorAtLocalPos(), and setDrawAsterixes().
LLColor4 LLLineEditor::mFgColor [protected] |
Definition at line 273 of file lllineeditor.h.
Referenced by draw(), getFgColor(), getXML(), and setFgColor().
LLColor4 LLLineEditor::mFocusBgColor [protected] |
Definition at line 278 of file lllineeditor.h.
Referenced by draw(), getFocusBgColor(), getXML(), and setFocusBgColor().
const LLFontGL* LLLineEditor::mGLFont [protected] |
Definition at line 243 of file lllineeditor.h.
Referenced by draw(), findPixelNearestPos(), getXML(), LLLineEditor(), setCursor(), and setCursorAtLocalPos().
BOOL LLLineEditor::mHandleEditKeysDirectly [protected] |
Definition at line 288 of file lllineeditor.h.
Referenced by getXML(), handleSelectionKey(), handleSpecialKey(), and setHandleEditKeysDirectly().
BOOL LLLineEditor::mHaveHistory [protected] |
Definition at line 238 of file lllineeditor.h.
Referenced by handleSpecialKey(), LLLineEditor(), setEnableLineHistory(), and updateHistory().
BOOL LLLineEditor::mIgnoreArrowKeys [protected] |
Definition at line 284 of file lllineeditor.h.
Referenced by handleSelectionKey(), handleSpecialKey(), and setIgnoreArrowKeys().
BOOL LLLineEditor::mIgnoreTab [protected] |
BOOL LLLineEditor::mIsSelecting [protected] |
Definition at line 259 of file lllineeditor.h.
Referenced by deselect(), LLLineEditorRollback::doRollback(), endSelection(), extendSelection(), handleDoubleClick(), handleHover(), handleMouseDown(), handleMouseUp(), selectAll(), setFocus(), setSelection(), and startSelection().
void(* LLLineEditor::mKeystrokeCallback)(LLLineEditor *caller, void *userdata) [protected] |
Referenced by cut(), doDelete(), handleKeyHere(), handleUnicodeCharHere(), paste(), and setKeystrokeCallback().
LLFrameTimer LLLineEditor::mKeystrokeTimer [protected] |
Definition at line 269 of file lllineeditor.h.
Referenced by draw(), handleDoubleClick(), handleHover(), handleKeyHere(), handleMouseDown(), handleMouseUp(), handleUnicodeCharHere(), and setFocus().
LLUIString LLLineEditor::mLabel [protected] |
Definition at line 235 of file lllineeditor.h.
Referenced by draw(), getXML(), setLabel(), and setLabelArg().
LLCoordGL LLLineEditor::mLastIMEPosition [protected] |
S32 LLLineEditor::mLastSelectionEnd [protected] |
Definition at line 265 of file lllineeditor.h.
Referenced by handleDoubleClick(), and handleMouseDown().
S32 LLLineEditor::mLastSelectionStart [protected] |
Definition at line 264 of file lllineeditor.h.
Referenced by handleDoubleClick(), and handleMouseDown().
S32 LLLineEditor::mLastSelectionX [protected] |
S32 LLLineEditor::mLastSelectionY [protected] |
std::vector<LLString> LLLineEditor::mLineHistory [protected] |
Definition at line 239 of file lllineeditor.h.
Referenced by handleSpecialKey(), LLLineEditor(), setText(), and updateHistory().
S32 LLLineEditor::mMaxHPixels [protected] |
Definition at line 250 of file lllineeditor.h.
Referenced by draw(), handleHover(), LLLineEditor(), reshape(), setBorderWidth(), setCursor(), and setCursorAtLocalPos().
S32 LLLineEditor::mMaxLengthBytes [protected] |
Definition at line 245 of file lllineeditor.h.
Referenced by addChar(), getXML(), paste(), setMaxTextLength(), and setText().
S32 LLLineEditor::mMaxLengthChars [protected] |
Definition at line 244 of file lllineeditor.h.
Referenced by addChar(), paste(), setMaxTextLength(), and setText().
S32 LLLineEditor::mMinHPixels [protected] |
Definition at line 249 of file lllineeditor.h.
Referenced by draw(), findPixelNearestPos(), handleHover(), LLLineEditor(), setBorderWidth(), setCursor(), and setCursorAtLocalPos().
BOOL LLLineEditor::mPassDelete [protected] |
S32(* LLLineEditor::mPrevalidateFunc)(const LLWString &str) [protected] |
Referenced by cut(), doDelete(), handleKeyHere(), handleUnicodeCharHere(), paste(), setFocus(), and setPrevalidate().
LLString LLLineEditor::mPrevText [protected] |
Definition at line 234 of file lllineeditor.h.
Referenced by LLLineEditorRollback::doRollback(), handleSpecialKey(), isDirty(), onFocusLost(), resetDirty(), and setText().
BOOL LLLineEditor::mReadOnly [protected] |
Definition at line 292 of file lllineeditor.h.
Referenced by canCut(), canDoDelete(), canPaste(), deleteSelection(), draw(), handleKeyHere(), handleSpecialKey(), handleUnicodeCharHere(), and setEnabled().
LLColor4 LLLineEditor::mReadOnlyBgColor [protected] |
Definition at line 277 of file lllineeditor.h.
Referenced by draw(), getReadOnlyBgColor(), getXML(), and setReadOnlyBgColor().
LLColor4 LLLineEditor::mReadOnlyFgColor [protected] |
Definition at line 274 of file lllineeditor.h.
Referenced by draw(), getReadOnlyFgColor(), getXML(), and setReadOnlyFgColor().
BOOL LLLineEditor::mRevertOnEsc [protected] |
Definition at line 255 of file lllineeditor.h.
Referenced by handleSpecialKey(), and setRevertOnEsc().
S32 LLLineEditor::mScrollHPos [protected] |
Definition at line 247 of file lllineeditor.h.
Referenced by LLLineEditorRollback::doRollback(), draw(), findPixelNearestPos(), handleHover(), setCursor(), and setCursorAtLocalPos().
LLFrameTimer LLLineEditor::mScrollTimer [protected] |
BOOL LLLineEditor::mSelectAllonFocusReceived [protected] |
Definition at line 289 of file lllineeditor.h.
Referenced by getXML(), handleMouseDown(), setFocus(), and setSelectAllonFocusReceived().
S32 LLLineEditor::mSelectionEnd [protected] |
Definition at line 261 of file lllineeditor.h.
Referenced by copy(), cut(), deleteSelection(), deselect(), LLLineEditorRollback::doRollback(), endSelection(), extendSelection(), handleDoubleClick(), handleHover(), handleMouseDown(), handleMouseUp(), handleSpecialKey(), hasSelection(), selectAll(), setSelection(), setText(), and startSelection().
S32 LLLineEditor::mSelectionStart [protected] |
Definition at line 260 of file lllineeditor.h.
Referenced by copy(), cut(), deleteSelection(), deselect(), LLLineEditorRollback::doRollback(), draw(), handleDoubleClick(), handleMouseDown(), handleSpecialKey(), hasSelection(), selectAll(), setSelection(), setText(), and startSelection().
LLColor4 LLLineEditor::mTentativeFgColor [protected] |
Definition at line 275 of file lllineeditor.h.
Referenced by draw(), getTentativeFgColor(), getXML(), and setTentativeFgColor().
LLUIString LLLineEditor::mText [protected] |
Definition at line 233 of file lllineeditor.h.
Referenced by addChar(), canDoDelete(), clear(), copy(), cut(), deleteSelection(), doDelete(), LLLineEditorRollback::doRollback(), draw(), findPixelNearestPos(), getLength(), getText(), getWText(), handleDoubleClick(), handleHover(), handleKeyHere(), handleSelectionKey(), handleSpecialKey(), handleUnicodeCharHere(), isDirty(), LLLineEditor(), nextWordPos(), onFocusLost(), paste(), prevWordPos(), removeChar(), resetDirty(), selectAll(), setCursor(), setCursorAtLocalPos(), setCursorToEnd(), setSelection(), setText(), setTextArg(), and updateHistory().
LLColor4 LLLineEditor::mWriteableBgColor [protected] |
Definition at line 276 of file lllineeditor.h.
Referenced by draw(), getWriteableBgColor(), getXML(), and setWriteableBgColor().