Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
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 35 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}

References asNSColor, and OOColor::getRed:green:blue:alpha:.

Referenced by asNSColor.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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