#include <v4color.h>
Collaboration diagram for LLColor4:
Definition at line 49 of file v4color.h.
LLColor4::LLColor4 | ( | ) | [inline] |
LLColor4::LLColor4 | ( | U32 | clr | ) | [inline] |
LLColor4::LLColor4 | ( | const F32 * | vec | ) | [inline] |
LLColor4::LLColor4 | ( | const LLSD & | sd | ) | [inline] |
LLColor4::LLColor4 | ( | const LLColor4U & | color4u | ) | [explicit] |
Definition at line 231 of file v4color.cpp.
References f, H, mV, VBLUE, VGREEN, and VRED.
Referenced by LLFloaterColorPicker::getComplimentaryColor(), and LLFontGL::render().
void LLColor4::clamp | ( | ) | [inline] |
Definition at line 516 of file v4color.h.
Referenced by LLVOStars::initStars(), LLPipeline::setAmbient(), LLLightParams::setColor(), and LLPipeline::setupHWLights().
LLSD LLColor4::getValue | ( | ) | const [inline] |
Definition at line 62 of file v4color.h.
References mV.
Referenced by LLControlGroup::declareColor4(), LLColorSwatchCtrl::getValue(), LLControlGroup::loadFromFile(), LLControlGroup::loadFromFileLegacy(), LLFloaterSettingsDebug::onCommitSettings(), LLFloaterAvatarList::refreshAvatarList(), LLPanelActiveSpeakers::refreshSpeakers(), LLColorSwatchCtrl::set(), and LLControlGroup::setColor4().
BOOL LLColor4::isOpaque | ( | ) | [inline] |
F32 LLColor4::magVec | ( | ) | const [inline] |
F32 LLColor4::magVecSquared | ( | ) | const [inline] |
F32 LLColor4::normVec | ( | ) | [inline] |
LLColor4::operator const LLColor4U | ( | ) | const |
Definition at line 130 of file v4color.cpp.
References f, llclampb(), llround(), mV, VALPHA, VBLUE, VGREEN, and VRED.
F32& LLColor4::operator[] | ( | int | idx | ) | [inline] |
F32 LLColor4::operator[] | ( | int | idx | ) | const [inline] |
Definition at line 281 of file v4color.cpp.
References black, blue, blue1, blue2, blue3, blue4, blue5, blue6, LLStringBase< char >::convertToF32(), cyan, cyan1, cyan2, cyan3, cyan4, cyan5, cyan6, f, FALSE, green, green1, green2, green3, green4, green5, green6, grey, grey1, grey2, grey3, grey4, llendl, llwarns, magenta, magenta1, magenta2, magenta3, magenta4, 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, v, VW, VX, VY, VZ, white, yellow, yellow1, yellow2, yellow3, yellow4, yellow5, and yellow6.
Referenced by LLUICtrlFactory::getAttributeColor(), and LLXmlTreeNode::getFastAttributeColor().
Definition at line 610 of file v4color.cpp.
References count, FALSE, NULL, S32, setVec(), TRUE, and v.
Referenced by LLXmlTreeNode::getFastAttributeColor4().
Definition at line 329 of file v4color.h.
Referenced by LLVOSky::calculateColors(), LLTextureBar::draw(), LLMemoryView::draw(), LLVOAvatar::idleUpdate(), LLHUDText::renderText(), and LLVOSky::updateFog().
const LLColor4 & LLColor4::setToBlack | ( | ) | [inline] |
const LLColor4 & LLColor4::setToWhite | ( | ) | [inline] |
Definition at line 280 of file v4color.h.
References mV, VW, VX, VY, and VZ.
Referenced by LLTexLayer::findNetColor(), get_text_color(), and LLLightParams::LLLightParams().
Definition at line 301 of file v4color.h.
References mV, VW, VX, VY, and VZ.
Referenced by LLTexLayer::findNetColor(), get_text_color(), LLUICtrlFactory::getAttributeColor(), init_colors(), LLScrollListText::LLScrollListText(), LLSprite::LLSprite(), parseColor(), parseColor4(), LLTexLayerInfo::parseXml(), process_chat_from_simulator(), process_kill_object(), LLViewerObject::processUpdateMessage(), LLManipRotate::render(), LLDrawPoolWater::render(), LLPipeline::renderHighlights(), LLDrawPoolWater::renderShaderSimple(), LLManipTranslate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLTextureEntry::setColor(), LLSprite::setColor(), LLPartData::setEndColor(), LLPartData::setStartColor(), LLPipeline::setupHWLights(), LLDrawPoolWater::shade(), LLHUDEffectSpiral::triggerLocal(), LLPartData::unpack(), and LLViewerPartGroup::updateParticles().
Definition at line 212 of file v4color.cpp.
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLColor4 & | a | |||
) | [friend] |
Definition at line 199 of file v4color.cpp.
Definition at line 205 of file v4color.cpp.
LLColor4 LLColor4::black [static] |
Definition at line 135 of file v4color.h.
Referenced by LLScrollListItem::addColumn(), LLHUDView::colorFromType(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLStatGraph::draw(), LLColorSwatchCtrl::draw(), LLPipeline::enableLights(), LLFloaterAvatarList::getAvatarColor(), LLFloaterColorPicker::getComplimentaryColor(), LLGroupNotifyBox::LLGroupNotifyBox(), parseColor(), LLManip::renderTickText(), LLManip::renderTickValue(), and LLManip::renderXYZ().
LLColor4 LLColor4::blue [static] |
LLColor4 LLColor4::blue1 [static] |
LLColor4 LLColor4::blue2 [static] |
LLColor4 LLColor4::blue3 [static] |
LLColor4 LLColor4::blue4 [static] |
Definition at line 169 of file v4color.h.
Referenced by LLGroupNotifyBox::LLGroupNotifyBox(), and parseColor().
LLColor4 LLColor4::blue5 [static] |
LLColor4 LLColor4::blue6 [static] |
LLColor4 LLColor4::cyan [static] |
Definition at line 139 of file v4color.h.
Referenced by LLTextureBar::draw(), parseColor(), and LLFloaterAvatarList::refreshAvatarList().
LLColor4 LLColor4::cyan1 [static] |
LLColor4 LLColor4::cyan2 [static] |
LLColor4 LLColor4::cyan3 [static] |
LLColor4 LLColor4::cyan4 [static] |
LLColor4 LLColor4::cyan5 [static] |
LLColor4 LLColor4::cyan6 [static] |
LLColor4 LLColor4::green [static] |
Definition at line 133 of file v4color.h.
Referenced by LLHUDView::colorFromType(), LLTextureBar::draw(), LLFloaterChatterBox::draw(), init_colors(), parseColor(), and pushVertsColorCoded().
LLColor4 LLColor4::green1 [static] |
LLColor4 LLColor4::green2 [static] |
Definition at line 160 of file v4color.h.
Referenced by LLTextureBar::draw(), parseColor(), and pushVertsColorCoded().
LLColor4 LLColor4::green3 [static] |
LLColor4 LLColor4::green4 [static] |
Definition at line 162 of file v4color.h.
Referenced by LLTextureBar::draw(), parseColor(), and pushVertsColorCoded().
LLColor4 LLColor4::green5 [static] |
LLColor4 LLColor4::green6 [static] |
LLColor4 LLColor4::grey [static] |
Definition at line 141 of file v4color.h.
Referenced by LLFloaterChat::addChatHistory(), LLViewerTextEditor::appendTime(), LLFloaterIMPanel::chatFromLogFile(), LLTextureBar::draw(), LLTextureCtrl::draw(), LLFloaterTexturePicker::draw(), LLPanelDeviceSettings::draw(), LLFastTimerView::draw(), LLColorSwatchCtrl::draw(), LLTrustNet::getScoreColor(), and parseColor().
LLColor4 LLColor4::grey1 [static] |
LLColor4 LLColor4::grey2 [static] |
LLColor4 LLColor4::grey3 [static] |
LLColor4 LLColor4::grey4 [static] |
Definition at line 151 of file v4color.h.
Referenced by LLGroupNotifyBox::LLGroupNotifyBox(), parseColor(), and LLPanelActiveSpeakers::refreshSpeakers().
LLColor4 LLColor4::magenta [static] |
LLColor4 LLColor4::magenta1 [static] |
LLColor4 LLColor4::magenta2 [static] |
LLColor4 LLColor4::magenta3 [static] |
LLColor4 LLColor4::magenta4 [static] |
Definition at line 52 of file v4color.h.
Referenced by LLView::addColorXML(), LLDrawable::applyLightsAsPoint(), LLVOSurfacePatch::calcColor(), calcHSL(), clamp(), color_intens(), color_max(), LLManipScale::conditionalHighlight(), LLWorldMapView::draw(), LLTextureBar::draw(), LLStatGraph::draw(), LLScrollListCtrl::draw(), LLScrollableContainerView::draw(), LLProgressView::draw(), LLOverlayBar::draw(), LLNetMap::draw(), LLPieMenu::draw(), LLMenuItemBranchDownGL::draw(), LLMenuItemTearOffGL::draw(), LLMenuItemSeparatorGL::draw(), LLMenuItemGL::draw(), LLLineEditor::draw(), LLHoverView::draw(), LLHorizontalCompass::draw(), LLFolderViewItem::draw(), LLSnapshotLivePreview::draw(), LLFloater::draw(), LLFastTimerView::draw(), LLColorSwatchCtrl::draw(), draw_shockwave(), LLNotifyBox::drawBackground(), LLPieMenu::drawBackground(), LLMenuGL::drawBackground(), LLTextEditor::drawClippedSegment(), LLTextEditor::drawCursor(), LLView::drawDebugRect(), drawDot(), LLFontGL::drawGlyph(), LLScrollListCtrl::drawItems(), LLViewBorder::drawOnePixelLines(), LLJoystickCameraRotate::drawRotatedImage(), LLTextEditor::drawSelectionBackground(), LLViewerJointShape::drawShape(), LLViewerJointMesh::drawShape(), LLViewBorder::drawTextures(), LLScrollListText::drawToWidth(), LLViewBorder::drawTwoPixelLines(), LLPipeline::enableLights(), LLPipeline::enableLightsAvatarEdit(), LLPipeline::enableLightsFullbright(), LLTexLayer::findNetColor(), LLVOSky::generateScatterMap(), get_text_color(), LLSprite::getAlpha(), LLXMLNode::getAttributeColor(), LLXMLNode::getAttributeColor4(), LLVOAvatar::getClothesColor(), LLTexGlobalColor::getColor(), LLFocusMgr::getFocusColor(), LLVOVolume::getLightColor(), LLVOVolume::getLightIntensity(), LLPipeline::getPoolTypeFromTE(), LLPanelFace::getState(), getValue(), LLScrollableContainerView::getXML(), LLMenuGL::getXML(), LLIconCtrl::getXML(), LLColorSwatchCtrl::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(), LLVOStars::initStars(), isOpaque(), LLButton::LLButton(), LLColor4(), LLGLSSpecular::LLGLSSpecular(), LLSky::LLSky(), LLVOSky::LLVOSky(), LLControlGroup::loadFromFileLegacy(), magVec(), magVecSquared(), normVec(), LLFloaterColorPicker::onColorSelect(), LLVOAvatar::onGlobalColorChanged(), operator const LLColor4U(), operator=(), operator[](), LLDataPackerAsciiFile::packColor4(), LLDataPackerAsciiBuffer::packColor4(), LLDataPackerBinaryBuffer::packColor4(), LLVolumeGeometryManager::registerFace(), LLTexLayer::render(), LLHUDConnector::render(), LLFontGL::render(), LLDrawPoolWater::render(), LLTexLayer::renderAlphaMasks(), LLManipTranslate::renderArrow(), LLTracker::renderBeacon(), LLManipScale::renderFaces(), LLVOAvatar::renderFootShadows(), LLHUDIcon::renderIcon(), LLViewerObjectList::renderObjectBeacons(), LLSelectNode::renderOneSilhouette(), LLToolBrushLand::renderOverlay(), LLFace::renderSelected(), LLFace::renderSetColor(), LLDrawPoolWater::renderShaderSimple(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLDrawPoolSky::renderSunHalo(), LLHUDText::renderText(), LLManip::renderTickText(), LLManip::renderTickValue(), LLManipTranslate::renderTranslationHandles(), LLView::saveColorToXML(), LLSelectMgr::selectionSetAlphaOnly(), LLSelectMgr::selectionSetColorOnly(), LLColorSwatchCtrl::set(), setAlpha(), LLTextureEntry::setAlpha(), LLSprite::setAlpha(), LLPipeline::setAmbient(), LLVOAvatar::setClothesColor(), LLUndoWearable::setColor(), LLFacePool::LLOverrideFaceColor::setColor(), LLButton::setDisabledImages(), LLPartData::setEndAlpha(), LLButton::setImageDisabledID(), LLButton::setImageDisabledSelectedID(), LLVOVolume::setLightColor(), LLVOVolume::setLightIntensity(), LLColorSwatchCtrl::setOriginal(), LLPartData::setStartAlpha(), setToBlack(), setToWhite(), LLPipeline::setupAvatarLights(), LLPipeline::setupHWLights(), LLManip::setupSnapGuideRenderPass(), setValue(), setVec(), LLColor4U::setVecScaleClamp(), LLDrawPoolWater::shade(), LLColorSwatchCtrl::showPicker(), LLDataPackerAsciiFile::unpackColor4(), LLDataPackerAsciiBuffer::unpackColor4(), LLDataPackerBinaryBuffer::unpackColor4(), LLPrimitive::unpackTEMessage(), LLFloaterSettingsDebug::updateControl(), LLVOSky::updateFog(), LLVOGround::updateGeometry(), LLVOAvatar::updateMeshTextures(), LLViewerPartGroup::updateParticles(), LLFloaterEventLog::updateSelectedEventInfo(), LLVOSky::updateSky(), LLVOStars::updateStarColors(), and vec4to3().
LLColor4 LLColor4::orange [static] |
Definition at line 142 of file v4color.h.
Referenced by LLFloaterTelehub::addBeacons(), LLWorldMapView::draw(), LLTextureBar::draw(), and parseColor().
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::pink [static] |
LLColor4 LLColor4::pink1 [static] |
LLColor4 LLColor4::pink2 [static] |
LLColor4 LLColor4::purple [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::red [static] |
Definition at line 132 of file v4color.h.
Referenced by LLTextureBar::draw(), LLFloaterSnapshot::draw(), LLFloaterChatterBox::draw(), init_colors(), parseColor(), and LLSelectMgr::renderSilhouettes().
LLColor4 LLColor4::red1 [static] |
LLColor4 LLColor4::red2 [static] |
LLColor4 LLColor4::red3 [static] |
LLColor4 LLColor4::red4 [static] |
LLColor4 LLColor4::red5 [static] |
LLColor4 LLColor4::smoke [static] |
LLColor4 LLColor4::transparent [static] |
Definition at line 145 of file v4color.h.
Referenced by LLPanelAvatarAdvanced::enableControls(), LLPanelAvatarSecondLife::enableControls(), and LLNotifyBox::LLNotifyBox().
LLColor4 LLColor4::white [static] |
Definition at line 136 of file v4color.h.
Referenced by LLFloaterTelehub::addBeacons(), LLWorldMapView::draw(), LLTextureBar::draw(), LLProgressView::draw(), LLPreviewTexture::draw(), LLNetMap::draw(), LLMemoryView::draw(), LLFolderView::draw(), LLFloaterSnapshot::draw(), LLFloaterPostcard::draw(), LLFloaterColorPicker::draw(), LLFloaterChatterBox::draw(), LLFastTimerView::draw(), LLComboBox::draw(), LLScrollListCtrl::drawItems(), LLViewerWindow::drawPickBuffer(), LLTextEditor::drawText(), LLWorldMapView::drawTracking(), LLFace::enableLights(), LLIconCtrl::fromXML(), LLControlGroup::getColor(), LLControlGroup::getColor4(), LLFloaterColorPicker::getComplimentaryColor(), LLFocusMgr::getFocusColor(), LLFace::getRenderColor(), LLPanelFace::getState(), gl_rect_2d_xor(), LLButton::init(), init_colors(), LLFolderView::LLFolderView(), LLGroupNotifyBox::LLGroupNotifyBox(), LLControlGroup::loadFromFile(), LLControlGroup::loadFromFileLegacy(), parseColor(), LLFloaterTOS::postBuild(), LLHUDConnector::render(), LLFontGL::render(), render_ui_2d(), LLHUDIcon::renderIcon(), LLFace::renderSelectedUV(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLViewerObject::setDebugText(), LLSpeakerMgr::update(), and LLVOSky::updateFog().
LLColor4 LLColor4::yellow [static] |
Definition at line 137 of file v4color.h.
Referenced by LLFloaterTelehub::addBeacons(), LLWorldMapView::draw(), LLTextureBar::draw(), LLFloaterChatterBox::draw(), init_colors(), and parseColor().
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] |