Oolite 1.91.0.7677-250528-09ed63a
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OOColor.h File Reference
import "OOCocoa.h"
import "OOOpenGL.h"
Include dependency graph for OOColor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OORGBAComponents
struct  OOHSBAComponents
class  OOColor

Functions

NSString * OORGBAComponentsDescription (OORGBAComponents components)
NSString * OOHSBAComponentsDescription (OOHSBAComponents components)

Function Documentation

◆ OOHSBAComponentsDescription()

NSString * OOHSBAComponentsDescription ( OOHSBAComponents components)

Definition at line 544 of file OOColor.m.

545{
546 return [NSString stringWithFormat:@"{%i, %.3g, %.3g, %.3g}", (int)components.h, components.s, components.b, components.a];
547}
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque

Referenced by OOColor::hsbaDescription.

Here is the caller graph for this function:

◆ OORGBAComponentsDescription()

NSString * OORGBAComponentsDescription ( OORGBAComponents components)

Definition at line 538 of file OOColor.m.

539{
540 return [NSString stringWithFormat:@"{%.3g, %.3g, %.3g, %.3g}", components.r, components.g, components.b, components.a];
541}

Referenced by OOColor::rgbaDescription.

Here is the caller graph for this function: