#include <v4color.h>
Definition at line 50 of file v4color.h.
LLColor4::LLColor4 | ( | void | ) | [inline] |
Definition at line 228 of file v4color.h.
References mV, VW, VX, VY, and VZ.
Referenced by lerp(), operator%(), operator*(), operator+(), and operator-().
LLColor4::LLColor4 | ( | U32 | clr | ) | [inline] |
LLColor4::LLColor4 | ( | const F32 * | vec | ) | [inline] |
LLColor4::LLColor4 | ( | const LLColor4U & | color4u | ) | [explicit] |
LLColor4::LLColor4 | ( | const LLVector4 & | vector4 | ) | [explicit] |
LLSD LLColor4::getValue | ( | ) | const [inline] |
Definition at line 64 of file v4color.h.
References mV.
Referenced by LLControlGroup::declareColor4(), LLColorSwatchCtrl::getValue(), LLControlGroup::loadFromFileLegacy(), LLFloaterSettingsDebug::onCommitSettings(), LLColorSwatchCtrl::set(), and LLControlGroup::setColor4().
void LLColor4::setValue | ( | const LLSD & | sd | ) | [inline] |
Definition at line 74 of file v4color.h.
References mV.
Referenced by LLFloaterSettingsDebug::updateControl().
Definition at line 239 of file v4color.cpp.
References H, mV, VBLUE, VGREEN, and VRED.
Referenced by LLFloaterColorPicker::getComplimentaryColor(), and LLFontGL::render().
const LLColor4 & LLColor4::setToBlack | ( | void | ) | [inline] |
const LLColor4 & LLColor4::setToWhite | ( | void | ) | [inline] |
Definition at line 283 of file v4color.h.
References mV, VW, VX, VY, and VZ.
Referenced by LLTexLayer::findNetColor(), get_text_color(), and LLLightParams::LLLightParams().
Definition at line 304 of file v4color.h.
References mV, VW, VX, VY, and VZ.
Referenced by LLTexLayer::findNetColor(), get_text_color(), LLUICtrlFactory::getAttributeColor(), init_colors(), LLSprite::LLSprite(), parseColor(), parseColor4(), LLTexParamColorInfo::parseXml(), LLTexLayerInfo::parseXml(), process_chat_from_simulator(), process_kill_object(), LLViewerObject::processUpdateMessage(), LLPanelActiveSpeakers::refreshSpeakers(), LLManipRotate::render(), LLDrawPoolWater::render(), LLPipeline::renderHighlights(), LLManipTranslate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLSprite::setColor(), LLTextureEntry::setColor(), LLPartData::setEndColor(), LLPartData::setStartColor(), LLPipeline::setupHWLights(), LLDrawPoolWater::shade(), LLHUDEffectSpiral::triggerLocal(), LLPartData::unpack(), and LLViewerPartGroup::updateParticles().
Definition at line 332 of file v4color.h.
Referenced by LLVOSky::calcAtmospherics(), LLTextureBar::draw(), LLMemoryView::draw(), LLVOAvatar::idleUpdate(), LLHUDText::renderText(), and LLVOSky::updateFog().
F32 LLColor4::magVec | ( | void | ) | const [inline] |
F32 LLColor4::magVecSquared | ( | void | ) | const [inline] |
F32 LLColor4::normVec | ( | void | ) | [inline] |
BOOL LLColor4::isOpaque | ( | ) | [inline] |
F32 LLColor4::operator[] | ( | int | idx | ) | const [inline] |
F32& LLColor4::operator[] | ( | int | idx | ) | [inline] |
LLColor4::operator const LLColor4U | ( | ) | const |
Definition at line 130 of file v4color.cpp.
References llclampb(), llround(), mV, VALPHA, VBLUE, VGREEN, and VRED.
Definition at line 289 of file v4color.cpp.
References black, blue, blue1, blue2, blue3, blue4, blue5, blue6, LLStringBase< char >::convertToF32(), cyan, cyan1, cyan2, cyan3, cyan4, cyan5, cyan6, FALSE, green, green1, green2, green3, green4, green5, green6, grey, grey1, grey2, grey3, grey4, llendl, llwarns, magenta, magenta1, magenta2, magenta3, magenta4, mV, NULL, orange, orange1, orange2, orange3, orange4, orange5, orange6, pink, pink1, pink2, purple, purple1, purple2, purple3, purple4, purple5, purple6, red, red1, red2, red3, red4, red5, setVec(), smoke, TRUE, VW, VX, VY, VZ, white, yellow, yellow1, yellow2, yellow3, yellow4, yellow5, and yellow6.
Referenced by LLUICtrlFactory::getAttributeColor(), and LLXmlTreeNode::getFastAttributeColor().
Definition at line 618 of file v4color.cpp.
References FALSE, mV, NULL, S32, setVec(), and TRUE.
Referenced by LLXmlTreeNode::getFastAttributeColor4().
void LLColor4::clamp | ( | ) | [inline] |
Definition at line 519 of file v4color.h.
References mV.
Referenced by LLLightParams::setColor(), and LLPipeline::setupHWLights().
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLColor4 & | a | |||
) | [friend] |
Definition at line 207 of file v4color.cpp.
Definition at line 213 of file v4color.cpp.
Definition at line 220 of file v4color.cpp.
Definition at line 53 of file v4color.h.
Referenced by LLView::addColorXML(), calcHSL(), LLVOSky::calcSkyColorInDir(), clamp(), color_max(), LLManipScale::conditionalHighlight(), LLWorldMapView::draw(), LLTextureBar::draw(), LLStatGraph::draw(), LLProgressView::draw(), LLNetMap::draw(), LLHoverView::draw(), LLHorizontalCompass::draw(), LLFolderViewItem::draw(), LLSnapshotLivePreview::draw(), LLFastTimerView::draw(), LLConsole::draw(), LLColorSwatchCtrl::draw(), LLScrollListCtrl::draw(), LLScrollListItem::draw(), LLScrollableContainerView::draw(), LLPieMenu::draw(), LLMenuItemGL::draw(), LLLineEditor::draw(), LLFloater::draw(), LLButton::draw(), draw_shockwave(), LLPieMenu::drawBackground(), LLMenuGL::drawBackground(), LLTextEditor::drawClippedSegment(), LLTextEditor::drawCursor(), LLView::drawDebugRect(), drawDot(), LLFontGL::drawGlyph(), LLScrollListCtrl::drawItems(), LLViewBorder::drawOnePixelLines(), LLJoystickCameraRotate::drawRotatedImage(), LLTextEditor::drawSelectionBackground(), LLViewerJointMesh::drawShape(), LLViewBorder::drawTwoPixelLines(), LLPipeline::enableLights(), LLPipeline::enableLightsAvatarEdit(), LLPipeline::enableLightsFullbright(), LLTexLayer::findNetColor(), LLPipeline::generateWaterReflection(), get_text_color(), LLSprite::getAlpha(), LLXMLNode::getAttributeColor(), LLXMLNode::getAttributeColor4(), LLVOAvatar::getClothesColor(), LLTexGlobalColor::getColor(), LLFocusMgr::getFocusColor(), LLVOVolume::getLightColor(), LLVOVolume::getLightIntensity(), LLTexParamColor::getNetColor(), LLPipeline::getPoolTypeFromTE(), getValue(), LLColorSwatchCtrl::getXML(), LLScrollableContainerView::getXML(), LLMenuGL::getXML(), LLIconCtrl::getXML(), gl_draw_scaled_image_inverted(), gl_draw_scaled_image_with_border(), gl_draw_scaled_rotated_image(), gl_draw_x(), gl_drop_shadow(), gl_line_2d(), gl_rect_2d(), gl_rect_2d_offset_local(), gl_ring(), gl_stippled_line_3d(), gl_triangle_2d(), gl_washer_2d(), gl_washer_segment_2d(), gl_washer_spokes_2d(), LLManipTranslate::highlightIntersection(), LLVOTextBubble::idleUpdate(), isOpaque(), lerp(), ll_color4_from_sd(), ll_sd_from_color4(), LLButton::LLButton(), LLColor3::LLColor3(), LLColor4(), LLGLSSpecular::LLGLSSpecular(), LLSky::LLSky(), LLVOSky::LLVOSky(), magVec(), magVecSquared(), normVec(), LLColorSwatchCtrl::onColorChanged(), LLFloaterColorPicker::onColorSelect(), LLVOAvatar::onGlobalColorChanged(), operator const LLColor4U(), operator!=(), operator%(), operator%=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), WaterColorControl::operator=(), operator=(), LLColor3::operator=(), operator==(), operator[](), LLDataPackerAsciiFile::packColor4(), LLDataPackerAsciiBuffer::packColor4(), LLDataPackerBinaryBuffer::packColor4(), parseColor(), parseColor4(), LLDrawPoolWater::prerender(), LLVolumeGeometryManager::rebuildGeom(), LLTexLayer::render(), LLDrawPoolWater::render(), LLFontGL::render(), LLTexLayer::renderAlphaMasks(), LLManipTranslate::renderArrow(), LLTracker::renderBeacon(), LLManipScale::renderFaces(), LLVOAvatar::renderFootShadows(), LLFace::renderForSelect(), LLHUDIcon::renderIcon(), LLViewerObjectList::renderObjectBeacons(), LLSelectNode::renderOneSilhouette(), LLToolBrushLand::renderOverlay(), LLDrawPoolWater::renderReflection(), LLFace::renderSelected(), LLFace::renderSetColor(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLDrawPoolWLSky::renderStars(), LLDrawPoolSky::renderSunHalo(), LLHUDText::renderText(), LLManip::renderTickText(), LLManip::renderTickValue(), LLManipTranslate::renderTranslationHandles(), LLView::saveColorToXML(), LLSelectMgr::selectionSetAlphaOnly(), LLSelectMgr::selectionSetColorOnly(), LLWLParamSet::set(), LLWaterParamSet::set(), LLColorSwatchCtrl::set(), LLSprite::setAlpha(), LLTextureEntry::setAlpha(), setAlpha(), LLVOAvatar::setClothesColor(), LLUndoWearable::setColor(), LLFacePool::LLOverrideFaceColor::setColor(), LLButton::setDisabledImages(), LLPartData::setEndAlpha(), LLButton::setImageDisabled(), LLButton::setImageDisabledSelected(), LLVOVolume::setLightColor(), LLVOVolume::setLightIntensity(), LLColorSwatchCtrl::setOriginal(), LLPartData::setStartAlpha(), setToBlack(), setToWhite(), LLPipeline::setupAvatarLights(), LLPipeline::setupHWLights(), LLManip::setupSnapGuideRenderPass(), setValue(), setVec(), LLColor4U::setVecScaleClamp(), LLDrawPoolWater::shade(), LLColorSwatchCtrl::showPicker(), LLFloaterWater::syncMenu(), LLFloaterEnvSettings::syncMenu(), LLDataPackerAsciiFile::unpackColor4(), LLDataPackerAsciiBuffer::unpackColor4(), LLDataPackerBinaryBuffer::unpackColor4(), LLPrimitive::unpackTEMessage(), LLFloaterSettingsDebug::updateControl(), LLVOSky::updateFog(), LLVOGround::updateGeometry(), LLVOAvatar::updateMeshTextures(), LLVOSky::updateSky(), and vec4to3().
LLColor4 LLColor4::red [static] |
Definition at line 134 of file v4color.h.
Referenced by LLVoiceRemoteCtrl::draw(), LLTextureBar::draw(), LLFloaterSnapshot::draw(), LLFloaterChatterBox::draw(), init_colors(), parseColor(), and LLSelectMgr::renderSilhouettes().
LLColor4 LLColor4::green [static] |
Definition at line 135 of file v4color.h.
Referenced by LLHUDView::colorFromType(), LLVoiceRemoteCtrl::draw(), LLTextureBar::draw(), LLFloaterChatterBox::draw(), init_colors(), parseColor(), and pushVertsColorCoded().
LLColor4 LLColor4::blue [static] |
LLColor4 LLColor4::black [static] |
Definition at line 137 of file v4color.h.
Referenced by LLScrollListItem::addColumn(), LLHUDView::colorFromType(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLStatGraph::draw(), LLColorSwatchCtrl::draw(), LLPipeline::enableLights(), LLFloaterColorPicker::getComplimentaryColor(), LLGroupNotifyBox::LLGroupNotifyBox(), parseColor(), LLPanelActiveSpeakers::refreshSpeakers(), LLDrawPoolWLSky::renderStars(), LLManip::renderTickText(), LLManip::renderTickValue(), LLManip::renderXYZ(), LLPipeline::setupAvatarLights(), and LLPipeline::setupHWLights().
LLColor4 LLColor4::white [static] |
Definition at line 138 of file v4color.h.
Referenced by LLFloaterTelehub::addBeacons(), LLPipeline::blurReflectionMap(), LLWorldMapView::draw(), LLWebBrowserCtrl::draw(), LLVoiceRemoteCtrl::draw(), LLTextureBar::draw(), LLPreviewTexture::draw(), LLMemoryView::draw(), LLFloaterSnapshot::draw(), LLFloaterPostcard::draw(), LLFloaterColorPicker::draw(), LLFloaterChatterBox::draw(), LLFastTimerView::draw(), LLColumnHeader::draw(), LLScrollListCtrl::drawItems(), LLViewerWindow::drawPickBuffer(), LLWorldMapView::drawTracking(), LLIconCtrl::fromXML(), LLControlGroup::getColor(), LLControlGroup::getColor4(), LLFloaterColorPicker::getComplimentaryColor(), LLFocusMgr::getFocusColor(), LLFace::getRenderColor(), LLPanelFace::getState(), gl_rect_2d_xor(), LLButton::init(), init_colors(), LLControlGroup::loadFromFileLegacy(), LLStyleMap::lookup(), parseColor(), LLFloaterTOS::postBuild(), LLFontGL::render(), render_ui_2d(), LLHUDIcon::renderIcon(), LLFace::renderSelectedUV(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLViewerObject::setDebugText(), LLPipeline::setupHWLights(), and LLVOSky::updateFog().
LLColor4 LLColor4::yellow [static] |
Definition at line 139 of file v4color.h.
Referenced by LLFloaterTelehub::addBeacons(), LLWorldMapView::draw(), LLVoiceRemoteCtrl::draw(), LLTextureBar::draw(), LLFloaterChatterBox::draw(), init_colors(), and parseColor().
LLColor4 LLColor4::magenta [static] |
LLColor4 LLColor4::cyan [static] |
LLColor4 LLColor4::smoke [static] |
LLColor4 LLColor4::grey [static] |
Definition at line 143 of file v4color.h.
Referenced by LLFloaterChat::addChatHistory(), LLViewerTextEditor::appendTime(), LLFloaterIMPanel::chatFromLogFile(), LLTextureBar::draw(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLPanelVoiceDeviceSettings::draw(), LLFastTimerView::draw(), LLColorSwatchCtrl::draw(), and parseColor().
LLColor4 LLColor4::orange [static] |
Definition at line 144 of file v4color.h.
Referenced by LLFloaterTelehub::addBeacons(), LLWorldMapView::draw(), LLTextureBar::draw(), and parseColor().
LLColor4 LLColor4::purple [static] |
LLColor4 LLColor4::pink [static] |
LLColor4 LLColor4::transparent [static] |
Definition at line 147 of file v4color.h.
Referenced by LLColumnHeader::draw(), LLScrollListCtrl::drawItems(), LLNotifyBox::LLNotifyBox(), and LLPanelActiveSpeakers::refreshSpeakers().
LLColor4 LLColor4::grey1 [static] |
LLColor4 LLColor4::grey2 [static] |
LLColor4 LLColor4::grey3 [static] |
LLColor4 LLColor4::grey4 [static] |
Definition at line 153 of file v4color.h.
Referenced by LLGroupNotifyBox::LLGroupNotifyBox(), parseColor(), and LLPanelActiveSpeakers::refreshSpeakers().
LLColor4 LLColor4::red1 [static] |
LLColor4 LLColor4::red2 [static] |
LLColor4 LLColor4::red3 [static] |
LLColor4 LLColor4::red4 [static] |
LLColor4 LLColor4::red5 [static] |
LLColor4 LLColor4::green1 [static] |
LLColor4 LLColor4::green2 [static] |
Definition at line 162 of file v4color.h.
Referenced by LLTextureBar::draw(), parseColor(), and pushVertsColorCoded().
LLColor4 LLColor4::green3 [static] |
LLColor4 LLColor4::green4 [static] |
Definition at line 164 of file v4color.h.
Referenced by LLTextureBar::draw(), parseColor(), and pushVertsColorCoded().
LLColor4 LLColor4::green5 [static] |
LLColor4 LLColor4::green6 [static] |
LLColor4 LLColor4::blue1 [static] |
LLColor4 LLColor4::blue2 [static] |
LLColor4 LLColor4::blue3 [static] |
LLColor4 LLColor4::blue4 [static] |
Definition at line 171 of file v4color.h.
Referenced by LLGroupNotifyBox::LLGroupNotifyBox(), and parseColor().
LLColor4 LLColor4::blue5 [static] |
LLColor4 LLColor4::blue6 [static] |
LLColor4 LLColor4::yellow1 [static] |
LLColor4 LLColor4::yellow2 [static] |
LLColor4 LLColor4::yellow3 [static] |
LLColor4 LLColor4::yellow4 [static] |
LLColor4 LLColor4::yellow5 [static] |
LLColor4 LLColor4::yellow6 [static] |
LLColor4 LLColor4::yellow7 [static] |
LLColor4 LLColor4::yellow8 [static] |
LLColor4 LLColor4::yellow9 [static] |
LLColor4 LLColor4::orange1 [static] |
LLColor4 LLColor4::orange2 [static] |
LLColor4 LLColor4::orange3 [static] |
LLColor4 LLColor4::orange4 [static] |
LLColor4 LLColor4::orange5 [static] |
LLColor4 LLColor4::orange6 [static] |
LLColor4 LLColor4::magenta1 [static] |
LLColor4 LLColor4::magenta2 [static] |
LLColor4 LLColor4::magenta3 [static] |
LLColor4 LLColor4::magenta4 [static] |
LLColor4 LLColor4::purple1 [static] |
LLColor4 LLColor4::purple2 [static] |
LLColor4 LLColor4::purple3 [static] |
LLColor4 LLColor4::purple4 [static] |
LLColor4 LLColor4::purple5 [static] |
LLColor4 LLColor4::purple6 [static] |
LLColor4 LLColor4::pink1 [static] |
LLColor4 LLColor4::pink2 [static] |
LLColor4 LLColor4::cyan1 [static] |
LLColor4 LLColor4::cyan2 [static] |
LLColor4 LLColor4::cyan3 [static] |
LLColor4 LLColor4::cyan4 [static] |
LLColor4 LLColor4::cyan5 [static] |
LLColor4 LLColor4::cyan6 [static] |