![]() |
Oolite 1.91.0.7658-250404-b1488af
|
#include <OOColor.h>
Instance Methods | |
(OOColor *) | - blendedColorWithFraction:ofColor: |
(float) | - redComponent |
(float) | - greenComponent |
(float) | - blueComponent |
(void) | - getRed:green:blue:alpha: |
(OORGBAComponents) | - rgbaComponents |
(BOOL) | - isBlack |
(BOOL) | - isWhite |
(float) | - hueComponent |
(float) | - saturationComponent |
(float) | - brightnessComponent |
(void) | - getHue:saturation:brightness:alpha: |
(OOHSBAComponents) | - hsbaComponents |
(float) | - alphaComponent |
(OOColor *) | - premultipliedColor |
(OOColor *) | - colorWithBrightnessFactor: |
(NSArray *) | - normalizedArray |
(NSString *) | - rgbaDescription |
(NSString *) | - hsbaDescription |
(void) | - setRed:green:blue:alpha: [implementation] |
(void) | - setHue:saturation:brightness:alpha: [implementation] |
(id) | - copyWithZone: [implementation] |
(NSString *) | - descriptionComponents [implementation] |
(NSColor *) | - asNSColor |
Class Methods | |
(OOColor *) | + colorWithHue:saturation:brightness:alpha: |
(OOColor *) | + colorWithRed:green:blue:alpha: |
(OOColor *) | + colorWithWhite:alpha: |
(OOColor *) | + colorWithRGBAComponents: |
(OOColor *) | + colorWithHSBAComponents: |
(OOColor *) | + colorWithDescription: |
(OOColor *) | + brightColorWithDescription: |
(OOColor *) | + colorWithDescription:saturationFactor: |
(OOColor *) | + colorFromString: |
(OOColor *) | + blackColor |
(OOColor *) | + darkGrayColor |
(OOColor *) | + lightGrayColor |
(OOColor *) | + whiteColor |
(OOColor *) | + grayColor |
(OOColor *) | + redColor |
(OOColor *) | + greenColor |
(OOColor *) | + blueColor |
(OOColor *) | + cyanColor |
(OOColor *) | + yellowColor |
(OOColor *) | + magentaColor |
(OOColor *) | + orangeColor |
(OOColor *) | + purpleColor |
(OOColor *) | + brownColor |
(OOColor *) | + clearColor |
Private Attributes | |
float | rgba [4] |
- (float) alphaComponent |
Definition at line 486 of file OOColor.m.
References alphaComponent, and rgba.
Referenced by AddMacroColorIfAppropriate(), alphaComponent, HeadUpDisplay(Private)::drawDirectionCue:, fillSquareImageDataWithCloudTexture(), HeadUpDisplay::hudDrawReticleOnTarget, OOBasicMaterial::setAmbientColor:, OOBasicMaterial::setDiffuseColor:, OOBasicMaterial::setEmissionColor:, OOBasicMaterial::setSpecularColor:, and OOSunEntity::setSunColor:.
- (NSColor *) asNSColor |
Provided by category OOColor(NSColorConversion).
Definition at line 35 of file OODebugUtilities.m.
Referenced by NSColor(OOColorConversion)::colorWithOOColorDescription:.
+ (OOColor *) blackColor |
Definition at line 238 of file OOColor.m.
References blackColor, and colorWithWhite:alpha:.
Referenced by blackColor, and GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:.
Definition at line 328 of file OOColor.m.
References getRed:green:blue:alpha:, and setRed:green:blue:alpha:.
Referenced by SkyEntity::initWithColors:col1:andSystemInfo:, SaturatedColorInRange(), OOSunEntity::setSunColor:, Universe::setSystemDataForGalaxy:planet:key:value:fromManifest:forLayer:, Universe::setUpSpace, and OOSkyDrawable(OOPrivate)::setUpStarsWithColor1:color2:.
+ (OOColor *) blueColor |
Definition at line 280 of file OOColor.m.
References blueColor, and colorWithRed:green:blue:alpha:.
Referenced by blueColor, OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:, and GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:.
- (float) blueComponent |
Definition at line 362 of file OOColor.m.
References blueComponent, and rgba.
Referenced by AddMacroColorIfAppropriate(), blueComponent, HeadUpDisplay(Private)::drawDirectionCue:, HeadUpDisplay(Private)::drawSurround:, fillSquareImageDataWithCloudTexture(), FloatRGBFromDictColor(), HeadUpDisplay::hudDrawReticleOnTarget, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOBasicMaterial::setAmbientColor:, OOLaserShotEntity::setColor:, OOBasicMaterial::setDiffuseColor:, OOBasicMaterial::setEmissionColor:, OOBasicMaterial::setSpecularColor:, OOSunEntity::setSunColor:, and PlanetEntity(OOPrivate)::setTextureColorForPlanet:inSystem:.
+ (OOColor *) brightColorWithDescription: | (id) | description |
Definition at line 205 of file OOColor.m.
References brightnessComponent, colorWithDescription:, colorWithHue:saturation:brightness:alpha:, hueComponent, nil, and saturationComponent.
Referenced by Universe::setSystemDataForGalaxy:planet:key:value:fromManifest:forLayer:, and OOEquipmentType::weaponColor.
- (float) brightnessComponent |
Definition at line 432 of file OOColor.m.
References brightnessComponent, and rgba.
Referenced by brightColorWithDescription:, and brightnessComponent.
+ (OOColor *) brownColor |
Definition at line 316 of file OOColor.m.
References brownColor, and colorWithRed:green:blue:alpha:.
Referenced by brownColor, and OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:.
+ (OOColor *) clearColor |
Definition at line 322 of file OOColor.m.
References clearColor, and colorWithWhite:alpha:.
Referenced by clearColor.
+ (OOColor *) colorFromString: | (NSString*) | colorFloatString |
Definition at line 214 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and nil.
Referenced by colorWithDescription:saturationFactor:, HeadUpDisplay(Private)::resetGui:withInfo:, and HeadUpDisplay::resetGuis:.
- (OOColor *) colorWithBrightnessFactor: | (float) | factor |
Definition at line 502 of file OOColor.m.
References colorWithRed:green:blue:alpha:.
Referenced by OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:.
+ (OOColor *) colorWithDescription: | (id) | description |
Definition at line 127 of file OOColor.m.
References colorWithDescription:saturationFactor:.
Referenced by brightColorWithDescription:, CanonicalizeMaterialSpecifier(), SkyEntity::changeProperty:withDictionary:, GuiDisplayGen::colorFromSetting:defaultValue:, NSColor(OOColorConversion)::colorWithOOColorDescription:, PlayerEntity::dialCustomColor:, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, HeadUpDisplay(Private)::drawSurround:, GuiDisplayGen(Internal)::drawSystemMarker:atX:andY:andZ:withAlpha:andScale:, EquipmentInfoSetProperty(), FlasherSetProperty(), FloatRGBFromDictColor(), GetRGBAArrayFromInfo(), GlobalSetGuiColorSettingForKey(), PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, SkyEntity::initWithColors:col1:andSystemInfo:, HeadUpDisplay::initWithDictionary:inFile:, OOEquipmentType(Private)::initWithInfo:, OOBasicMaterial::initWithName:configuration:, OODebugMonitor(Private)::normalizeConfigValue:forKey:, PlayerEntity::noteGUIDidChangeFrom:to:refresh:, NSDictionary(OOMateralProperties)::oo_ambientColor, NSDictionary(OOMateralProperties)::oo_diffuseColor, NSDictionary(OOMateralProperties)::oo_emissionColor, NSDictionary(OOMateralProperties)::oo_emissionModulateColor, NSDictionary(OOMateralProperties)::oo_illuminationModulateColor, NSDictionary(OOMateralProperties)::oo_specularColor, NSDictionary(OOMateralProperties)::oo_specularModulateColor, PlanetSetProperty(), PlayerShipSetProperty(), SkyEntity(OOPrivate)::readColor1:andColor2:andColor3:andColor4:fromDictionary:, HeadUpDisplay::resetGuis:, SetGLColourFromInfo(), PlayerEntity(Scripting)::setMissionChoicesDictionary:, OOVisualEffectEntity::setScannerDisplayColor1:, ShipEntity::setScannerDisplayColor1:, OOVisualEffectEntity::setScannerDisplayColor2:, ShipEntity::setScannerDisplayColor2:, ShipEntity::setScannerDisplayColorHostile1:, ShipEntity::setScannerDisplayColorHostile2:, Universe::setSystemDataForGalaxy:planet:key:value:fromManifest:forLayer:, Universe::setUpBreakPattern:orientation:forDocking:, Universe::setUpSettings, Universe::setUpSpace, ShipSetProperty(), OOShipRegistry(OODataLoader)::validateNewStyleFlasherDeclaration:forShip:fatalError:, and VisualEffectSetProperty().
+ (OOColor *) colorWithDescription: | (id) | description | |
saturationFactor: | (float) | factor |
Definition at line 133 of file OOColor.m.
References colorFromString:, colorWithHue:saturation:brightness:alpha:, colorWithRed:green:blue:alpha:, getHue:saturation:brightness:alpha:, and nil.
Referenced by colorWithDescription:, and OOFlasherEntity(Internal)::setUpColors:.
+ (OOColor *) colorWithHSBAComponents: | (OOHSBAComponents) | components |
Definition at line 118 of file OOColor.m.
References colorWithHue:saturation:brightness:alpha:.
+ (OOColor *) colorWithHue: | (float) | hue | |
saturation: | (float) | saturation | |
brightness: | (float) | brightness | |
alpha: | (float) | alpha |
Definition at line 87 of file OOColor.m.
References setHue:saturation:brightness:alpha:.
Referenced by brightColorWithDescription:, colorWithDescription:saturationFactor:, colorWithHSBAComponents:, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, SaturatedColorInRange(), ShipEntity::setCommsMessageColor, OOSunEntity::setSunColor:, PlanetEntity(OOPrivate)::setTextureColorForPlanet:inSystem:, Universe::setUpSpace, and ShipEntity::throwSparks.
+ (OOColor *) colorWithRed: | (float) | red | |
green: | (float) | green | |
blue: | (float) | blue | |
alpha: | (float) | alpha |
Definition at line 95 of file OOColor.m.
References setRed:green:blue:alpha:.
Referenced by OOBasicMaterial::ambientColor, NSColor(OOColorConversion)::asOOColor, blueColor, brownColor, OOFlasherEntity::color, colorFromString:, colorWithBrightnessFactor:, colorWithDescription:saturationFactor:, colorWithRGBAComponents:, colorWithWhite:alpha:, cyanColor, OOBasicMaterial::diffuseColor, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, Universe::drawUniverse, OOBasicMaterial::emmisionColor, greenColor, DustEntity::init, Entity::init, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, magentaColor, HeadUpDisplay::OODrawPlanetInfo, orangeColor, premultipliedColor, purpleColor, SkyEntity(OOPrivate)::readColor1:andColor2:andColor3:andColor4:fromDictionary:, redColor, HeadUpDisplay::resetGuis:, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, OOSunEntity::setSunColor:, Universe::setUpBreakPattern:orientation:forDocking:, Universe::setUpWitchspaceBetweenSystem:andSystem:, OOBasicMaterial::specularColor, and yellowColor.
+ (OOColor *) colorWithRGBAComponents: | (OORGBAComponents) | components |
Definition at line 109 of file OOColor.m.
References colorWithRed:green:blue:alpha:.
Referenced by ModulateColor().
+ (OOColor *) colorWithWhite: | (float) | white | |
alpha: | (float) | alpha |
Definition at line 103 of file OOColor.m.
References colorWithRed:green:blue:alpha:.
Referenced by blackColor, clearColor, darkGrayColor, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, grayColor, lightGrayColor, NSDictionary(OOMateralProperties)::oo_specularColor, and whiteColor.
|
implementation |
+ (OOColor *) cyanColor |
Definition at line 286 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and cyanColor.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:, cyanColor, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, PlayerEntity(KeyMapper)::handleKeyConfigEntryKeys:view:, HeadUpDisplay::initWithDictionary:inFile:, PlayerEntity(Scripting)::refreshMissionScreenTextEntry, OOOXZManager::refreshTextInput:, PlayerEntity(LoadSave)::saveCommanderInputHandler, ShipEntity::setCommsMessageColor, PlayerEntity::setGuiToChartScreenFrom:, PlayerEntity(KeyMapper)::setGuiToKeyConfigEntryScreen, and PlayerEntity(OOLoadSavePrivate)::setGuiToSaveCommanderScreen:.
+ (OOColor *) darkGrayColor |
Definition at line 244 of file OOColor.m.
References colorWithWhite:alpha:, and darkGrayColor.
Referenced by darkGrayColor, PlayerEntity(Contracts)::setGuiToManifestScreen, and PlayerEntity(Scripting)::setMissionChoicesDictionary:.
|
implementation |
Definition at line 343 of file OOColor.m.
References descriptionComponents.
Referenced by descriptionComponents.
- (void) getHue: | (float *) | hue | |
saturation: | (float *) | saturation | |
brightness: | (float *) | brightness | |
alpha: | (float *) | alpha |
Definition at line 438 of file OOColor.m.
References rgba.
Referenced by colorWithDescription:saturationFactor:, hsbaComponents, SaturatedColorInRange(), and OOSunEntity::setSunColor:.
- (void) getRed: | (float *) | red | |
green: | (float *) | green | |
blue: | (float *) | blue | |
alpha: | (float *) | alpha |
Definition at line 368 of file OOColor.m.
References rgba.
Referenced by ApplyColor(), OOColor(NSColorConversion)::asNSColor, blendedColorWithFraction:ofColor:, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, HeadUpDisplay(Private)::drawCustomLight:, HeadUpDisplay(Private)::drawMultiFunctionDisplay:withText:asIndex:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, GetRGBAArrayFromInfo(), PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, OOSparkEntity::initWithPosition:velocity:duration:size:color:, normalizedArray, OOVisualEffectEntity::scannerDisplayColorForShip:flash:scannerDisplayColor1:, ShipEntity::scannerDisplayColorForShip:otherShip:isHostile:flash:scannerDisplayColor1:scannerDisplayColor2:scannerDisplayColorH1:, OOLightParticleEntity::setColor:, DustEntity::setDustColor:, GuiDisplayGen::setGLColorFromSetting:defaultValue:alpha:, SetGLColourFromInfo(), OOBreakPatternEntity::setInnerColor:outerColor:, Universe::setLighting, OOSunEntity::setSunColor:, OOCrosshairs(Private)::setUpDataWithPoints:scale:color:overallAlpha:, OOExhaustPlumeEntity::update:, OODefaultShaderSynthesizer::writeDiffuseColorTermIfNeeded, and OODefaultShaderSynthesizer::writeSpecularLighting.
+ (OOColor *) grayColor |
Definition at line 262 of file OOColor.m.
References colorWithWhite:alpha:, and grayColor.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:, grayColor, OOOXZManager::gui, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity::setGuiToLoadSaveScreen, and PlayerEntity::setupStartScreenGui.
+ (OOColor *) greenColor |
Definition at line 274 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and greenColor.
Referenced by PlayerEntity(Contracts)::buySelectedShip, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyboardLayoutList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, GuiDisplayGen(Internal)::drawEquipmentList:z:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, greenColor, OOOXZManager::gui, HeadUpDisplay::hudDrawReticleOnTarget, HeadUpDisplay::initWithDictionary:inFile:, GuiDisplayGen::initWithPixelSize:columns:rows:rowHeight:rowStart:title:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, OOOXZManager::processShowInfoKey, HeadUpDisplay::resetGuis:, GuiDisplayGen::resizeTo:characterHeight:title:, ShipEntity::setCommsMessageColor, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToInterfacesScreen:, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, PlayerEntity(Contracts)::setGuiToManifestScreen, PlayerEntity::setGuiToMarketScreen, PlayerEntity(LoadSave)::setGuiToScenarioScreen:, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setGuiToSystemDataScreenRefreshBackground:, Universe(OOPrivate)::setLibraryTextForDemoShip, PlayerEntity::showInformationForSelectedInterface, PlayerEntity::showInformationForSelectedUpgradeWithFormatString:, OOOXZManager::showInstallOptions, PlayerEntity(OOPrivate)::showMarketScreenHeaders, OOOXZManager::showRemoveOptions, and PlayerEntity(Contracts)::showShipyardInfoForSelection.
- (float) greenComponent |
Definition at line 356 of file OOColor.m.
References greenComponent, and rgba.
Referenced by AddMacroColorIfAppropriate(), HeadUpDisplay(Private)::drawDirectionCue:, HeadUpDisplay(Private)::drawSurround:, fillSquareImageDataWithCloudTexture(), FloatRGBFromDictColor(), greenComponent, HeadUpDisplay::hudDrawReticleOnTarget, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOBasicMaterial::setAmbientColor:, OOLaserShotEntity::setColor:, OOBasicMaterial::setDiffuseColor:, OOBasicMaterial::setEmissionColor:, OOBasicMaterial::setSpecularColor:, OOSunEntity::setSunColor:, and PlanetEntity(OOPrivate)::setTextureColorForPlanet:inSystem:.
- (OOHSBAComponents) hsbaComponents |
Definition at line 474 of file OOColor.m.
References getHue:saturation:brightness:alpha:, and hsbaComponents.
Referenced by hsbaComponents, and hsbaDescription.
- (NSString *) hsbaDescription |
Definition at line 530 of file OOColor.m.
References hsbaComponents, hsbaDescription, and OOHSBAComponentsDescription().
Referenced by hsbaDescription.
- (float) hueComponent |
Definition at line 399 of file OOColor.m.
References hueComponent, and rgba.
Referenced by brightColorWithDescription:, and hueComponent.
- (BOOL) isBlack |
- (BOOL) isWhite |
+ (OOColor *) lightGrayColor |
Definition at line 250 of file OOColor.m.
References colorWithWhite:alpha:, and lightGrayColor.
Referenced by ApplyColor(), and lightGrayColor.
+ (OOColor *) magentaColor |
Definition at line 298 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and magentaColor.
Referenced by magentaColor, PlayerEntity::setGuiToIntroFirstGo:, and StickProfileScreen(StickProfileInternal)::showScreen.
- (NSArray *) normalizedArray |
Definition at line 511 of file OOColor.m.
References getRed:green:blue:alpha:, and normalizedArray.
Referenced by AddColorIfAppropriate(), CanonicalizeMaterialSpecifier(), EquipmentInfoGetProperty(), FlasherGetProperty(), OODebugMonitor(Private)::normalizeConfigValue:forKey:, normalizedArray, PlayerShipGetProperty(), ShipGetProperty(), SynthSpecular(), OOShipRegistry(OODataLoader)::validateNewStyleFlasherDeclaration:forShip:fatalError:, and VisualEffectGetProperty().
+ (OOColor *) orangeColor |
Definition at line 304 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and orangeColor.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, GuiDisplayGen(Internal)::drawEquipmentList:z:, OOOXZManager::gui, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, orangeColor, OOOXZManager::refreshTextInput:, PlayerEntity::setGuiToEquipShipScreen:selectingFacingFor:, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyConfigScreen:, and PlayerEntity(OOLoadSavePrivate)::showCommanderShip:.
- (OOColor *) premultipliedColor |
Definition at line 492 of file OOColor.m.
References colorWithRed:green:blue:alpha:, premultipliedColor, and rgba.
Referenced by premultipliedColor, and SkyEntity(OOPrivate)::readColor1:andColor2:andColor3:andColor4:fromDictionary:.
+ (OOColor *) purpleColor |
Definition at line 310 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and purpleColor.
Referenced by purpleColor.
+ (OOColor *) redColor |
Definition at line 268 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and redColor.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:, GuiDisplayGen(Internal)::drawGLDisplay:x:y:z:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, HeadUpDisplay::hudDrawReticleOnTarget, HeadUpDisplay::initWithDictionary:inFile:, OOPlasmaBurstEntity::initWithPosition:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, redColor, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, and PlayerEntity(LoadSave)::setGuiToScenarioScreen:.
- (float) redComponent |
Definition at line 350 of file OOColor.m.
References redComponent, and rgba.
Referenced by AddMacroColorIfAppropriate(), HeadUpDisplay(Private)::drawDirectionCue:, HeadUpDisplay(Private)::drawSurround:, fillSquareImageDataWithCloudTexture(), FloatRGBFromDictColor(), HeadUpDisplay::hudDrawReticleOnTarget, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, redComponent, OOBasicMaterial::setAmbientColor:, OOLaserShotEntity::setColor:, OOBasicMaterial::setDiffuseColor:, OOBasicMaterial::setEmissionColor:, OOBasicMaterial::setSpecularColor:, OOSunEntity::setSunColor:, and PlanetEntity(OOPrivate)::setTextureColorForPlanet:inSystem:.
- (OORGBAComponents) rgbaComponents |
Definition at line 379 of file OOColor.m.
References rgba, and rgbaComponents.
Referenced by GuiDisplayGen(Internal)::drawSystemMarker:atX:andY:andZ:withAlpha:andScale:, GuiDisplayGen::getLastLines, ModulateColor(), rgbaComponents, and rgbaDescription.
- (NSString *) rgbaDescription |
Definition at line 524 of file OOColor.m.
References OORGBAComponentsDescription(), rgbaComponents, and rgbaDescription.
Referenced by OOCombinedEmissionMapGenerator::descriptionComponents, and rgbaDescription.
- (float) saturationComponent |
Definition at line 425 of file OOColor.m.
References rgba, and saturationComponent.
Referenced by brightColorWithDescription:, and saturationComponent.
|
implementation |
Definition at line 42 of file OOColor.m.
References rgba.
Referenced by colorWithHue:saturation:brightness:alpha:.
|
implementation |
Definition at line 33 of file OOColor.m.
References rgba.
Referenced by blendedColorWithFraction:ofColor:, and colorWithRed:green:blue:alpha:.
+ (OOColor *) whiteColor |
Definition at line 256 of file OOColor.m.
References colorWithWhite:alpha:, and whiteColor.
Referenced by OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:, NSDictionary(OOMateralProperties)::oo_specularModulateColor, Universe::resetCommsLogColor, HeadUpDisplay::resetGuis:, Universe(OOPrivate)::setLibraryTextForDemoShip, OOSunEntity::setSunColor:, Universe::setSystemDataForGalaxy:planet:key:value:fromManifest:forLayer:, Universe::setUpSpace, PlayerEntity::setupStartScreenGui, Universe::setUpUniverseFromWitchspace, whiteColor, and OODefaultShaderSynthesizer::writeDiffuseColorTermIfNeeded.
+ (OOColor *) yellowColor |
Definition at line 292 of file OOColor.m.
References colorWithRed:green:blue:alpha:, and yellowColor.
Referenced by Universe::clearGUIs, OOOXZManager(NSURLConnectionDataDelegate)::colorForManifest:, GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:, GuiDisplayGen(Internal)::drawStarChart:x:y:z:alpha:, GuiDisplayGen::init, GuiDisplayGen::initWithPixelSize:columns:rows:rowHeight:rowStart:title:, PlayerEntity(OOLoadSavePrivate)::lsCommanders:directory:pageNumber:highlightName:, HeadUpDisplay::resetGuis:, PlayerEntity::setGuiToIntroFirstGo:, PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:, PlayerEntity::setGuiToMarketScreen, PlayerEntity(Scripting)::setGuiToMissionScreenWithCallback:, Universe(OOPrivate)::setLibraryTextForDemoShip, PlayerEntity(Scripting)::setMissionChoicesDictionary:, GuiDisplayGen::setTextColor:, GuiDisplayGen::setTextCommsColor:, PlayerEntity::setupStartScreenGui, PlayerEntity(OOPrivate)::showMarketCashAndLoadLine, StickProfileScreen(StickProfileInternal)::showScreen, and yellowColor.
|
private |
Definition at line 48 of file OOColor.h.
Referenced by alphaComponent, blueComponent, brightnessComponent, getHue:saturation:brightness:alpha:, getRed:green:blue:alpha:, greenComponent, hueComponent, isBlack, isWhite, premultipliedColor, redComponent, rgbaComponents, saturationComponent, setHue:saturation:brightness:alpha:, and setRed:green:blue:alpha:.