diff gui.d @ 3:7d57cae10805

Renamed geometry2 to geometry
author David Bryant <daveb@acres.com.au>
date Fri, 10 Jul 2009 15:25:48 +0930
parents d6f44347373d
children 936feb16eed4
line wrap: on
line diff
--- a/gui.d	Fri Jul 10 15:15:27 2009 +0930
+++ b/gui.d	Fri Jul 10 15:25:48 2009 +0930
@@ -11,7 +11,7 @@
 import tk.events;
 
 import std.stdio;
-import tk.geometry2;
+import tk.geometry;
 
 void main(string[] args) {
     Main.init(args);
@@ -23,17 +23,17 @@
     Main.run();
 
     /*
-    Point2 p3 = Point2.DEFAULT;
+    Point p3 = Point.DEFAULT;
 
-    Point2 p1 = Point2(3.0, 5.0);
+    Point p1 = Point(3.0, 5.0);
     writefln("%s", p1);
 
-    Point2 p2 = Point2(1.0, 2.0);
+    Point p2 = Point(1.0, 2.0);
     writefln("%s", p2);
 
     writefln("%s", p1 - p2);
 
-    Rectangle2 r = Rectangle2(p1, p2);
+    Rectangle r = Rectangle(p1, p2);
     writefln("%s", r);
     */
 }