|
Open CASCADE Technology
6.7.1
|
#include <Aspect_Window.hxx>

Public Member Functions | |
| void | SetBackground (const Aspect_Background &ABack) |
| Modifies the window background. More... | |
| void | SetBackground (const Quantity_NameOfColor theNameOfColor) |
| Modifies the window background from a Named Color. More... | |
| void | SetBackground (const Quantity_Color &color) |
| Modifies the window background. More... | |
| void | SetBackground (const Aspect_GradientBackground &ABackground) |
| Modifies the window gradient background. More... | |
| void | SetBackground (const Quantity_Color &theFirstColor, const Quantity_Color &theSecondColor, const Aspect_GradientFillMethod theFillMethod) |
| Modifies the window gradient background. More... | |
| virtual void | Map () const =0 |
| Opens the window <me>. More... | |
| virtual void | Unmap () const =0 |
| Closes the window <me>. More... | |
| virtual Aspect_TypeOfResize | DoResize () const =0 |
| Apply the resizing to the window <me>. More... | |
| virtual Standard_Boolean | DoMapping () const =0 |
Apply the mapping change to the window <me>. <br> and returns TRUE if the window is mapped at screen. | |
| virtual void | Destroy ()=0 |
| Destroy the Window More... | |
| Aspect_Background | Background () const |
| Returns the window background. More... | |
| Aspect_FillMethod | BackgroundFillMethod () const |
| Returns the current image background fill mode. More... | |
| Aspect_GradientBackground | GradientBackground () const |
| Returns the window gradient background. More... | |
| virtual Standard_Boolean | IsMapped () const =0 |
| Returns True if the window <me> is opened and False if the window is closed. More... | |
| Standard_Boolean | IsVirtual () const |
| Returns True if the window <me> is virtual More... | |
| void | SetVirtual (const Standard_Boolean theVirtual) |
| Setup the virtual state More... | |
| virtual Quantity_Ratio | Ratio () const =0 |
| Returns The Window RATIO equal to the physical WIDTH/HEIGHT dimensions More... | |
| virtual void | Position (Standard_Integer &X1, Standard_Integer &Y1, Standard_Integer &X2, Standard_Integer &Y2) const =0 |
| Returns The Window POSITION in PIXEL More... | |
| virtual void | Size (Standard_Integer &Width, Standard_Integer &Height) const =0 |
| Returns The Window SIZE in PIXEL More... | |
Public Member Functions inherited from MMgt_TShared | |
| virtual void | Delete () const |
| Memory deallocator for transient classes. More... | |
Public Member Functions inherited from Standard_Transient | |
| Standard_Transient () | |
| Empty constructor. More... | |
| Standard_Transient (const Standard_Transient &) | |
| Copy constructor – does nothing. More... | |
| Standard_Transient & | operator= (const Standard_Transient &) |
| Assignment operator, needed to avoid copying reference counter. More... | |
| virtual | ~Standard_Transient () |
| Destructor must be virtual. More... | |
| virtual void | ShallowDump (Standard_OStream &) const |
| virtual const Handle_Standard_Type & | DynamicType () const |
| Returns a type information object about this object. More... | |
| Standard_Boolean | IsInstance (const Handle_Standard_Type &theType) const |
| Returns a true value if this is an instance of Type. More... | |
| Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
| Returns a true value if this is an instance of TypeName. More... | |
| Standard_Boolean | IsKind (const Handle_Standard_Type &theType) const |
| Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
| Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
| virtual Handle_Standard_Transient | This () const |
| Returns a Handle which references this object. Must never be called to objects created in stack. More... | |
| Standard_Integer | GetRefCount () const |
| Get the reference counter of this object. More... | |
Protected Member Functions | |
| Aspect_Window () | |
| Initializes the datas of a Window. More... | |
Protected Attributes | |
| Aspect_Background | MyBackground |
| Aspect_GradientBackground | MyGradientBackground |
| Aspect_FillMethod | MyBackgroundFillMethod |
| Standard_Boolean | MyIsVirtual |
|
protected |
Initializes the datas of a Window.
| Aspect_Background Aspect_Window::Background | ( | ) | const |
Returns the window background.
| Aspect_FillMethod Aspect_Window::BackgroundFillMethod | ( | ) | const |
Returns the current image background fill mode.
|
pure virtual |
Destroy the Window
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
|
pure virtual |
Apply the mapping change to the window <me>. <br>
and returns TRUE if the window is mapped at screen.
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
|
pure virtual |
Apply the resizing to the window <me>.
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
| Aspect_GradientBackground Aspect_Window::GradientBackground | ( | ) | const |
Returns the window gradient background.
|
pure virtual |
Returns True if the window <me> is opened
and False if the window is closed.
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
| Standard_Boolean Aspect_Window::IsVirtual | ( | ) | const |
Returns True if the window <me> is virtual
|
pure virtual |
Opens the window <me>.
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
|
pure virtual |
Returns The Window POSITION in PIXEL
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
|
pure virtual |
Returns The Window RATIO equal to the physical
WIDTH/HEIGHT dimensions
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
| void Aspect_Window::SetBackground | ( | const Aspect_Background & | ABack | ) |
Modifies the window background.
| void Aspect_Window::SetBackground | ( | const Quantity_NameOfColor | theNameOfColor | ) |
Modifies the window background from a Named Color.
| void Aspect_Window::SetBackground | ( | const Quantity_Color & | color | ) |
Modifies the window background.
| void Aspect_Window::SetBackground | ( | const Aspect_GradientBackground & | ABackground | ) |
Modifies the window gradient background.
| void Aspect_Window::SetBackground | ( | const Quantity_Color & | theFirstColor, |
| const Quantity_Color & | theSecondColor, | ||
| const Aspect_GradientFillMethod | theFillMethod | ||
| ) |
Modifies the window gradient background.
| void Aspect_Window::SetVirtual | ( | const Standard_Boolean | theVirtual | ) |
Setup the virtual state
|
pure virtual |
Returns The Window SIZE in PIXEL
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
|
pure virtual |
Closes the window <me>.
Implemented in WNT_Window, Cocoa_Window, and Xw_Window.
|
protected |
|
protected |
|
protected |
|
protected |
1.8.5