Stub gfx surface and TGA image encoding

This commit is contained in:
Patrick Walton 2012-03-27 16:30:25 -07:00
parent 4a9f4c410e
commit b1fe56301b
3 changed files with 19 additions and 0 deletions

9
src/gfx/surface.rs Normal file
View file

@ -0,0 +1,9 @@
enum format {
fo_rgba_8888;
// TODO: RGB 565
}
type surface = {
format: format
};

0
src/image/encode/tga.rs Normal file
View file

View file

@ -13,6 +13,16 @@ mod dom {
mod rcu;
}
mod gfx {
mod surface;
}
mod image {
mod encode {
mod tga;
}
}
mod layout {
mod base;
}