llui.cpp File Reference

UI implementation. More...

#include "linden_common.h"
#include <string>
#include <map>
#include "audioengine.h"
#include "v2math.h"
#include "v4color.h"
#include "llgl.h"
#include "llrect.h"
#include "llimagegl.h"
#include "lldir.h"
#include "llfontgl.h"
#include "llcontrol.h"
#include "llui.h"
#include "llview.h"
#include "llwindow.h"
#include "llglheaders.h"

Include dependency graph for llui.cpp:

Go to the source code of this file.

Classes

class  LLShowXUINamesListener

Functions

const LLColor4 UI_VERTEX_COLOR (1.f, 1.f, 1.f, 1.f)
void make_ui_sound (const LLString &name)
BOOL ui_point_in_rect (S32 x, S32 y, S32 left, S32 top, S32 right, S32 bottom)
void gl_state_for_2d (S32 width, S32 height)
void gl_draw_x (const LLRect &rect, const LLColor4 &color)
void gl_rect_2d_offset_local (S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &color, S32 pixel_offset, BOOL filled)
void gl_rect_2d_offset_local (S32 left, S32 top, S32 right, S32 bottom, S32 pixel_offset, BOOL filled)
void gl_rect_2d (S32 left, S32 top, S32 right, S32 bottom, BOOL filled)
void gl_rect_2d (S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &color, BOOL filled)
void gl_rect_2d (const LLRect &rect, const LLColor4 &color, BOOL filled)
void gl_drop_shadow (S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &start_color, S32 lines)
void gl_line_2d (S32 x1, S32 y1, S32 x2, S32 y2)
void gl_line_2d (S32 x1, S32 y1, S32 x2, S32 y2, const LLColor4 &color)
void gl_triangle_2d (S32 x1, S32 y1, S32 x2, S32 y2, S32 x3, S32 y3, const LLColor4 &color, BOOL filled)
void gl_corners_2d (S32 left, S32 top, S32 right, S32 bottom, S32 length, F32 max_frac)
void gl_draw_image (S32 x, S32 y, LLImageGL *image, const LLColor4 &color)
void gl_draw_scaled_image (S32 x, S32 y, S32 width, S32 height, LLImageGL *image, const LLColor4 &color)
void gl_draw_scaled_image_with_border (S32 x, S32 y, S32 border_width, S32 border_height, S32 width, S32 height, LLImageGL *image, const LLColor4 &color, BOOL solid_color)
void gl_draw_rotated_image (S32 x, S32 y, F32 degrees, LLImageGL *image, const LLColor4 &color)
void gl_draw_scaled_rotated_image (S32 x, S32 y, S32 width, S32 height, F32 degrees, LLImageGL *image, const LLColor4 &color)
void gl_draw_scaled_image_inverted (S32 x, S32 y, S32 width, S32 height, LLImageGL *image, const LLColor4 &color)
void gl_stippled_line_3d (const LLVector3 &start, const LLVector3 &end, const LLColor4 &color, F32 phase)
void gl_rect_2d_xor (S32 left, S32 top, S32 right, S32 bottom)
void gl_arc_2d (F32 center_x, F32 center_y, F32 radius, S32 steps, BOOL filled, F32 start_angle, F32 end_angle)
void gl_circle_2d (F32 center_x, F32 center_y, F32 radius, S32 steps, BOOL filled)
void gl_deep_circle (F32 radius, F32 depth, S32 steps)
void gl_ring (F32 radius, F32 width, const LLColor4 &center_color, const LLColor4 &side_color, S32 steps, BOOL render_center)
void gl_rect_2d_checkerboard (const LLRect &rect)
void gl_washer_2d (F32 outer_radius, F32 inner_radius, S32 steps, const LLColor4 &inner_color, const LLColor4 &outer_color)
void gl_washer_segment_2d (F32 outer_radius, F32 inner_radius, F32 start_radians, F32 end_radians, S32 steps, const LLColor4 &inner_color, const LLColor4 &outer_color)
void gl_washer_spokes_2d (F32 outer_radius, F32 inner_radius, S32 count, const LLColor4 &inner_color, const LLColor4 &outer_color)
void gl_rect_2d_simple_tex (S32 width, S32 height)
void gl_rect_2d_simple (S32 width, S32 height)
void gl_segmented_rect_2d_tex (const S32 left, const S32 top, const S32 right, const S32 bottom, const S32 texture_width, const S32 texture_height, const S32 border_size, const U32 edges)
void gl_segmented_rect_2d_fragment_tex (const S32 left, const S32 top, const S32 right, const S32 bottom, const S32 texture_width, const S32 texture_height, const S32 border_size, const F32 start_fragment, const F32 end_fragment, const U32 edges)
void gl_segmented_rect_3d_tex (const LLVector2 &border_scale, const LLVector3 &border_width, const LLVector3 &border_height, const LLVector3 &width_vec, const LLVector3 &height_vec, const U32 edges)
void gl_segmented_rect_3d_tex_top (const LLVector2 &border_scale, const LLVector3 &border_width, const LLVector3 &border_height, const LLVector3 &width_vec, const LLVector3 &height_vec)

