File: IDEAS

package info (click to toggle)
modglue 1.17-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 656 kB
  • sloc: cpp: 4,011; sh: 193; makefile: 137
file content (49 lines) | stat: -rw-r--r-- 838 bytes parent folder | download | duplicates (5)
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
46
47
48
49


> new window(-1,-1,600,800);
< 1945
> new button("kasper");
< 1946
> 1945->add(1946);
> new canvas();
< 1947
> 1945->add(1947);
{ 1946.pressed
{ 1947.redraw(0,0,680,800);
> 1947.draw_string(100,100,"test");
> 1947.set_color("red");
> 1947.draw_box(120,0,125,800);

or for XML
 xml_in> <html><body>blabla<h1>foo</h1>barbar bar</body></html>
command> new iterator(top);
    out> 1945
command> 1945.print();
    out> html
command> 1945.num_children();
    out> 1
command> 1945.next_child();
command> 1945.print();
    out> body
command> 1945.type();
    out> element

cycling through input-pipes by pressing shift-tab.

 class object {
	 public:
		 string name;
		 int    reference;
 };

 class message {
	 public:
		 enum message_type { new_type, delete_type, call_type, reference_type, signal_type };
		 
		 int reference();
		 
 };