#include "llrect.h"
#include "llcontrol.h"
#include "llcoord.h"
#include "llhtmlhelp.h"
#include "llgl.h"
#include <stack>
#include "llimagegl.h"
#include "llsd.h"
Go to the source code of this file.
Classes | |
class | LLUI |
class | FactoryPolicy< T > |
class | VisibilityPolicy< T > |
class | LLUIFactory< T, FACTORY_POLICY, VISIBILITY_POLICY > |
class | LLUISingleton< T, VISIBILITY_POLICY > |
class | LLScreenClipRect |
class | LLLocalClipRect |
class | LLUIImage |
class | LLTombStone< T > |
class | LLHandle< T > |
class | LLRootHandle< T > |
class | LLHandleProvider< T > |
class | LLImageProviderInterface |
Typedefs | |
typedef enum e_rounded_edge | ERoundedEdge |
typedef void(* | LLUIAudioCallback )(const LLUUID &uuid) |
typedef LLPointer< LLUIImage > | LLUIImagePtr |
Enumerations | |
enum | e_rounded_edge { ROUNDED_RECT_LEFT = 0x1, ROUNDED_RECT_TOP = 0x2, ROUNDED_RECT_RIGHT = 0x4, ROUNDED_RECT_BOTTOM = 0x8, ROUNDED_RECT_ALL = 0xf } |
Functions | |
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_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_rect_2d_simple (S32 width, S32 height) |
void | gl_draw_x (const LLRect &rect, const LLColor4 &color) |
void | gl_rect_2d (S32 left, S32 top, S32 right, S32 bottom, BOOL filled=TRUE) |
void | gl_rect_2d (S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &color, BOOL filled=TRUE) |
void | gl_rect_2d_offset_local (S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &color, S32 pixel_offset=0, BOOL filled=TRUE) |
void | gl_rect_2d_offset_local (S32 left, S32 top, S32 right, S32 bottom, S32 pixel_offset=0, BOOL filled=TRUE) |
void | gl_rect_2d (const LLRect &rect, BOOL filled=TRUE) |
void | gl_rect_2d (const LLRect &rect, const LLColor4 &color, BOOL filled=TRUE) |
void | gl_rect_2d_checkerboard (const LLRect &rect) |
void | gl_drop_shadow (S32 left, S32 top, S32 right, S32 bottom, const LLColor4 &start_color, S32 lines) |
void | gl_circle_2d (F32 x, F32 y, F32 radius, S32 steps, BOOL filled) |
void | gl_arc_2d (F32 center_x, F32 center_y, F32 radius, S32 steps, BOOL filled, F32 start_angle, F32 end_angle) |
void | gl_deep_circle (F32 radius, F32 depth) |
void | gl_ring (F32 radius, F32 width, const LLColor4 ¢er_color, const LLColor4 &side_color, S32 steps, BOOL render_center) |
void | gl_corners_2d (S32 left, S32 top, S32 right, S32 bottom, S32 length, F32 max_frac) |
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_draw_image (S32 x, S32 y, LLImageGL *image, const LLColor4 &color=UI_VERTEX_COLOR, const LLRectf &uv_rect=LLRectf(0.f, 1.f, 1.f, 0.f)) |
void | gl_draw_scaled_image (S32 x, S32 y, S32 width, S32 height, LLImageGL *image, const LLColor4 &color=UI_VERTEX_COLOR, const LLRectf &uv_rect=LLRectf(0.f, 1.f, 1.f, 0.f)) |
void | gl_draw_rotated_image (S32 x, S32 y, F32 degrees, LLImageGL *image, const LLColor4 &color=UI_VERTEX_COLOR, const LLRectf &uv_rect=LLRectf(0.f, 1.f, 1.f, 0.f)) |
void | gl_draw_scaled_rotated_image (S32 x, S32 y, S32 width, S32 height, F32 degrees, LLImageGL *image, const LLColor4 &color=UI_VERTEX_COLOR, const LLRectf &uv_rect=LLRectf(0.f, 1.f, 1.f, 0.f)) |
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=FALSE, const LLRectf &uv_rect=LLRectf(0.f, 1.f, 1.f, 0.f)) |
void | gl_draw_scaled_image_with_border (S32 x, S32 y, S32 width, S32 height, LLImageGL *image, const LLColor4 &color, BOOL solid_color=FALSE, const LLRectf &uv_rect=LLRectf(0.f, 1.f, 1.f, 0.f), const LLRectf &scale_rect=LLRectf(0.f, 1.f, 1.f, 0.f)) |
void | gl_draw_scaled_image_inverted (S32 x, S32 y, S32 width, S32 height, LLImageGL *image, const LLColor4 &color=UI_VERTEX_COLOR, const LLRectf &uv_rect=LLRectf(0.f, 1.f, 1.f, 0.f)) |
void | gl_rect_2d_xor (S32 left, S32 top, S32 right, S32 bottom) |
void | gl_stippled_line_3d (const LLVector3 &start, const LLVector3 &end, const LLColor4 &color, F32 phase=0.f) |
void | gl_rect_2d_simple_tex (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=ROUNDED_RECT_ALL) |
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=ROUNDED_RECT_ALL) |
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, U32 edges=ROUNDED_RECT_ALL) |
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) |
void | gl_rect_2d_offset_local (const LLRect &rect, S32 pixel_offset, BOOL filled) |
Variables | |
const LLColor4 | UI_VERTEX_COLOR |
BOOL | gShowTextEditCursor |
Copyright (c) 2001-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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.h.
typedef enum e_rounded_edge ERoundedEdge |
typedef void(* LLUIAudioCallback)(const LLUUID &uuid) |
typedef LLPointer<LLUIImage> LLUIImagePtr |
enum e_rounded_edge |
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 780 of file llui.cpp.
References LLGLImmediate::begin(), cosf, LLGLImmediate::end(), F_TWO_PI, gGL, LLVertexBuffer::LINE_STRIP, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), sinf, LLGLImmediate::translatef(), LLVertexBuffer::TRIANGLE_FAN, and LLGLImmediate::vertex2f().
Referenced by LLManipRotate::renderSnapGuides().
Definition at line 823 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), F_TWO_PI, gGL, LLVertexBuffer::LINE_LOOP, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLGLImmediate::translatef(), LLVertexBuffer::TRIANGLE_FAN, and LLGLImmediate::vertex2f().
Referenced by LLPieMenu::draw(), LLManipRotate::render(), and LLManipRotate::renderSnapGuides().
Definition at line 381 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, LLVertexBuffer::LINES, llmin(), S32, and LLGLImmediate::vertex2i().
void gl_draw_image | ( | S32 | x, | |
S32 | y, | |||
LLImageGL * | image, | |||
const LLColor4 & | color = UI_VERTEX_COLOR , |
|||
const LLRectf & | uv_rect = LLRectf(0.f, 1.f, 1.f, 0.f) | |||
) |
Definition at line 415 of file llui.cpp.
References LLImageGL::getHeight(), LLImageGL::getWidth(), gl_draw_scaled_rotated_image(), llendl, llwarns, and NULL.
Referenced by LLFloaterColorPicker::draw(), and LLUIImage::draw().
void gl_draw_rotated_image | ( | S32 | x, | |
S32 | y, | |||
F32 | degrees, | |||
LLImageGL * | image, | |||
const LLColor4 & | color = UI_VERTEX_COLOR , |
|||
const LLRectf & | uv_rect = LLRectf(0.f, 1.f, 1.f, 0.f) | |||
) |
Definition at line 647 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 = UI_VERTEX_COLOR , |
|||
const LLRectf & | uv_rect = LLRectf(0.f, 1.f, 1.f, 0.f) | |||
) |
Definition at line 425 of file llui.cpp.
References gl_draw_scaled_rotated_image(), llendl, llwarns, and NULL.
Referenced by LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLPreviewTexture::draw(), LLFloaterSnapshot::draw(), LLFloaterPostcard::draw(), LLFloaterAuction::draw(), and LLUIImage::draw().
void gl_draw_scaled_image_inverted | ( | S32 | x, | |
S32 | y, | |||
S32 | width, | |||
S32 | height, | |||
LLImageGL * | image, | |||
const LLColor4 & | color = UI_VERTEX_COLOR , |
|||
const LLRectf & | uv_rect = LLRectf(0.f, 1.f, 1.f, 0.f) | |||
) |
Definition at line 698 of file llui.cpp.
References LLGLImmediate::begin(), LLImageGL::bind(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, llendl, llwarns, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLColor4::mV, NULL, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLVertexBuffer::QUADS, LLGLImmediate::texCoord2f(), LLGLImmediate::translatef(), and LLGLImmediate::vertex2i().
void gl_draw_scaled_image_with_border | ( | S32 | x, | |
S32 | y, | |||
S32 | width, | |||
S32 | height, | |||
LLImageGL * | image, | |||
const LLColor4 & | color, | |||
BOOL | solid_color = FALSE , |
|||
const LLRectf & | uv_rect = LLRectf(0.f, 1.f, 1.f, 0.f) , |
|||
const LLRectf & | scale_rect = LLRectf(0.f, 1.f, 1.f, 0.f) | |||
) |
Definition at line 451 of file llui.cpp.
References LLGLImmediate::begin(), LLImageGL::bind(), LLGLImmediate::color4fv(), LLGLImmediate::end(), LLImageGL::getHeight(), LLRectBase< Type >::getHeight(), LLImageGL::getWidth(), LLRectBase< Type >::getWidth(), gGL, lerp(), llendl, llmax(), llround(), llwarns, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLColor4::mV, NULL, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLVertexBuffer::QUADS, S32, stop_glerror, LLGLImmediate::texCoord2f(), LLGLImmediate::translatef(), and LLGLImmediate::vertex2i().
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 = FALSE , |
|||
const LLRectf & | uv_rect = LLRectf(0.f, 1.f, 1.f, 0.f) | |||
) |
Definition at line 435 of file llui.cpp.
References LLImageGL::getHeight(), LLImageGL::getWidth(), gl_draw_scaled_image_with_border(), llendl, llwarns, and NULL.
Referenced by LLUIImage::draw(), LLUIImage::drawSolid(), and gl_draw_scaled_image_with_border().
void gl_draw_scaled_rotated_image | ( | S32 | x, | |
S32 | y, | |||
S32 | width, | |||
S32 | height, | |||
F32 | degrees, | |||
LLImageGL * | image, | |||
const LLColor4 & | color = UI_VERTEX_COLOR , |
|||
const LLRectf & | uv_rect = LLRectf(0.f, 1.f, 1.f, 0.f) | |||
) |
Definition at line 652 of file llui.cpp.
References LLGLImmediate::begin(), LLImageGL::bind(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, llendl, llwarns, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLColor4::mV, NULL, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLVertexBuffer::QUADS, LLGLImmediate::texCoord2f(), LLGLImmediate::translatef(), and LLGLImmediate::vertex2i().
Referenced by LLFolderViewItem::draw(), LLTracker::drawMarker(), LLWorldMapView::drawTrackingArrow(), gl_draw_image(), gl_draw_rotated_image(), and gl_draw_scaled_image().
Definition at line 149 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, LLVertexBuffer::LINES, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, LLColor4::mV, and LLGLImmediate::vertex2i().
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 259 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, LLColor4::mV, LLVertexBuffer::QUADS, stop_glerror, VALPHA, and LLGLImmediate::vertex2i().
Referenced by LLStatusBar::draw(), LLSnapshotLivePreview::draw(), LLTextBox::draw(), LLModalDialog::draw(), LLMenuGL::draw(), LLFloater::draw(), and LLAlertDialog::draw().
Definition at line 340 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, gGLManager, LLVertexBuffer::LINES, LLGLManager::mATIOffsetVerticalLines, LLColor4::mV, and LLGLImmediate::vertex2i().
Definition at line 321 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, gGLManager, LLVertexBuffer::LINES, LLGLManager::mATIOffsetVerticalLines, and LLGLImmediate::vertex2i().
Referenced by LLHorizontalCompass::draw(), LLFloaterColorPicker::draw(), LLFastTimerView::draw(), LLScrollListSeparator::draw(), LLMenuItemBranchDownGL::draw(), LLMenuItemTearOffGL::draw(), LLMenuItemSeparatorGL::draw(), LLMenuItemGL::draw(), LLViewBorder::drawOnePixelLines(), LLFloaterColorPicker::drawPalette(), LLViewerWindow::drawPickBuffer(), and LLViewBorder::drawTwoPixelLines().
Definition at line 250 of file llui.cpp.
References LLGLImmediate::color4fv(), gGL, gl_rect_2d(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, LLRectBase< Type >::mTop, and LLColor4::mV.
Definition at line 132 of file llui.h.
References gl_rect_2d(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, and LLRectBase< Type >::mTop.
void gl_rect_2d | ( | S32 | left, | |
S32 | top, | |||
S32 | right, | |||
S32 | bottom, | |||
const LLColor4 & | color, | |||
BOOL | filled = TRUE | |||
) |
Definition at line 243 of file llui.cpp.
References LLGLImmediate::color4fv(), gGL, gl_rect_2d(), and LLColor4::mV.
Definition at line 188 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, gGLManager, LLVertexBuffer::LINE_STRIP, LLVertexBuffer::LINES, LLGLManager::mATIOffsetVerticalLines, LLVertexBuffer::QUADS, stop_glerror, and LLGLImmediate::vertex2i().
Referenced by LLWorldMapView::draw(), LLVelocityBar::draw(), LLToolSelectRect::draw(), LLGLTexMemBar::draw(), LLTextureBar::draw(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLStatGraph::draw(), LLStatBar::draw(), LLProgressView::draw(), LLPreviewTexture::draw(), LLPanelLogin::draw(), LLNetMap::draw(), LLMemoryView::draw(), LLFrameStatView::draw(), LLFolderViewItem::draw(), LLPanelVoiceDeviceSettings::draw(), LLSnapshotLivePreview::draw(), LLFloaterPostcard::draw(), LLFloaterColorPicker::draw(), LLFloaterAuction::draw(), LLFastTimerView::draw(), LLContainerView::draw(), LLColorSwatchCtrl::draw(), LLTextBox::draw(), LLScrollListCtrl::draw(), LLScrollListItem::draw(), LLScrollableContainerView::draw(), LLScrollbar::draw(), LLPanel::draw(), LLMultiSlider::draw(), LLMenuGL::draw(), LLMenuItemBranchDownGL::draw(), LLMenuItemTearOffGL::draw(), LLMenuItemGL::draw(), LLLineEditor::draw(), LLFloater::draw(), LLButton::draw(), LLTextEditor::drawBackground(), LLMenuGL::drawBackground(), LLTextEditor::drawCursor(), LLViewerWindow::drawMouselookInstructions(), LLFloaterColorPicker::drawPalette(), LLViewerWindow::drawPickBuffer(), LLTextEditor::drawPreeditMarker(), LLSnapshotLivePreview::drawPreviewRect(), 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 905 of file llui.cpp.
References LLGLImmediate::color3f(), FALSE, LLGLImmediate::flush(), gGL, gl_rect_2d(), i, j, S32, and TRUE.
Referenced by LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLPreviewTexture::draw(), LLFloaterImagePreview::draw(), and LLColorSwatchCtrl::draw().
Definition at line 137 of file llui.h.
References gl_rect_2d_offset_local(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLRectBase< Type >::mRight, and LLRectBase< Type >::mTop.
void gl_rect_2d_offset_local | ( | S32 | left, | |
S32 | top, | |||
S32 | right, | |||
S32 | bottom, | |||
S32 | pixel_offset = 0 , |
|||
BOOL | filled = TRUE | |||
) |
Definition at line 170 of file llui.cpp.
References gGL, gl_rect_2d(), llfloor(), LLCoord::mX, LLCoord::mY, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLFontGL::sCurOrigin, LLUI::sGLScaleFactor, VX, and VY.
void gl_rect_2d_offset_local | ( | S32 | left, | |
S32 | top, | |||
S32 | right, | |||
S32 | bottom, | |||
const LLColor4 & | color, | |||
S32 | pixel_offset = 0 , |
|||
BOOL | filled = TRUE | |||
) |
Definition at line 164 of file llui.cpp.
References LLGLImmediate::color4fv(), gGL, gl_rect_2d_offset_local(), and LLColor4::mV.
Referenced by LLTextBox::draw(), LLFloater::draw(), and gl_rect_2d_offset_local().
Definition at line 1068 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, LLVertexBuffer::QUADS, and LLGLImmediate::vertex2i().
Referenced by LLTexLayerParamAlpha::render(), LLTexLayer::render(), LLTexLayerSet::render(), LLImagePreviewSculpted::render(), LLImagePreviewAvatar::render(), LLPreviewAnimation::render(), LLTexLayer::renderAlphaMasks(), and LLTexLayerSet::renderBump().
Definition at line 1049 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, LLVertexBuffer::QUADS, LLGLImmediate::texCoord2f(), and LLGLImmediate::vertex2i().
Referenced by LLProgressView::draw(), LLTexLayerParamAlpha::render(), LLTexLayer::render(), LLTexLayerSet::render(), render_disconnected_background(), LLTexLayer::renderAlphaMasks(), and LLTexLayer::renderImageRaw().
Definition at line 762 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, LLVertexBuffer::QUADS, stop_glerror, LLGLImmediate::vertex2i(), 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 884 of file llui.cpp.
References LLGLImmediate::color4fv(), gGL, gl_deep_circle(), gl_washer_2d(), LLColor4::mV, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), and LLGLImmediate::translatef().
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 = ROUNDED_RECT_ALL | |||
) |
Definition at line 1236 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, llabs(), llclamp(), llmax(), llmin(), LLVector2::mV, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLVertexBuffer::QUADS, ROUNDED_RECT_BOTTOM, ROUNDED_RECT_LEFT, ROUNDED_RECT_RIGHT, ROUNDED_RECT_TOP, S32, LLGLImmediate::texCoord2f(), LLGLImmediate::translatef(), LLGLImmediate::vertex2fv(), VX, VY, 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 = ROUNDED_RECT_ALL | |||
) |
Definition at line 1078 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, llabs(), llmin(), LLVector2::mV, LLGLImmediate::popMatrix(), LLGLImmediate::pushMatrix(), LLVertexBuffer::QUADS, ROUNDED_RECT_BOTTOM, ROUNDED_RECT_LEFT, ROUNDED_RECT_RIGHT, ROUNDED_RECT_TOP, S32, LLGLImmediate::texCoord2f(), LLGLImmediate::translatef(), LLGLImmediate::vertex2f(), LLGLImmediate::vertex2fv(), VX, VY, and LLVector2::zero.
Referenced by LLNotifyBox::drawBackground().
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, | |||
U32 | edges = ROUNDED_RECT_ALL | |||
) |
Definition at line 1426 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::end(), gGL, LLVector3::mV, LLVector2::mV, LLVertexBuffer::QUADS, ROUNDED_RECT_BOTTOM, ROUNDED_RECT_LEFT, ROUNDED_RECT_RIGHT, ROUNDED_RECT_TOP, LLGLImmediate::texCoord2f(), LLGLImmediate::vertex3f(), LLGLImmediate::vertex3fv(), 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 1560 of file llui.cpp.
References gl_segmented_rect_3d_tex(), and ROUNDED_RECT_TOP.
Referenced by LLHUDText::renderText().
Definition at line 134 of file llui.cpp.
References stop_glerror.
Referenced by LLViewerWindow::setup2DRender().
void gl_stippled_line_3d | ( | const LLVector3 & | start, | |
const LLVector3 & | end, | |||
const LLColor4 & | color, | |||
F32 | phase = 0.f | |||
) |
Definition at line 736 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4f(), LLGLImmediate::end(), LLGLImmediate::flush(), gGL, LLVertexBuffer::LINES, LLVector3::mV, LLColor4::mV, S32, LLUI::setLineWidth(), VALPHA, VBLUE, LLGLImmediate::vertex3fv(), 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 361 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), LLGLImmediate::end(), gGL, LLVertexBuffer::LINE_LOOP, LLColor4::mV, LLVertexBuffer::TRIANGLES, and LLGLImmediate::vertex2i().
Referenced by LLFloaterColorPicker::draw(), and LLMultiSlider::draw().
void gl_washer_2d | ( | F32 | outer_radius, | |
F32 | inner_radius, | |||
S32 | steps, | |||
const LLColor4 & | inner_color, | |||
const LLColor4 & | outer_color | |||
) |
Definition at line 942 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), COS_DELTA, DELTA, LLGLImmediate::end(), F_TWO_PI, gGL, LLColor4::mV, SIN_DELTA, LLVertexBuffer::TRIANGLE_STRIP, and LLGLImmediate::vertex2f().
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 979 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), COS_DELTA, DELTA, LLGLImmediate::end(), gGL, LLColor4::mV, SIN_DELTA, LLVertexBuffer::TRIANGLE_STRIP, and LLGLImmediate::vertex2f().
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 1014 of file llui.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4fv(), COS_DELTA, DELTA, LLGLImmediate::end(), F_TWO_PI, gGL, LLVertexBuffer::LINES, LLColor4::mV, SIN_DELTA, and LLGLImmediate::vertex2f().
Referenced by LLPieMenu::draw().
void make_ui_sound | ( | const LLString & | name | ) |
Definition at line 69 of file llui.cpp.
Referenced by LLLineEditor::draw(), LLTextEditor::drawCursor(), LLViewerWindow::handleFocus(), and LLViewerWindow::handleFocusLost().
const LLColor4 UI_VERTEX_COLOR |
Referenced by LLJoystickCameraRotate::drawRotatedImage().