|
Oolite
|
#include <OOColor.h>
Inheritance diagram for OOColor:
Collaboration diagram for OOColor: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] |
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 544 of file OOColor.m.
Referenced by AddMacroColorIfAppropriate(), fillSquareImageDataWithCloudTexture(), and HeadUpDisplay::hudDrawReticleOnTarget.
Here is the caller graph for this function:| + (OOColor *) blackColor |
Definition at line 544 of file OOColor.m.
Definition at line 544 of file OOColor.m.
Referenced by SaturatedColorInRange().
Here is the caller graph for this function:| + (OOColor *) blueColor |
Definition at line 544 of file OOColor.m.
| - (float) blueComponent |
Definition at line 544 of file OOColor.m.
Referenced by AddMacroColorIfAppropriate(), fillSquareImageDataWithCloudTexture(), FloatRGBFromDictColor(), and HeadUpDisplay::hudDrawReticleOnTarget.
Here is the caller graph for this function:| + (OOColor *) brightColorWithDescription: | (id) | description |
Definition at line 544 of file OOColor.m.
| - (float) brightnessComponent |
| + (OOColor *) brownColor |
| + (OOColor *) clearColor |
| + (OOColor *) colorFromString: | (NSString*) | colorFloatString |
Definition at line 544 of file OOColor.m.
| - (OOColor *) colorWithBrightnessFactor: | (float) | factor |
| + (OOColor *) colorWithDescription: | (id) | description |
Definition at line 544 of file OOColor.m.
Referenced by CanonicalizeMaterialSpecifier(), EquipmentInfoSetProperty(), FlasherSetProperty(), FloatRGBFromDictColor(), OOPlanetEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, GetRGBAArrayFromInfo(), GlobalSetGuiColorSettingForKey(), PlayerShipSetProperty(), SetGLColourFromInfo(), ShipSetProperty(), and VisualEffectSetProperty().
Here is the caller graph for this function:| + (OOColor *) colorWithDescription: | (id) | description | |
| saturationFactor: | (float) | factor | |
Definition at line 544 of file OOColor.m.
| + (OOColor *) colorWithHSBAComponents: | (OOHSBAComponents) | components |
Definition at line 544 of file OOColor.m.
| + (OOColor *) colorWithHue: | (float) | hue | |
| saturation: | (float) | saturation | |
| brightness: | (float) | brightness | |
| alpha: | (float) | alpha | |
Definition at line 544 of file OOColor.m.
Referenced by OOPlanetEntity::airColor, and SaturatedColorInRange().
Here is the caller graph for this function:| + (OOColor *) colorWithRed: | (float) | red | |
| green: | (float) | green | |
| blue: | (float) | blue | |
| alpha: | (float) | alpha | |
Definition at line 544 of file OOColor.m.
Referenced by OOPlanetEntity::initFromDictionary:withAtmosphere:andSeed:forSystem:, and HeadUpDisplay::OODrawPlanetInfo.
Here is the caller graph for this function:| + (OOColor *) colorWithRGBAComponents: | (OORGBAComponents) | components |
Definition at line 544 of file OOColor.m.
Referenced by ModulateColor().
Here is the caller graph for this function:| + (OOColor *) colorWithWhite: | (float) | white | |
| alpha: | (float) | alpha | |
|
implementation |
| + (OOColor *) cyanColor |
| + (OOColor *) darkGrayColor |
|
implementation |
| - (void) getHue: | (float *) | hue | |
| saturation: | (float *) | saturation | |
| brightness: | (float *) | brightness | |
| alpha: | (float *) | alpha | |
Definition at line 544 of file OOColor.m.
Referenced by SaturatedColorInRange().
Here is the caller graph for this function:| - (void) getRed: | (float *) | red | |
| green: | (float *) | green | |
| blue: | (float *) | blue | |
| alpha: | (float *) | alpha | |
Definition at line 544 of file OOColor.m.
Referenced by ApplyColor(), GetRGBAArrayFromInfo(), and SetGLColourFromInfo().
Here is the caller graph for this function:| + (OOColor *) grayColor |
| + (OOColor *) greenColor |
Definition at line 544 of file OOColor.m.
Referenced by HeadUpDisplay::hudDrawReticleOnTarget.
Here is the caller graph for this function:| - (float) greenComponent |
Definition at line 544 of file OOColor.m.
Referenced by AddMacroColorIfAppropriate(), fillSquareImageDataWithCloudTexture(), FloatRGBFromDictColor(), and HeadUpDisplay::hudDrawReticleOnTarget.
Here is the caller graph for this function:| - (OOHSBAComponents) hsbaComponents |
Definition at line 544 of file OOColor.m.
Referenced by OOPlanetEntity::HSBColorWithColor.
Here is the caller graph for this function:| - (NSString *) hsbaDescription |
Definition at line 544 of file OOColor.m.
| - (float) hueComponent |
Definition at line 544 of file OOColor.m.
| - (BOOL) isBlack |
| - (BOOL) isWhite |
| + (OOColor *) lightGrayColor |
Definition at line 544 of file OOColor.m.
Referenced by ApplyColor().
Here is the caller graph for this function:| + (OOColor *) magentaColor |
| - (NSArray *) normalizedArray |
Definition at line 544 of file OOColor.m.
Referenced by AddColorIfAppropriate(), CanonicalizeMaterialSpecifier(), EquipmentInfoGetProperty(), FlasherGetProperty(), PlayerShipGetProperty(), ShipGetProperty(), SynthSpecular(), and VisualEffectGetProperty().
Here is the caller graph for this function:| + (OOColor *) orangeColor |
| - (OOColor *) premultipliedColor |
| + (OOColor *) purpleColor |
| + (OOColor *) redColor |
Definition at line 544 of file OOColor.m.
Referenced by HeadUpDisplay::hudDrawReticleOnTarget.
Here is the caller graph for this function:| - (float) redComponent |
Definition at line 544 of file OOColor.m.
Referenced by AddMacroColorIfAppropriate(), fillSquareImageDataWithCloudTexture(), FloatRGBFromDictColor(), and HeadUpDisplay::hudDrawReticleOnTarget.
Here is the caller graph for this function:| - (OORGBAComponents) rgbaComponents |
Definition at line 544 of file OOColor.m.
Referenced by ModulateColor().
Here is the caller graph for this function:| - (NSString *) rgbaDescription |
Definition at line 544 of file OOColor.m.
| - (float) saturationComponent |
Definition at line 544 of file OOColor.m.
|
implementation |
Definition at line 544 of file OOColor.m.
|
implementation |
| + (OOColor *) whiteColor |
| + (OOColor *) yellowColor |
Definition at line 544 of file OOColor.m.
Referenced by GuiDisplayGen::addLongText:startingAtRow:align:.
Here is the caller graph for this function: