Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
Aspect_Window Class Reference

#include <Aspect_Window.hxx>

Inheritance diagram for Aspect_Window:
Inheritance graph
[legend]

Public Member Functions

void SetBackground (const Aspect_Background &ABack)
 Modifies the window background.

void SetBackground (const Quantity_NameOfColor theNameOfColor)
 Modifies the window background from a Named Color.

void SetBackground (const Quantity_Color &color)
 Modifies the window background.

void SetBackground (const Aspect_GradientBackground &ABackground)
 Modifies the window gradient background.

void SetBackground (const Quantity_Color &theFirstColor, const Quantity_Color &theSecondColor, const Aspect_GradientFillMethod theFillMethod)
 Modifies the window gradient background.

virtual void Map () const =0
 Opens the window <me>.

virtual void Unmap () const =0
 Closes the window <me>.

virtual Aspect_TypeOfResize DoResize () const =0
 Apply the resizing to the window <me>.

virtual Standard_Boolean DoMapping () const =0
 Apply the mapping change to the window <me>.
and returns TRUE if the window is mapped at screen.

virtual void Destroy ()=0
 Destroy the Window

Aspect_Background Background () const
 Returns the window background.

Aspect_FillMethod BackgroundFillMethod () const
 Returns the current image background fill mode.

Aspect_GradientBackground GradientBackground () const
 Returns the window gradient background.

virtual Standard_Boolean IsMapped () const =0
 Returns True if the window <me> is opened
and False if the window is closed.

Standard_Boolean IsVirtual () const
 Returns True if the window <me> is virtual

void SetVirtual (const Standard_Boolean theVirtual)
 Setup the virtual state

virtual Quantity_Ratio Ratio () const =0
 Returns The Window RATIO equal to the physical
WIDTH/HEIGHT dimensions

virtual void Position (Standard_Integer &X1, Standard_Integer &Y1, Standard_Integer &X2, Standard_Integer &Y2) const =0
 Returns The Window POSITION in PIXEL

virtual void Size (Standard_Integer &Width, Standard_Integer &Height) const =0
 Returns The Window SIZE in PIXEL

Protected Member Functions

 Aspect_Window ()
 Initializes the datas of a Window.

Protected Attributes

Aspect_Background MyBackground
Aspect_GradientBackground MyGradientBackground
Aspect_FillMethod MyBackgroundFillMethod
Standard_Boolean MyIsVirtual

Constructor & Destructor Documentation

Aspect_Window::Aspect_Window ( ) [protected]

Member Function Documentation

Aspect_Background Aspect_Window::Background ( ) const
Aspect_FillMethod Aspect_Window::BackgroundFillMethod ( ) const
virtual void Aspect_Window::Destroy ( ) [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

virtual Standard_Boolean Aspect_Window::DoMapping ( ) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

virtual Aspect_TypeOfResize Aspect_Window::DoResize ( ) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

Aspect_GradientBackground Aspect_Window::GradientBackground ( ) const
virtual Standard_Boolean Aspect_Window::IsMapped ( ) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

Standard_Boolean Aspect_Window::IsVirtual ( ) const
virtual void Aspect_Window::Map ( ) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

virtual void Aspect_Window::Position ( Standard_Integer X1,
Standard_Integer Y1,
Standard_Integer X2,
Standard_Integer Y2 
) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

virtual Quantity_Ratio Aspect_Window::Ratio ( ) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

void Aspect_Window::SetBackground ( const Quantity_Color theFirstColor,
const Quantity_Color theSecondColor,
const Aspect_GradientFillMethod  theFillMethod 
)
void Aspect_Window::SetBackground ( const Quantity_NameOfColor  theNameOfColor)
void Aspect_Window::SetBackground ( const Aspect_GradientBackground ABackground)
void Aspect_Window::SetBackground ( const Quantity_Color color)
void Aspect_Window::SetBackground ( const Aspect_Background ABack)
void Aspect_Window::SetVirtual ( const Standard_Boolean  theVirtual)
virtual void Aspect_Window::Size ( Standard_Integer Width,
Standard_Integer Height 
) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.

virtual void Aspect_Window::Unmap ( ) const [pure virtual]

Implemented in Xw_Window, WNT_Window, and Cocoa_Window.


Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines