Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOColor(NSColorConversion) Category Reference

#include <OODebugUtilities.h>

Instance Methods

(NSColor *) - asNSColor
 

Detailed Description

Definition at line 35 of file OODebugUtilities.h.

Method Documentation

◆ asNSColor

- (NSColor *) asNSColor

Extends class OOColor.

Definition at line 1 of file OODebugUtilities.m.

36{
37 float r, g, b, a;
38 [self getRed:&r green:&g blue:&b alpha:&a];
39 return [NSColor colorWithDeviceRed:r green:g blue:b alpha:a];
40}

The documentation for this category was generated from the following files: