// TransparentBox.m
// Project: Rulers
//
// Stephan Wacker
// 93-02-12

//
// A TransparentBox is a Box object that has a transparent background.
//


#import "TransparentBox.h"

@implementation TransparentBox


- drawSelf: (const NXRect *) rects : (int) rectCount
// Do nothing, i.e. stay transparent.
{
    return self;
}


- (BOOL) isOpaque
{
    return NO;
}


////////////////////////////////////////////////////////////////////////
//
// SuperimposedObject protocol
//
////////////////////////////////////////////////////////////////////////

- awakeFromMetamorphosis
{
    [self setOpaque: NO];
    
    return self;
}


@end
