rustc: Move geom to gfx and stub gfx/surface and image/encode/tga

Conflicts:

	src/gfx/surface.rs
	src/layout/base.rs
This commit is contained in:
Patrick Walton 2012-03-27 16:58:27 -07:00
parent 7f2cae11f2
commit 57ae567777
4 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,6 @@
enum format {
fo_rgba_8888
// TODO: RGB 565
// TODO: RGB 565, others?
}
type surface = {

View file

@ -1,7 +1,8 @@
import dom::rcu;
import dom::rcu::methods;
import util::{tree, geom};
import geom::{size, rect, point, au};
import gfx::geom;
import gfx::geom::{size, rect, point, au};
import util::{tree};
enum box = @{
tree: tree::fields<box>,
@ -137,3 +138,4 @@ mod test {
geom::box(au(0), au(0), au(100), au(45))]; // n3
}
}

View file

@ -14,6 +14,7 @@ mod dom {
}
mod gfx {
mod geom;
mod surface;
}
@ -33,5 +34,4 @@ mod widget {
mod util {
mod tree;
mod geom;
}