-
Notifications
You must be signed in to change notification settings - Fork 0
/
Window.h
45 lines (28 loc) · 881 Bytes
/
Window.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
37
38
39
40
41
42
43
44
45
/*
-------------------------------------------------------------------------
OBJECT NAME: Window.h
FULL NAME: Generic Shell with Form class
TYPE: Abstract/Base
DESCRIPTION:
COPYRIGHT: University Corporation for Atmospheric Research, 1997
-------------------------------------------------------------------------
*/
#ifndef WINDOW_H
#define WINDOW_H
#include <Xm/Form.h>
#include <Xm/RowColumn.h>
/* -------------------------------------------------------------------- */
class WinForm {
public:
enum winType { Form, RowColumn };
WinForm(const Widget parent, const char name[], winType wt);
virtual ~WinForm();
virtual void PopUp();
virtual void PopDown() const;
void SetPosition(int x, int y) const;
Widget Shell() const { return(shell); }
Widget Window() const { return(window); }
private:
Widget shell, window;
}; /* END WINDOW.H */
#endif