Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
Classes | Functions
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

◆ 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}