-
Notifications
You must be signed in to change notification settings - Fork 1
/
caspectwindow.h
36 lines (26 loc) · 933 Bytes
/
caspectwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef CASPECTWINDOW_H
#define CASPECTWINDOW_H
#include <Aspect_Window.hxx>
class QWidget;
class CAspectWindowPrivate;
class CAspectWindow : public Aspect_Window
{
public:
CAspectWindow(QWidget &view);
~CAspectWindow();
Aspect_Drawable NativeHandle() const final;
Aspect_Drawable NativeParentHandle() const final;
Aspect_TypeOfResize DoResize() final;
Standard_Boolean IsMapped() const final;
Standard_Boolean DoMapping() const final;
void Map() const final;
void Unmap() const final;
void Position(Standard_Integer &theX1, Standard_Integer &theY1,
Standard_Integer &theX2, Standard_Integer &theY2 ) const final;
Standard_Real Ratio() const final;
void Size(Standard_Integer& theWidth, Standard_Integer& theHeight) const final;
Aspect_FBConfig NativeFBConfig() const final;
private:
CAspectWindowPrivate * const d_ptr;
};
#endif // CASPECTWINDOW_H