// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Aspect_Background_HeaderFile #define _Aspect_Background_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Quantity_Color_HeaderFile #include #endif class Quantity_Color; //! This class allows the definition of
//! a window background.
class Aspect_Background { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Creates a window background.
//! Default color : NOC_MATRAGRAY.
Standard_EXPORT Aspect_Background(); //! Creates a window background with the colour .
Standard_EXPORT Aspect_Background(const Quantity_Color& AColor); //! Modifies the colour of the window background .
Standard_EXPORT void SetColor(const Quantity_Color& AColor) ; //! Returns the colour of the window background .
Standard_EXPORT Quantity_Color Color() const; protected: private: Quantity_Color MyColor; }; // other Inline functions and methods (like "C++: function call" methods) #endif