annotate doodle/dia/standard_tools.d @ 58:c63719604adb

Beginnings of creating a rectangle...
author "David Bryant <bagnose@gmail.com>"
date Mon, 09 Aug 2010 21:43:24 +0930
parents 9960c4fbd0dd
children 20d6327c4a75
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
1754cb773d41 Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents: 27
diff changeset
1 module doodle.dia.standard_tools;
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
2
16
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 14
diff changeset
3 public {
28
1754cb773d41 Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents: 27
diff changeset
4 import doodle.dia.tool;
16
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 14
diff changeset
5 }
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 14
diff changeset
6
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 14
diff changeset
7 private {
28
1754cb773d41 Part-way through getting to compile with configure/builder.
Graham St Jack <graham.stjack@internode.on.net>
parents: 27
diff changeset
8 import doodle.cairo.routines;
16
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 14
diff changeset
9 import std.math;
17
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
10 import std.stdio;
16
9e63308b749c * Fix up public/private includes
David Bryant <daveb@acres.com.au>
parents: 14
diff changeset
11 }
7
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
12
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
13 final class PanTool : Tool {
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
14 this() {
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
15 super("Pan");
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
16 }
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
17
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
18 override bool handleButtonPress(scope IViewport viewport, in ButtonEvent event) {
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
19 if (event.buttonName == ButtonName.MIDDLE) {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
20 mLastPosition = event.pixelPoint;
7
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
21 return true;
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
22 }
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
23 else {
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
24 return false;
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
25 }
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
26 }
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
27
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
28 override bool handleMotion(scope IViewport viewport, in MotionEvent event) {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
29 if (event.mask.isSet(Modifier.MIDDLE_BUTTON)) {
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
30 viewport.panRelative(mLastPosition - event.pixelPoint);
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
31 mLastPosition = event.pixelPoint;
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
32
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
33 return true;
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
34 }
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
35 else {
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
36 return false;
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
37 }
7
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
38 }
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
39
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
40 override bool handleScroll(scope IViewport viewport, in ScrollEvent event) {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
41 if (event.mask.isUnset(Modifier.MIDDLE_BUTTON)) {
9
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
42 Vector delta;
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
43
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
44 switch (event.scrollDirection) {
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
45 case ScrollDirection.UP:
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
46 delta = event.mask.isSet(Modifier.SHIFT) ? Vector(-AMOUNT, 0.0) : Vector(0.0, AMOUNT);
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
47 break;
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
48 case ScrollDirection.DOWN:
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
49 delta = event.mask.isSet(Modifier.SHIFT) ? Vector(AMOUNT, 0.0) : Vector(0.0, -AMOUNT);
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
50 break;
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
51 case ScrollDirection.LEFT:
9
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
52 delta = Vector(-AMOUNT, 0.0);
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
53 break;
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
54 case ScrollDirection.RIGHT:
9
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
55 delta = Vector(AMOUNT, 0.0);
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
56 break;
40
1f97022e5c6d Checkpoint. Development continues...
daveb
parents: 36
diff changeset
57 default:
1f97022e5c6d Checkpoint. Development continues...
daveb
parents: 36
diff changeset
58 assert(0);
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
59 }
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
60
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
61 viewport.panRelative(delta);
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
62 }
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
63
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
64 return true;
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
65 }
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
66
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
67 private {
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
68 Point mLastPosition;
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
69 static immutable double AMOUNT = 60.0;
8
bf7903435f58 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 7
diff changeset
70 }
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
71 }
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
72
7
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
73 final class ZoomTool : Tool {
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
74 this() {
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
75 super("Zoom");
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
76 }
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
77
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
78 override bool handleScroll(scope IViewport viewport, in ScrollEvent event) {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
79 if (event.mask.isSet(Modifier.CONTROL)) {
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
80 if (event.scrollDirection == ScrollDirection.DOWN) {
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
81 viewport.zoomRelative(event.pixelPoint, 1.0 / ZOOM);
9
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
82 return true;
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
83 }
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
84 else if (event.scrollDirection == ScrollDirection.UP) {
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
85 viewport.zoomRelative(event.pixelPoint, ZOOM);
9
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
86 return true;
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
87 }
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
88 else {
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
89 return false;
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
90 }
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
91 }
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
92 else {
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
93 return false;
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
94 }
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
95 }
7
936feb16eed4 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 3
diff changeset
96
9
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
97 private {
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
98 static immutable double ZOOM = sqrt(2.0);
9
66b47e122b31 Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 8
diff changeset
99 }
2
d6f44347373d * Switched over to geometry done with structs instead of classes.
David Bryant <daveb@acres.com.au>
parents:
diff changeset
100 }
17
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
101
56
b190a9d9352e Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 48
diff changeset
102 final class SelectTool : Tool {
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
103 this() {
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
104 super("Select");
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
105 }
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
106
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
107 override bool handleButtonPress(scope IViewport viewport, in ButtonEvent event) {
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
108 if (event.buttonName == ButtonName.LEFT) {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
109 _active = true;
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
110 _anchorPoint = _currentPoint = event.pixelPoint;
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
111 viewport.setCursor(Cursor.HAND);
17
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
112 return true;
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
113 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
114 else {
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
115 return false;
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
116 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
117 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
118
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
119 override bool handleButtonRelease(scope IViewport viewport, in ButtonEvent event) {
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
120 if (event.buttonName == ButtonName.LEFT && _active) {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
121 _active = false;
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
122 viewport.damagePixel(feather(Rectangle(_anchorPoint, _currentPoint), LINE_WIDTH / 2.0));
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
123 viewport.setCursor(Cursor.DEFAULT);
17
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
124 return true;
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
125 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
126 else {
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
127 return false;
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
128 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
129 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
130
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
131 override bool handleMotion(scope IViewport viewport, in MotionEvent event) {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
132 if (_active) {
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
133 viewport.damagePixel(feather(Rectangle(_anchorPoint, _currentPoint), LINE_WIDTH / 2.0));
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
134 _currentPoint = event.pixelPoint;
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
135 viewport.damagePixel(feather(Rectangle(_anchorPoint, _currentPoint), LINE_WIDTH / 2.0));
17
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
136 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
137
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
138 return false;
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
139 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
140
57
9960c4fbd0dd I is for Interface
"David Bryant <bagnose@gmail.com>"
parents: 56
diff changeset
141 override void draw(in IViewport viewport,
56
b190a9d9352e Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 48
diff changeset
142 in Rectangle pixelDamage, scope Context pixelCr) const {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
143 if (_active) {
56
b190a9d9352e Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 48
diff changeset
144 /*
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
145 pixelCr.save; {
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
146 pixelCr.setSourceRgba(0.0, 0.0, 0.8, 0.3);
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
147 rectangle(pixelCr, Rectangle(_currentPoint, _anchorPoint));
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
148 pixelCr.fill();
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
149 } pixelCr.restore();
56
b190a9d9352e Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 48
diff changeset
150 */
26
06c30d250c0a Cleanup
"David Bryant <bagnose@gmail.com>"
parents: 24
diff changeset
151
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
152 pixelCr.save(); {
56
b190a9d9352e Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 48
diff changeset
153 double[] dashes = [ 4.0, 4.0 ];
b190a9d9352e Checkpoint
"David Bryant <bagnose@gmail.com>"
parents: 48
diff changeset
154 pixelCr.setDash(dashes, 0.0);
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
155 pixelCr.setSourceRgba(0.0, 0.0, 0.5, 1.0);
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
156 pixelCr.setLineWidth(LINE_WIDTH);
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
157 rectangle(pixelCr, Rectangle(_currentPoint, _anchorPoint));
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
158 pixelCr.stroke;
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
159 } pixelCr.restore;
18
df8d81d9f499 Lasso fiddling
David Bryant <daveb@acres.com.au>
parents: 17
diff changeset
160 }
17
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
161 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
162
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
163 private {
48
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
164 bool _active;
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
165 Point _currentPoint;
1b4c9ba58673 Stylistic overhaul.
daveb
parents: 40
diff changeset
166 Point _anchorPoint; // Pixel
58
c63719604adb Beginnings of creating a rectangle...
"David Bryant <bagnose@gmail.com>"
parents: 57
diff changeset
167 static immutable double LINE_WIDTH = 1.0;
17
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
168 }
c643c04e3f5e Checkpoint
David Bryant <daveb@acres.com.au>
parents: 16
diff changeset
169 }