projects
/
AXE.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bugfix: In configuration::find_parameter(), check if the parameter node exists
[AXE.git]
/
src
/
xtest.cpp
1
2
#include "Xclass.h"
3
4
main()
5
{
6
window w(100,100,400,400);
7
XEvent ev;
8
9
window subw(w, 25, 25, 350, 350);
10
w++;
11
subw++;
12
stddpy >> ev;
13
14
point p1(10,40), p2(225,225);
15
subw << p1 << p2;
16
17
subw.foreground(6);
18
19
line l(p1, p2);
20
l[2] = point(125,345);
21
subw << l;
22
23
rectangle r(p1,p2);
24
subw.foreground(2);
25
subw << r;
26
27
text t(20,25,"Some text");
28
subw.foreground(4);
29
subw << t;
30
31
// XFlush(stddpy.Dpy());
32
while (ev.type != ButtonPress)
33
stddpy >> ev;
34
}
35