Variables

BOOL gShowTextEditCursor = TRUE
std::map< LLString, LLStringgTranslation
std::list< LLStringgUntranslated
static LLShowXUINamesListener show_xui_names_listener


Detailed Description

UI implementation.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llui.cpp.


Function Documentation

void gl_arc_2d ( F32  center_x,
F32  center_y,
F32  radius,
S32  steps,
BOOL  filled,
F32  start_angle,
F32  end_angle 
)

Definition at line 736 of file llui.cpp.

References cosf, f, F_TWO_PI, glBegin, glEnd, glPopMatrix, glTranslatef, glVertex2f, sinf, x, and y.

Referenced by LLManipRotate::renderSnapGuides().

void gl_circle_2d ( F32  center_x,
F32  center_y,
F32  radius,
S32  steps,
BOOL  filled 
)

Definition at line 779 of file llui.cpp.

References f, F_TWO_PI, glBegin, glEnd, glPopMatrix, glTranslatef, glVertex2f, x, and y.

Referenced by LLPieMenu::draw(), LLManipRotate::render(), and LLManipRotate::renderSnapGuides().

void gl_corners_2d ( S32  left,
S32  top,
S32  right,
S32  bottom,
S32  length,
F32  max_frac 
)

Definition at line 379 of file llui.cpp.

References glBegin, glEnd, llmin(), and S32.

void gl_deep_circle ( F32  radius,
F32  depth,
S32  steps 
)

Definition at line 819 of file llui.cpp.

References cosf, f, F_TWO_PI, glBegin, glEnd, S32, sinf, x, and y.

Referenced by gl_ring().

void gl_draw_image ( S32  x,
S32  y,
LLImageGL image,
const LLColor4 color 
)

Definition at line 413 of file llui.cpp.

References LLImageGL::getHeight(), LLImageGL::getWidth(), and gl_draw_scaled_rotated_image().

Referenced by LLToolGun::draw(), LLResizeHandle::draw(), LLNetMap::draw(), LLJoystickCameraZoom::draw(), LLJoystickCameraRotate::draw(), LLFolderViewItem::draw(), LLFloaterColorPicker::draw(), LLButton::draw(), LLWorldMapView::drawAvatar(), drawDot(), LLWorldMapView::drawImage(), LLWorldMapView::drawImageStack(), and LLScrollListIcon::drawToWidth().

void gl_draw_rotated_image ( S32  x,
S32  y,
F32  degrees,
LLImageGL image,
const LLColor4 color 
)

Definition at line 605 of file llui.cpp.

References LLImageGL::getHeight(), LLImageGL::getWidth(), and gl_draw_scaled_rotated_image().

void gl_draw_scaled_image ( S32  x,
S32  y,
S32  width,
S32  height,
LLImageGL image,
const LLColor4 color 
)

Definition at line 418 of file llui.cpp.

References f, and gl_draw_scaled_rotated_image().

Referenced by LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLPreviewTexture::draw(), LLPanelLogin::draw(), LLIconCtrl::draw(), LLFloaterSnapshot::draw(), LLFloaterPostcard::draw(), LLFloaterAuction::draw(), LLComboBox::draw(), LLButton::draw(), and LLTextEditor::drawText().

