-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#ifndef MSP_GLTK_PART_H_
#define MSP_GLTK_PART_H_
namespace GLtk {
class Graphic;
+class PartCache;
class Resources;
/**
Loader(Part &, Resources &);
~Loader();
private:
+ void graphic_normal(const std::string &);
void graphic(State, const std::string &);
void align(float, float);
void fill(float, float);
const Geometry &get_geometry() const { return geom; }
const Sides &get_margin() const { return margin; }
const Alignment &get_alignment() const { return align; }
- void render(const Geometry &, State) const;
+ void build(const Geometry &, State, PartCache &) const;
};
} // namespace GLtk