Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
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(); |
}; |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14