CGrayBox.h

// ===========================================================================
//  CGrayBox.h                  ©1995 Apple Computer, Inc. All rights reserved.
// ===========================================================================
 
#pragma once
 
#include <LView.h>
 
const RGBColor              mLtGray = {0xAAAA, 0xAAAA, 0xAAAA};
 
 
class   CGrayBox : public LView {
public:
    enum { class_ID = 'gBox' };
 
    static CGrayBox*        CreateGrayBoxStream(LStream *inStream);
                            CGrayBox(LStream *inStream);
                            
    virtual void            Draw(RgnHandle inSuperDrawRgnH);
    
protected:
    Boolean                 mDrawGrayBkgrnd;
    
    virtual void            DrawSelf(); 
    virtual void            ApplyForeAndBackColors();
};