#include <llfloatereditui.h>
Public Member Functions | |
LLFloaterEditUI () | |
virtual | ~LLFloaterEditUI () |
virtual void | draw () |
void | refresh () |
void | refreshCore () |
void | refreshView (LLView *view) |
void | refreshButton (LLView *view) |
Static Public Member Functions | |
static void | navigateHierarchyButtonPressed (void *data) |
static void | show (void *unused=NULL) |
static BOOL | processKeystroke (KEY key, MASK mask) |
static void | onCommitLabel (LLUICtrl *ctrl, void *data) |
static void | onCommitHeight (LLUICtrl *ctrl, void *data) |
static void | onCommitWidth (LLUICtrl *ctrl, void *data) |
Protected Attributes | |
LLView * | mLastView |
LLLineEditor * | mLabelLine |
LLSpinCtrl * | mWidthSpin |
LLSpinCtrl * | mHeightSpin |
Static Protected Attributes | |
static LLFloaterEditUI * | sInstance = NULL |
Definition at line 41 of file llfloatereditui.h.
LLFloaterEditUI::LLFloaterEditUI | ( | ) |
Definition at line 108 of file llfloatereditui.cpp.
References LLView::addChild(), LLPanel::childSetAction(), LLRectBase< Type >::getHeight(), LLView::getRect(), HPAD, LINE, mHeightSpin, mLabelLine, mWidthSpin, navigateHierarchyButtonPressed(), NULL, onCommitHeight(), onCommitLabel(), onCommitWidth(), S32, LLView::sEditingUI, LLSpinCtrl::setPrecision(), sInstance, LLFontGL::sSansSerifSmall, TRUE, and VPAD.
Referenced by show().
LLFloaterEditUI::~LLFloaterEditUI | ( | ) | [virtual] |
Definition at line 214 of file llfloatereditui.cpp.
References FALSE, NULL, LLView::sEditingUI, LLView::sEditingUIView, and sInstance.
void LLFloaterEditUI::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 222 of file llfloatereditui.cpp.
References LLFloater::draw(), and refresh().
void LLFloaterEditUI::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 228 of file llfloatereditui.cpp.
References FALSE, LLView::getParent(), mHeightSpin, mLabelLine, mLastView, mWidthSpin, LLStringBase< char >::null, NULL, refreshCore(), LLView::sEditingUIView, LLSpinCtrl::set(), LLSpinCtrl::setEnabled(), LLLineEditor::setEnabled(), and LLLineEditor::setText().
Referenced by draw(), and navigateHierarchyButtonPressed().
void LLFloaterEditUI::refreshCore | ( | ) |
Definition at line 266 of file llfloatereditui.cpp.
References LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), mHeightSpin, mWidthSpin, r, refreshButton(), refreshView(), LLView::sEditingUIView, and LLSpinCtrl::set().
Referenced by processKeystroke(), and refresh().
void LLFloaterEditUI::refreshView | ( | LLView * | view | ) |
Definition at line 287 of file llfloatereditui.cpp.
References LLPanel::childSetText(), FALSE, LLView::getName(), mLabelLine, LLStringBase< char >::null, LLLineEditor::setEnabled(), and LLLineEditor::setText().
Referenced by refreshCore().
void LLFloaterEditUI::refreshButton | ( | LLView * | view | ) |
Definition at line 294 of file llfloatereditui.cpp.
References LLPanel::childSetText(), LLButton::getLabelUnselected(), LLView::getName(), mLabelLine, LLLineEditor::setEnabled(), LLLineEditor::setText(), and TRUE.
Referenced by refreshCore().
void LLFloaterEditUI::navigateHierarchyButtonPressed | ( | void * | data | ) | [static] |
Definition at line 46 of file llfloatereditui.cpp.
References LLView::getChildList(), LLView::getParent(), NULL, refresh(), LLView::sEditingUIView, and sInstance.
Referenced by LLFloaterEditUI().
void LLFloaterEditUI::show | ( | void * | unused = NULL |
) | [static] |
Definition at line 304 of file llfloatereditui.cpp.
References LLFloaterEditUI().
Referenced by init_debug_xui_menu().
Definition at line 312 of file llfloatereditui.cpp.
References FALSE, LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_UP, MASK_NONE, MASK_SHIFT, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, r, refreshCore(), LLView::reshape(), S32, LLView::sEditingUIView, LLView::setRect(), sInstance, LLRectBase< Type >::translate(), and TRUE.
Referenced by LLViewerWindow::handleKey().
void LLFloaterEditUI::onCommitLabel | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static] |
Definition at line 378 of file llfloatereditui.cpp.
References LLLineEditor::getText(), LLView::sEditingUIView, LLButton::setLabelSelected(), and LLButton::setLabelUnselected().
Referenced by LLFloaterEditUI().
void LLFloaterEditUI::onCommitHeight | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static] |
Definition at line 394 of file llfloatereditui.cpp.
References LLSpinCtrl::get(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mTop, r, LLView::reshape(), S32, LLView::sEditingUIView, and LLView::setRect().
Referenced by LLFloaterEditUI().
void LLFloaterEditUI::onCommitWidth | ( | LLUICtrl * | ctrl, | |
void * | data | |||
) | [static] |
Definition at line 408 of file llfloatereditui.cpp.
References LLSpinCtrl::get(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, r, LLView::reshape(), S32, LLView::sEditingUIView, and LLView::setRect().
Referenced by LLFloaterEditUI().
LLView* LLFloaterEditUI::mLastView [protected] |
LLLineEditor* LLFloaterEditUI::mLabelLine [protected] |
Definition at line 65 of file llfloatereditui.h.
Referenced by LLFloaterEditUI(), refresh(), refreshButton(), and refreshView().
LLSpinCtrl* LLFloaterEditUI::mWidthSpin [protected] |
Definition at line 66 of file llfloatereditui.h.
Referenced by LLFloaterEditUI(), refresh(), and refreshCore().
LLSpinCtrl* LLFloaterEditUI::mHeightSpin [protected] |
Definition at line 67 of file llfloatereditui.h.
Referenced by LLFloaterEditUI(), refresh(), and refreshCore().
LLFloaterEditUI * LLFloaterEditUI::sInstance = NULL [static, protected] |
Definition at line 69 of file llfloatereditui.h.
Referenced by LLFloaterEditUI(), navigateHierarchyButtonPressed(), processKeystroke(), and ~LLFloaterEditUI().