1/*
2 * FlippedView.m, FlippedImage
3 *
4 * Copyright (C) 1997 - 2002 by vhf interservice GmbH
5 * Author:   Georg Fleischmann
6 *
7 * created:  1997-03-13
8 * modified: 2002-07-15
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the vhf Public License as
12 * published by vhf interservice GmbH. Among other things, the
13 * License requires that the copyright notices and this notice
14 * be preserved on all copies.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 * See the vhf Public License for more details.
20 *
21 * You should have received a copy of the vhf Public License along
22 * with this program; see the file LICENSE. If not, write to vhf.
23 *
24 * vhf interservice GmbH, Im Marxle 3, 72119 Altingen, Germany
25 * eMail: info@vhf.de
26 * http://www.vhf.de
27 */
28
29#include "FlippedView.h"
30
31/* flipped view
32 */
33@implementation FlippedView: NSView
34
35- initWithFrame:(NSRect)frameRect
36{
37    [super initWithFrame:frameRect];
38    isFlipped = YES;
39    return self;
40}
41
42- (BOOL)isFlipped
43{
44    return isFlipped;
45}
46
47- (void)setFlipped:(BOOL)flag
48{
49    isFlipped = flag;
50}
51
52/*- (void)resizeWithOldSuperviewSize:(NSSize)size
53{
54    [super resizeWithOldSuperviewSize:size];
55}*/
56
57@end
58
59
60/* flipped image
61 */
62@implementation FlippedImage: NSImage
63
64- (BOOL)isFlipped	{ return YES; }
65
66@end
67