Skip to content
Browse files

Adapted to the new use system, both examples work like a charm withou…

…t adapting the sourcepath at all =)
  • Loading branch information...
1 parent a5be3df commit 83e242b43efa5cacd8a1fbd71f0df1fc88962afc n ddrylliog committed Oct 28, 2009
Showing with 11 additions and 7 deletions.
  1. +6 −0 cairo.use
  2. +1 −1 cairo/Cairo.ooc
  3. +1 −1 cairo/GdkCairo.ooc
  4. +0 −4 cairo/cairo.use
  5. +2 −0 gtk-example.ooc
  6. +1 −1 stars.ooc
View
6 cairo.use
@@ -0,0 +1,6 @@
+= All
+Name: cairo
+Description: 2D graphics library with support for multiple output devices.
+Pkgs: cairo
+SourcePath: .
+
View
2 cairo/Cairo.ooc
@@ -1,6 +1,6 @@
include cairo
-use cairo/cairo
+use cairo
cairo_user_data_key_t: extern cover
View
2 cairo/GdkCairo.ooc
@@ -1,6 +1,6 @@
include cairo
-use cairo/cairo
+use gdk, cairo
import Cairo
import gdk/Drawable
View
4 cairo/cairo.use
@@ -1,4 +0,0 @@
-= All
-Name: cairo
-Description: cairo c lib
-Pkgs: cairo
View
2 gtk-example.ooc
@@ -1,3 +1,5 @@
+use cairo, gtk
+
import cairo/[Cairo, GdkCairo]
import gtk/[Gtk, Widget, Window]
View
2 stars.ooc
@@ -1,7 +1,7 @@
import cairo/Cairo
include math, time
-use cairo/cairo
+use cairo
include cairo
main: func (argc: Int, argv: String*) {

0 comments on commit 83e242b

Please sign in to comment.
Something went wrong with that request. Please try again.