Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 36 lines (22 sloc) 1.093 kB
dc5be1c Initial check-in.
uli authored
1 /* =============================================================================
2 PROJECT: testapp
3 FILE: NSImage+IconRef.h
4
5 COPYRIGHT: (c) by Troy Stephens, all rights reserved.
6
7 AUTHORS: Troy Stephens, M. Uli Kusterer - UK
8
9 LICENSES: GNU GPL, Modified BSD
10
11 PURPOSE: Create an IconRef from an image.
12
13 REVISIONS:
14 2005-02-09 UK Created.
15 ========================================================================== */
16
17 // -----------------------------------------------------------------------------
18 // Headers:
19 // -----------------------------------------------------------------------------
20
21 #import <Cocoa/Cocoa.h>
22
23
24 // -----------------------------------------------------------------------------
25 // Expatriates from Troy Stephens' IconFamily class:
26 // -----------------------------------------------------------------------------
27
28 @interface NSImage (UKIconRef)
29
30 -(IconRef) iconRefRepresentation;
31
32 -(Handle) get32BitDataAtPixelSize: (int)requiredPixelSize;
33 -(Handle) get8BitMaskAtPixelSize: (int)requiredPixelSize;
34
35 @end
Something went wrong with that request. Please try again.