#include <llui.h>
Static Public Member Functions | |
static void | initClass (LLControlGroup *config, LLControlGroup *colors, LLImageProviderInterface *image_provider, LLUIAudioCallback audio_callback=NULL, const LLVector2 *scale_factor=NULL, const LLString &language=LLString::null) |
static void | cleanupClass () |
static void | pushMatrix () |
static void | popMatrix () |
static void | loadIdentity () |
static void | translate (F32 x, F32 y, F32 z=0.0f) |
static LLString | locateSkin (const LLString &filename) |
static void | setCursorPositionScreen (S32 x, S32 y) |
static void | setCursorPositionLocal (const LLView *viewp, S32 x, S32 y) |
static void | setScaleFactor (const LLVector2 &scale_factor) |
static void | setLineWidth (F32 width) |
static LLUIImage * | getUIImage (const LLString &name) |
static LLVector2 | getWindowSize () |
static void | screenPointToGL (S32 screen_x, S32 screen_y, S32 *gl_x, S32 *gl_y) |
static void | glPointToScreen (S32 gl_x, S32 gl_y, S32 *screen_x, S32 *screen_y) |
static void | screenRectToGL (const LLRect &screen, LLRect *gl) |
static void | glRectToScreen (const LLRect &gl, LLRect *screen) |
static void | setHtmlHelp (LLHtmlHelp *html_help) |
static void | setQAMode (BOOL b) |
Static Public Attributes | |
static LLControlGroup * | sConfigGroup = NULL |
static LLControlGroup * | sColorsGroup = NULL |
static LLImageProviderInterface * | sImageProvider = NULL |
static LLUIAudioCallback | sAudioCallback = NULL |
static LLVector2 | sGLScaleFactor |
static LLWindow * | sWindow = NULL |
static BOOL | sShowXUINames = FALSE |
static LLHtmlHelp * | sHtmlHelp = NULL |
static BOOL | sQAMode = FALSE |
Definition at line 156 of file llui.h.
void LLUI::initClass | ( | LLControlGroup * | config, | |
LLControlGroup * | colors, | |||
LLImageProviderInterface * | image_provider, | |||
LLUIAudioCallback | audio_callback = NULL , |
|||
const LLVector2 * | scale_factor = NULL , |
|||
const LLString & | language = LLString::null | |||
) | [static] |
Definition at line 1571 of file llui.cpp.
References LLControlGroup::getBOOL(), LLControlGroup::getColor(), LLControlGroup::getControl(), LLControlVariable::getSignal(), handleShowXUINamesChanged(), NULL, sAudioCallback, sColorsGroup, sConfigGroup, sGLScaleFactor, sImageProvider, LLFontGL::sShadowColor, sShowXUINames, and sWindow.
Referenced by LLAppViewer::init().
void LLUI::cleanupClass | ( | ) | [static] |
Definition at line 1590 of file llui.cpp.
References LLImageProviderInterface::cleanUp(), LLLineEditor::cleanupClass(), and sImageProvider.
Referenced by LLAppViewer::cleanup().
void LLUI::pushMatrix | ( | ) | [static] |
Definition at line 1607 of file llui.cpp.
References gGL, LLGLImmediate::pushMatrix(), LLFontGL::sCurOrigin, and LLFontGL::sOriginStack.
Referenced by LLViewerWindow::draw(), LLNotifyBox::draw(), LLView::draw(), LLTabContainer::draw(), LLScrollListItemSeparator::draw(), LLScrollListItemComment::draw(), LLScrollListItem::draw(), LLMenuHolderGL::draw(), LLView::drawChild(), LLView::drawDebugRect(), hud_render_text(), and LLHUDText::renderText().
void LLUI::popMatrix | ( | ) | [static] |
Definition at line 1614 of file llui.cpp.
References gGL, LLGLImmediate::popMatrix(), LLFontGL::sCurOrigin, and LLFontGL::sOriginStack.
Referenced by LLViewerWindow::draw(), LLNotifyBox::draw(), LLView::draw(), LLTabContainer::draw(), LLScrollListItemSeparator::draw(), LLScrollListItemComment::draw(), LLScrollListItem::draw(), LLMenuHolderGL::draw(), LLView::drawChild(), LLView::drawDebugRect(), hud_render_text(), and LLHUDText::renderText().
void LLUI::loadIdentity | ( | ) | [static] |
Definition at line 1622 of file llui.cpp.
References LLCoord::mX, LLCoord::mY, LLCoordFont::mZ, and LLFontGL::sCurOrigin.
Referenced by hud_render_text().
Definition at line 1598 of file llui.cpp.
References gGL, LLCoord::mX, LLCoord::mY, LLCoordFont::mZ, S32, LLFontGL::sCurOrigin, and LLGLImmediate::translatef().
Referenced by LLViewerWindow::draw(), LLNotifyBox::draw(), LLView::draw(), LLTabContainer::draw(), LLScrollListItemSeparator::draw(), LLScrollListItemComment::draw(), LLScrollListItem::draw(), LLMenuHolderGL::draw(), LLView::drawChild(), LLView::drawDebugRect(), hud_render_text(), and LLHUDText::renderText().
Definition at line 1666 of file llui.cpp.
References LLControlGroup::controlExists(), LLDir::fileExists(), gDirUtilp, LLDir::getDirDelimiter(), LLDir::getExpandedFilename(), LLControlGroup::getString(), LL_PATH_APP_SETTINGS, LL_PATH_SKINS, LL_PATH_USER_SETTINGS, and sConfigGroup.
Referenced by idle_startup().
Definition at line 1644 of file llui.cpp.
References LLWindow::convertCoords(), LLView::getWindow(), llround(), LLVector2::mV, S32, LLWindow::setCursorPosition(), sGLScaleFactor, VX, and VY.
Referenced by LLManipTranslate::handleMouseDownOnPart(), LLToolCamera::handleMouseUp(), LLViewerWindow::moveCursorToCenter(), LLToolGrab::onMouseCaptureLost(), and setCursorPositionLocal().
Definition at line 1657 of file llui.cpp.
References LLView::localPointToScreen(), S32, and setCursorPositionScreen().
Referenced by LLFloaterImagePreview::handleHover(), LLFloaterAnimPreview::handleHover(), LLWorldMapView::handleMouseUp(), and LLPieMenu::show().
void LLUI::setScaleFactor | ( | const LLVector2 & | scale_factor | ) | [static] |
Definition at line 1631 of file llui.cpp.
References sGLScaleFactor.
Referenced by LLViewerWindow::LLViewerWindow(), and LLViewerWindow::reshape().
void LLUI::setLineWidth | ( | F32 | width | ) | [static] |
Definition at line 1637 of file llui.cpp.
References LLGLImmediate::flush(), gGL, lerp(), LLVector2::mV, sGLScaleFactor, VX, and VY.
Referenced by LLViewerWindow::draw(), LLPieMenu::draw(), LLFloater::draw(), drawDot(), LLViewBorder::drawOnePixelLines(), gl_stippled_line_3d(), LLManipTranslate::renderArrow(), LLManip::renderGuidelines(), LLViewerParcelMgr::renderRect(), LLHUDText::renderText(), LLManipTranslate::renderTranslationHandles(), LLViewerObject::setLineWidthForWindowSize(), and LLManip::setupSnapGuideRenderPass().
Definition at line 1737 of file llui.cpp.
References LLImageProviderInterface::getUIImage(), NULL, and sImageProvider.
Referenced by LLEmbeddedItems::bindEmbeddedChars(), LLToolGun::draw(), LLProgressView::draw(), LLHoverView::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLNotifyBox::drawBackground(), get_item_icon(), LLTaskCategoryBridge::getIcon(), LLFolderBridge::getIcon(), LLItemBridge::getIcon(), LLWorldMapView::initClass(), LLColorSwatchCtrl::LLColorSwatchCtrl(), LLFlyoutButton::LLFlyoutButton(), LLFolderViewItem::LLFolderViewItem(), LLLineEditor::LLLineEditor(), LLPanelLogin::LLPanelLogin(), LLVisualParamHint::LLVisualParamHint(), LLLineEditor::parseImage(), LLHUDText::renderText(), LLManip::renderXYZ(), LLButton::setImageDisabled(), LLButton::setImageDisabledSelected(), LLButton::setImageHoverSelected(), LLButton::setImageHoverUnselected(), LLButton::setImageOverlay(), LLButton::setImageSelected(), LLButton::setImageUnselected(), and LLScrollListIcon::setValue().
LLVector2 LLUI::getWindowSize | ( | ) | [static] |
Definition at line 1700 of file llui.cpp.
References LLWindow::getSize(), LLVector2::mV, LLCoord::mX, LLCoord::mY, sGLScaleFactor, sWindow, VX, and VY.
Referenced by LLModalDialog::centerOnScreen().
Definition at line 1709 of file llui.cpp.
References llround(), LLVector2::mV, sGLScaleFactor, VX, and VY.
Referenced by LLTextEditor::getPreeditLocation(), LLLineEditor::getPreeditLocation(), and screenRectToGL().
Definition at line 1716 of file llui.cpp.
References llround(), LLVector2::mV, sGLScaleFactor, VX, and VY.
Referenced by glRectToScreen().
Definition at line 1723 of file llui.cpp.
References LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, and screenPointToGL().
Referenced by LLTextEditor::getPreeditLocation(), and LLLineEditor::getPreeditLocation().
Definition at line 1730 of file llui.cpp.
References glPointToScreen(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, and LLRectBase< Type >::mTop.
void LLUI::setHtmlHelp | ( | LLHtmlHelp * | html_help | ) | [static] |
Definition at line 1746 of file llui.cpp.
Referenced by LLViewerHtmlHelp::LLViewerHtmlHelp(), and LLViewerHtmlHelp::~LLViewerHtmlHelp().
void LLUI::setQAMode | ( | BOOL | b | ) | [static] |
LLControlGroup * LLUI::sConfigGroup = NULL [static] |
Definition at line 192 of file llui.h.
Referenced by LLFloater::applyRectControl(), LLPanelMsgs::buildLists(), LLMenuBarGL::checkMenuTrigger(), LLView::createRect(), LLStatusBar::draw(), LLTextBox::draw(), LLModalDialog::draw(), LLPieMenu::draw(), LLMenuGL::draw(), LLFloater::draw(), LLButton::draw(), LLAlertDialog::draw(), LLScrollListCtrl::drawItems(), LLView::findControl(), LLUICtrl::focusNextItem(), LLUICtrl::focusPrevItem(), LLPanelDirFind::getSearchURLSuffix(), LLResizeHandle::handleHover(), LLResizeBar::handleHover(), LLMenuBarGL::handleKeyHere(), LLScrollListCtrl::handleUnicodeCharHere(), initClass(), LLColumnHeader::LLColumnHeader(), LLDragHandle::LLDragHandle(), locateSkin(), LLFloaterHtmlHelp::onClickF1HelpLoadURL(), LLComboBox::setButtonVisible(), LLView::setControlValue(), LLUICtrlFactory::setupPaths(), LLPanel::storeRectControl(), and LLComboBox::updateLayout().
LLControlGroup * LLUI::sColorsGroup = NULL [static] |
Definition at line 193 of file llui.h.
Referenced by LLView::addColorXML(), LLFloater::buildButtons(), LLAlertDialog::createDialog(), LLStatusBar::draw(), LLTextBox::draw(), LLModalDialog::draw(), LLPieMenu::draw(), LLMenuGL::draw(), LLFloater::draw(), LLAlertDialog::draw(), LLTextEditor::drawClippedSegment(), LLMediaRemoteCtrl::enableMediaButtons(), LLCheckBoxCtrl::fromXML(), LLUICtrlFactory::getAttributeColor(), LLFocusMgr::getFocusColor(), LLPanel::init(), LLButton::init(), initClass(), LLButton::LLButton(), LLNotifyBox::LLNotifyBox(), LLSearchEditor::LLSearchEditor(), LLView::saveColorToXML(), and LLAlertDialog::show().
LLImageProviderInterface * LLUI::sImageProvider = NULL [static] |
Definition at line 194 of file llui.h.
Referenced by cleanupClass(), LLScrollbar::draw(), LLMultiSlider::draw(), getUIImage(), initClass(), LLComboBox::LLComboBox(), LLResizeHandle::LLResizeHandle(), LLScrollListText::LLScrollListText(), LLSlider::LLSlider(), LLStyle::setImage(), LLIconCtrl::setImage(), and LLScrollListIcon::setValue().
LLUIAudioCallback LLUI::sAudioCallback = NULL [static] |
LLVector2 LLUI::sGLScaleFactor [static] |
Definition at line 196 of file llui.h.
Referenced by LLWebBrowserCtrl::convertInputCoords(), LLWorldMapView::draw(), LLWebBrowserCtrl::draw(), LLViewerWindow::draw(), LLLineEditor::draw(), LLButton::draw(), LLTextEditor::drawCursor(), LLTextEditor::getPreeditFontSize(), LLLineEditor::getPreeditFontSize(), getWindowSize(), gl_rect_2d_offset_local(), glPointToScreen(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLAppViewer::init(), initClass(), LLWebBrowserCtrl::LLWebBrowserCtrl(), render_ui_2d(), LLWebBrowserCtrl::reshape(), LLViewerWindow::reshape(), screenPointToGL(), setCursorPositionScreen(), setLineWidth(), setScaleFactor(), LLComboBox::showList(), and LLScreenClipRect::updateScissorRegion().
LLWindow * LLUI::sWindow = NULL [static] |
Definition at line 197 of file llui.h.
Referenced by LLView::getWindow(), getWindowSize(), LLView::handleHover(), initClass(), and LLAppViewer::initWindow().
BOOL LLUI::sShowXUINames = FALSE [static] |
Definition at line 198 of file llui.h.
Referenced by LLUICtrlFactory::buildFloater(), LLUICtrlFactory::buildMenu(), LLUICtrlFactory::buildPanel(), LLUICtrlFactory::buildPieMenu(), LLViewerWindow::handlePerFrameHover(), handleShowXUINamesChanged(), LLView::handleToolTip(), LLComboBox::handleToolTip(), and initClass().
LLHtmlHelp * LLUI::sHtmlHelp = NULL [static] |
BOOL LLUI::sQAMode = FALSE [static] |