void gl_draw_scaled_image_inverted ( S32  x,
S32  y,
S32  width,
S32  height,
LLImageGL image,
const LLColor4 color 
)

Definition at line 656 of file llui.cpp.

References LLImageGL::bind(), f, glBegin, glColor4fv, glEnd, glPopMatrix, glTranslatef, llendl, llwarns, LLColor4::mV, and NULL.

void gl_draw_scaled_image_with_border ( S32  x,
S32  y,
S32  border_width,
S32  border_height,
S32  width,
S32  height,
LLImageGL image,
const LLColor4 color,
BOOL  solid_color 
)

Definition at line 423 of file llui.cpp.

References LLImageGL::bind(), f, LLImageGL::getHeight(), LLImageGL::getWidth(), glBegin, glColor4fv, glEnd, glPopMatrix, glTranslatef, llendl, llfloor(), llmin(), llwarns, LLColor4::mV, NULL, S32, and stop_glerror.

Referenced by LLSlider::draw(), LLScrollbar::draw(), LLProgressView::draw(), LLConsole::draw(), LLButton::draw(), LLButton::drawBorder(), and LLManip::renderXYZ().

void gl_draw_scaled_rotated_image ( S32  x,
S32  y,
S32  width,
S32  height,
F32  degrees,
LLImageGL image,
const LLColor4 color 
)

Definition at line 610 of file llui.cpp.

References LLImageGL::bind(), f, glBegin, glColor4fv, glEnd, glPopMatrix, glRotatef, glTranslatef, llendl, llwarns, LLColor4::mV, and NULL.

Referenced by LLFolderViewItem::draw(), LLTracker::drawMarker(), LLWorldMapView::drawTrackingArrow(), gl_draw_image(), gl_draw_rotated_image(), and gl_draw_scaled_image().

void gl_draw_x ( const LLRect rect,
const LLColor4 color 
)

Definition at line 147 of file llui.cpp.

References glBegin, glColor4fv, glEnd, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, and LLColor4::mV.

Referenced by LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), and LLColorSwatchCtrl::draw().

void gl_drop_shadow ( S32  left,
S32  top,
S32  right,
S32  bottom,
const LLColor4 start_color,
S32  lines 
)

Definition at line 257 of file llui.cpp.

References glBegin, glColor4fv, glEnd, LLColor4::mV, stop_glerror, and VALPHA.

Referenced by LLTextBox::draw(), LLStatusBar::draw(), LLModalDialog::draw(), LLMenuGL::draw(), LLSnapshotLivePreview::draw(), LLFloater::draw(), and LLAlertDialog::draw().

void gl_line_2d ( S32  x1,
S32  y1,
S32  x2,
S32  y2,
const LLColor4 color 
)

Definition at line 338 of file llui.cpp.

References gGLManager, glBegin, glColor4fv, glEnd, LLGLManager::mATIOffsetVerticalLines, and LLColor4::mV.

void gl_line_2d ( S32  x1,
S32  y1,
S32  x2,
S32  y2 
)

Definition at line 319 of file llui.cpp.

Referenced by LLMenuItemBranchDownGL::draw(), LLMenuItemTearOffGL::draw(), LLMenuItemSeparatorGL::draw(), LLMenuItemGL::draw(), LLHorizontalCompass::draw(), LLFloaterColorPicker::draw(), LLFastTimerView::draw(), LLViewBorder::drawOnePixelLines(), LLFloaterColorPicker::drawPalette(), LLViewerWindow::drawPickBuffer(), LLScrollListSeparator::drawToWidth(), and LLViewBorder::drawTwoPixelLines().

void gl_rect_2d ( const LLRect rect,
const LLColor4 color,
BOOL  filled 
)

Definition at line 248 of file llui.cpp.

References gl_rect_2d(), glColor4fv, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, and LLColor4::mV.

void gl_rect_2d ( S32  left,
S32  top,
S32  right,
S32  bottom,
const LLColor4 color,
BOOL  filled 
)

Definition at line 241 of file llui.cpp.

void gl_rect_2d ( S32  left,
S32  top,
S32  right,
S32  bottom,
BOOL  filled 
)

Definition at line 186 of file llui.cpp.

