]>
git.saurik.com Git - wxWidgets.git/blob - src/motif/mdi/lib/XsMDIWindow.h
2 Copyright (C) 1996 Scott W. Sadler
10 03-Mar-96 1.0; Scott W. Sadler (ssadler@cisco.com)
19 #include "XsComponent.h"
23 class XsMDIWindow
: public XsComponent
{
25 friend class XsMDICanvas
;
29 // Constructor/Destructor
31 XsMDIWindow (const char *name
);
32 virtual ~XsMDIWindow ( );
34 // Window manipulation
36 virtual void raise ( );
37 virtual void lower ( );
41 Widget
clientArea ( ) const;
45 virtual void setPosition (Position x
, Position y
);
46 virtual void setSize (Dimension w
, Dimension h
);
50 virtual const char *className ( ) const;
54 // Only the friendly canvas can show a window
56 virtual void show ( );
58 // Window creation functions
60 virtual void _buildClientArea (Widget parent
) = 0;
61 virtual void _createWindow (Widget parent
) = 0;
65 Widget _clientArea
; // Client work area
67 // Initial window size and placement
69 Position _initX
, _initY
;
70 Dimension _initW
, _initH
;
75 // Window parent installation
77 void _setWindowParent (Widget
);
81 // Inline member functions
83 inline Widget
XsMDIWindow::clientArea ( ) const