LLUI Class Reference

#include <llui.h>

Collaboration diagram for LLUI:

Collaboration graph
[legend]

List of all members.

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 LLUIImagegetUIImage (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 LLControlGroupsConfigGroup = NULL
static LLControlGroupsColorsGroup = NULL
static LLImageProviderInterfacesImageProvider = NULL
static LLUIAudioCallback sAudioCallback = NULL
static LLVector2 sGLScaleFactor
static LLWindowsWindow = NULL
static BOOL sShowXUINames = FALSE
static LLHtmlHelpsHtmlHelp = NULL
static BOOL sQAMode = FALSE


Detailed Description

Definition at line 156 of file llui.h.


Member Function Documentation

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]

void LLUI::cleanupClass (  )  [static]

Definition at line 1590 of file llui.cpp.

References LLImageProviderInterface::cleanUp(), LLLineEditor::cleanupClass(), and sImageProvider.

Referenced by LLAppViewer::cleanup().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUI::pushMatrix (  )  [static]

void LLUI::popMatrix (  )  [static]

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().

Here is the caller graph for this function:

void LLUI::translate ( F32  x,
F32  y,
F32  z = 0.0f 
) [static]

LLString LLUI::locateSkin ( const LLString filename  )  [static]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUI::setCursorPositionScreen ( S32  x,
S32  y 
) [static]

void LLUI::setCursorPositionLocal ( const LLView viewp,
S32  x,
S32  y 
) [static]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

void LLUI::setLineWidth ( F32  width  )  [static]

LLUIImage * LLUI::getUIImage ( const LLString name  )  [static]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUI::screenPointToGL ( S32  screen_x,
S32  screen_y,
S32 gl_x,
S32 gl_y 
) [static]

Definition at line 1709 of file llui.cpp.

References llround(), LLVector2::mV, sGLScaleFactor, VX, and VY.

Referenced by LLTextEditor::getPreeditLocation(), LLLineEditor::getPreeditLocation(), and screenRectToGL().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUI::glPointToScreen ( S32  gl_x,
S32  gl_y,
S32 screen_x,
S32 screen_y 
) [static]

Definition at line 1716 of file llui.cpp.

References llround(), LLVector2::mV, sGLScaleFactor, VX, and VY.

Referenced by glRectToScreen().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUI::screenRectToGL ( const LLRect screen,
LLRect gl 
) [static]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLUI::glRectToScreen ( const LLRect gl,
LLRect screen 
) [static]

Definition at line 1730 of file llui.cpp.

References glPointToScreen(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, and LLRectBase< Type >::mTop.

Here is the call graph for this function:

void LLUI::setHtmlHelp ( LLHtmlHelp html_help  )  [static]

Definition at line 1746 of file llui.cpp.

Referenced by LLViewerHtmlHelp::LLViewerHtmlHelp(), and LLViewerHtmlHelp::~LLViewerHtmlHelp().

Here is the caller graph for this function:

void LLUI::setQAMode ( BOOL  b  )  [static]

Definition at line 1752 of file llui.cpp.

References sQAMode.


Member Data Documentation

Definition at line 195 of file llui.h.

Referenced by initClass(), and make_ui_sound().

LLWindow * LLUI::sWindow = NULL [static]

BOOL LLUI::sShowXUINames = FALSE [static]

LLHtmlHelp * LLUI::sHtmlHelp = NULL [static]

Definition at line 199 of file llui.h.

Referenced by clicked_help().

BOOL LLUI::sQAMode = FALSE [static]

Definition at line 205 of file llui.h.

Referenced by LLPanel::getString(), and setQAMode().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:19:17 2008 for SecondLife by  doxygen 1.5.5