Referenced by LLWorldMapView::draw(), LLVelocityBar::draw(), LLToolSelectRect::draw(), LLGLTexMemBar::draw(), LLTextureBar::draw(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLTextBox::draw(), LLStatGraph::draw(), LLStatBar::draw(), LLSlider::draw(), LLScrollListCtrl::draw(), LLScrollableContainerView::draw(), LLScrollbar::draw(), LLProgressView::draw(), LLPreviewTexture::draw(), LLPanelLogin::draw(), LLPanel::draw(), LLNetMap::draw(), LLMenuGL::draw(), LLMenuItemBranchDownGL::draw(), LLMenuItemTearOffGL::draw(), LLMenuItemGL::draw(), LLMemoryView::draw(), LLLineEditor::draw(), LLFrameStatView::draw(), LLFolderViewItem::draw(), LLPanelDeviceSettings::draw(), LLSnapshotLivePreview::draw(), LLFloaterPostcard::draw(), LLFloaterColorPicker::draw(), LLFloaterAuction::draw(), LLFloater::draw(), LLFastTimerView::draw(), LLContainerView::draw(), LLColorSwatchCtrl::draw(), LLButton::draw(), LLTextEditor::drawBackground(), LLMenuGL::drawBackground(), LLButton::drawBorder(), LLTextEditor::drawCursor(), LLScrollListCtrl::drawItems(), LLViewerWindow::drawMouselookInstructions(), LLFloaterColorPicker::drawPalette(), LLViewerWindow::drawPickBuffer(), LLTextEditor::drawSelectionBackground(), gl_rect_2d(), gl_rect_2d_checkerboard(), gl_rect_2d_offset_local(), and render_ui_2d().

void gl_rect_2d_checkerboard ( const LLRect rect  ) 

Definition at line 861 of file llui.cpp.

References f, FALSE, first, gl_rect_2d(), glPolygonStipple, i, j, S32, and TRUE.

Referenced by LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLPreviewTexture::draw(), LLFloaterImport::draw(), LLFloaterImagePreview::draw(), and LLColorSwatchCtrl::draw().

void gl_rect_2d_offset_local ( S32  left,
S32  top,
S32  right,
S32  bottom,
S32  pixel_offset,
BOOL  filled 
)

Definition at line 168 of file llui.cpp.

void gl_rect_2d_offset_local ( S32  left,
S32  top,
S32  right,
S32  bottom,
const LLColor4 color,
S32  pixel_offset,
BOOL  filled 
)

Definition at line 162 of file llui.cpp.

Referenced by LLTextBox::draw(), LLFloater::draw(), and gl_rect_2d_offset_local().

void gl_rect_2d_simple ( S32  width,
S32  height 
)

Definition at line 1022 of file llui.cpp.

References glBegin, and glEnd.

Referenced by LLTexLayerParamAlpha::render(), LLTexLayer::render(), LLTexLayerSet::render(), LLImagePreviewSculpted::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), LLTexLayer::renderAlphaMasks(), and LLTexLayerSet::renderBump().

void gl_rect_2d_simple_tex ( S32  width,
S32  height 
)

Definition at line 1003 of file llui.cpp.

References f, glBegin, and glEnd.

Referenced by LLProgressView::draw(), LLColorSwatchCtrl::draw(), LLVisualParamHint::render(), LLTexLayerParamAlpha::render(), LLTexLayer::render(), LLTexLayerSet::render(), render_disconnected_background(), LLTexLayer::renderAlphaMasks(), and LLTexLayer::renderImageRaw().

void gl_rect_2d_xor ( S32  left,
S32  top,
S32  right,
S32  bottom 
)

Definition at line 718 of file llui.cpp.

References glBegin, glColor4fv, glEnd, glLogicOp, stop_glerror, and LLColor4::white.

void gl_ring ( F32  radius,
F32  width,
const LLColor4 center_color,
const LLColor4 side_color,
S32  steps,
BOOL  render_center 
)

Definition at line 840 of file llui.cpp.

References f, gl_deep_circle(), gl_washer_2d(), glColor4fv, glPopMatrix, glTranslatef, and LLColor4::mV.

