mocra / iconmerge

Create composite icon image from two icons, with 2nd image as a thumbnail on top of the 1st

iconmerge / NSSaveableImageView.m
100644 27 lines (20 sloc) 0.445 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// NSSaveableImageView.m
// iConMerge
//
// Created by Daniel Leping on 2/1/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
 
#import "NSSaveableImageView.h"
 
 
@implementation NSSaveableImageView
 
- (id)initWithFrame:(NSRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code here.
    }
    return self;
}
 
//- (void)drawRect:(NSRect)rect {
    // Drawing code here.
//}
 
@end