Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adapted to the new use system, both examples work like a charm withou…
…t adapting the sourcepath at all =)
  • Loading branch information
n ddrylliog committed Oct 28, 2009
1 parent a5be3df commit 83e242b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
6 changes: 6 additions & 0 deletions cairo.use
@@ -0,0 +1,6 @@
= All
Name: cairo
Description: 2D graphics library with support for multiple output devices.
Pkgs: cairo
SourcePath: .

2 changes: 1 addition & 1 deletion cairo/Cairo.ooc
@@ -1,6 +1,6 @@
include cairo

use cairo/cairo
use cairo

cairo_user_data_key_t: extern cover

Expand Down
2 changes: 1 addition & 1 deletion cairo/GdkCairo.ooc
@@ -1,6 +1,6 @@
include cairo

use cairo/cairo
use gdk, cairo

import Cairo
import gdk/Drawable
Expand Down
4 changes: 0 additions & 4 deletions cairo/cairo.use

This file was deleted.

2 changes: 2 additions & 0 deletions gtk-example.ooc
@@ -1,3 +1,5 @@
use cairo, gtk

import cairo/[Cairo, GdkCairo]
import gtk/[Gtk, Widget, Window]

Expand Down
2 changes: 1 addition & 1 deletion 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*) {
Expand Down

0 comments on commit 83e242b

Please sign in to comment.