Referenced by LLManipRotate::render(), and LLManipRotate::renderActiveRing().

void gl_segmented_rect_2d_fragment_tex ( const S32  left,
const S32  top,
const S32  right,
const S32  bottom,
const S32  texture_width,
const S32  texture_height,
const S32  border_size,
const F32  start_fragment,
const F32  end_fragment,
const U32  edges 
)

Definition at line 1190 of file llui.cpp.

References f, glBegin, glEnd, glPopMatrix, glTranslatef, height, llabs(), llclamp(), llmax(), llmin(), LLVector2::mV, ROUNDED_RECT_BOTTOM, ROUNDED_RECT_LEFT, ROUNDED_RECT_RIGHT, ROUNDED_RECT_TOP, S32, VX, VY, width, and LLVector2::zero.

Referenced by LLFastTimerView::draw().

void gl_segmented_rect_2d_tex ( const S32  left,
const S32  top,
const S32  right,
const S32  bottom,
const S32  texture_width,
const S32  texture_height,
const S32  border_size,
const U32  edges 
)

Definition at line 1032 of file llui.cpp.

References f, glBegin, glEnd, glPopMatrix, glTranslatef, glVertex2f, height, llabs(), llmin(), LLVector2::mV, ROUNDED_RECT_BOTTOM, ROUNDED_RECT_LEFT, ROUNDED_RECT_RIGHT, ROUNDED_RECT_TOP, S32, VX, VY, width, and LLVector2::zero.

Referenced by LLOverlayBar::draw(), LLHoverView::draw(), LLFolderViewItem::draw(), LLNotifyBox::drawBackground(), and LLScrollListText::drawToWidth().

void gl_segmented_rect_3d_tex ( const LLVector2 border_scale,
const LLVector3 border_width,
const LLVector3 border_height,
const LLVector3 width_vec,
const LLVector3 height_vec,
const U32  edges 
)

Definition at line 1380 of file llui.cpp.

References f, glBegin, glEnd, LLVector2::mV, LLVector3::mV, ROUNDED_RECT_BOTTOM, ROUNDED_RECT_LEFT, ROUNDED_RECT_RIGHT, ROUNDED_RECT_TOP, VX, VY, and LLVector3::zero.

Referenced by gl_segmented_rect_3d_tex_top(), and LLHUDText::renderText().

void gl_segmented_rect_3d_tex_top ( const LLVector2 border_scale,
const LLVector3 border_width,
const LLVector3 border_height,
const LLVector3 width_vec,
const LLVector3 height_vec 
)

Definition at line 1512 of file llui.cpp.

References gl_segmented_rect_3d_tex(), and ROUNDED_RECT_TOP.

Referenced by LLHUDText::renderText().

void gl_state_for_2d ( S32  width,
S32  height 
)

Definition at line 132 of file llui.cpp.

References f, glOrtho, and stop_glerror.

Referenced by LLViewerWindow::setup2DRender().

void gl_stippled_line_3d ( const LLVector3 start,
const LLVector3 end,
const LLColor4 color,
F32  phase 
)

Definition at line 694 of file llui.cpp.

References end, f, glBegin, glColor4f, glEnd, glLineStipple, LLColor4::mV, S32, LLUI::setLineWidth(), start, VALPHA, VBLUE, VGREEN, and VRED.

Referenced by LLManipScale::renderGuidelinesPart().

void gl_triangle_2d ( S32  x1,
S32  y1,
S32  x2,
S32  y2,
S32  x3,
S32  y3,
const LLColor4 color,
BOOL  filled 
)

Definition at line 359 of file llui.cpp.

References glBegin, glColor4fv, glEnd, and LLColor4::mV.

Referenced by LLSlider::draw(), and LLFloaterColorPicker::draw().

void gl_washer_2d ( F32  outer_radius,
F32  inner_radius,
S32  steps,
const LLColor4 inner_color,
const LLColor4 outer_color 
)

Definition at line 896 of file llui.cpp.

References COS_DELTA, DELTA, F_TWO_PI, glBegin, glColor4fv, glEnd, glVertex2f, LLColor4::mV, and SIN_DELTA.

Referenced by LLPieMenu::draw(), gl_ring(), and LLManipRotate::render().

