changeset 23:d5cd97f55cb6

Blah
author "David Bryant <bagnose@gmail.com>"
date Wed, 15 Jul 2009 23:33:54 +0930
parents 17c2df87b459
children a24c13bb9c98
files biro/routines.d build.sh cairo/routines.d
diffstat 3 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/biro/routines.d	Wed Jul 15 23:33:54 2009 +0930
@@ -0,0 +1,11 @@
+module biro.routines;
+
+public {
+    import tk.geometry;
+    import cairo.Context;
+}
+
+void rectangle(Context cr, Rectangle rectangle) {
+    cr.rectangle(rectangle.position.x, rectangle.position.y,
+                 rectangle.size.x, rectangle.size.y);
+}
--- a/build.sh	Wed Jul 15 23:31:29 2009 +0930
+++ b/build.sh	Wed Jul 15 23:33:54 2009 +0930
@@ -4,10 +4,10 @@
         -ofdoodle \
         -od.obj \
         doodle.d \
-        cairo/routines.d \
+        biro/routines.d \
         dia/grid_layer.d dia/icanvas.d dia/page_layer.d dia/standard_tools.d dia/tool.d dia/tool_layer.d \
         gtk/canvas.d gtk/conversions.d \
-        tk/events.d tk/geometry.d tk/misc.d tk/types.d
+        tk/events.d tk/geometry.d tk/misc.d tk/types.d \
         -I"${DMD_BASE}/include/d" \
         -L-lgtkd -L-ldl
 
--- a/cairo/routines.d	Wed Jul 15 23:31:29 2009 +0930
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-module cairo.routines;
-
-public {
-    import tk.geometry;
-    import cairo.Context;
-}
-
-void rectangle(Context cr, Rectangle rectangle) {
-    cr.rectangle(rectangle.position.x, rectangle.position.y,
-                 rectangle.size.x, rectangle.size.y);
-}