UNIVERS
15.3
UNIVERS base processing software API
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
zm
XDO.H
1
// XDO.H $Revision: 1.6 $ $Date: 1999/07/06 10:48:12 $
2
3
#if !defined __XDO_H
4
5
#define __XDO_H
6
7
8
#include <X11/Xlib.h>
9
#include <X11/Xutil.h>
10
#include <mix/Types.h>
11
12
13
/*************************************************************
14
* X Drawable Object
15
*************************************************************/
16
class
XDO
17
{
18
public
:
19
20
Display *dpy;
21
ScreenNo scrno;
22
int
depth;
23
24
Window window_id;
25
Pixmap pixmap_id;
26
27
XDO
(
const
XDO
& xdo);
28
XDO
(Display* display, ScreenNo screen, Window window);
29
XDO
(Display* display, Window window);
30
virtual
~
XDO
();
31
32
ColorPixel white ()
const
;
33
ColorPixel black ()
const
;
34
ColorPixel color (
const
char
* szColorName)
const
;
35
36
int
get_win_width ()
const
;
37
int
get_win_height ()
const
;
38
39
virtual
Drawable true_wid ()
const
;
40
virtual
Drawable wid ()
const
;
41
42
virtual
void
get_true_win_size (
int
& w,
int
& h)
const
;
43
virtual
void
get_win_size (
int
& w,
int
& h)
const
;
44
45
virtual
void
flush ()
const
;
46
47
virtual
void
expose ();
48
49
};
50
51
#endif // XDO.H
XDO
Definition:
XDO.H:16
Generated by
1.8.5