void gl_washer_segment_2d ( F32  outer_radius,
F32  inner_radius,
F32  start_radians,
F32  end_radians,
S32  steps,
const LLColor4 inner_color,
const LLColor4 outer_color 
)

Definition at line 933 of file llui.cpp.

References COS_DELTA, DELTA, glBegin, glColor4fv, glEnd, glVertex2f, LLColor4::mV, and SIN_DELTA.

Referenced by LLPieMenu::draw(), LLPieMenu::drawBackground(), and LLWorldMapView::drawTrackingCircle().

void gl_washer_spokes_2d ( F32  outer_radius,
F32  inner_radius,
S32  count,
const LLColor4 inner_color,
const LLColor4 outer_color 
)

Definition at line 968 of file llui.cpp.

References COS_DELTA, DELTA, F_TWO_PI, glBegin, glColor4fv, glEnd, glVertex2f, LLColor4::mV, and SIN_DELTA.

Referenced by LLPieMenu::draw().

void make_ui_sound ( const LLString name  ) 

Definition at line 87 of file llui.cpp.

References LLUUID::isNull(), llendl, llinfos, llwarns, NULL, LLUI::sAudioCallback, and LLUI::sConfigGroup.

Referenced by add_duplicate(), LLTextEditor::addChar(), LLIMMgr::addMessage(), LLFloater::close(), derez_objects(), LLToolDragAndDrop::dropObject(), LLFloaterWorldMap::fly(), LLModalDialog::handleDoubleClick(), LLPieMenu::handleHover(), LLRadioGroup::handleKeyHere(), LLTextBox::handleMouseDown(), LLSlider::handleMouseDown(), LLModalDialog::handleMouseDown(), LLMenuItemBranchDownGL::handleMouseDown(), LLFolderViewItem::handleMouseDown(), LLButton::handleMouseDown(), LLTextBox::handleMouseUp(), LLSlider::handleMouseUp(), LLPieMenu::handleMouseUp(), LLMenuItemBranchGL::handleMouseUp(), LLMenuItemGL::handleMouseUp(), LLButton::handleMouseUp(), LLFolderViewItem::handleRightMouseDown(), LLPieMenu::hide(), LLTextEditor::insertStringNoUndo(), LLPanelFriends::onClickIM(), LLButton::onCommit(), LLFloaterNewIM::onStart(), LLFloater::open(), process_teleport_start(), LLSelectMgr::repeatDuplicate(), LLTextEditor::reportBadKeystroke(), LLLineEditor::reportBadKeystroke(), LLSpinCtrl::reportInvalidData(), LLSliderCtrl::reportInvalidData(), LLScrollListCtrl::reportInvalidInput(), LLSelectMgr::selectDelete(), LLSelectMgr::selectDuplicate(), LLSelectMgr::selectDuplicateOnRay(), LLStatusBar::setBalance(), LLAgent::setFlying(), LLStatusBar::setHealth(), LLFloater::setMinimized(), LLAlertDialog::setVisible(), LLPieMenu::show(), LLPanelGroups::startIM(), LLFloaterWorldMap::teleport(), and LLAgent::teleportCore().

BOOL ui_point_in_rect ( S32  x,
S32  y,
S32  left,
S32  top,
S32  right,
S32  bottom 
)

Definition at line 122 of file llui.cpp.

References FALSE, and TRUE.

const LLColor4 UI_VERTEX_COLOR ( 1.  f,
1.  f,
1.  f,
1.  f 
)


Variable Documentation

BOOL gShowTextEditCursor = TRUE

Definition at line 67 of file llui.cpp.

Referenced by LLLineEditor::draw(), LLTextEditor::drawCursor(), LLViewerWindow::handleFocus(), and LLViewerWindow::handleFocusLost().

std::map<LLString, LLString> gTranslation

Definition at line 70 of file llui.cpp.

std::list<LLString> gUntranslated

Definition at line 71 of file llui.cpp.

LLShowXUINamesListener show_xui_names_listener [static]

Definition at line 1525 of file llui.cpp.

Referenced by LLUI::initClass().


Generated on Thu Jul 1 06:10:44 2010 for Second Life Viewer by  doxygen 1.4.7