src/Graphics/Drawable.hh
author Tero Marttila <terom@fixme.fi>
Thu, 22 Jan 2009 04:09:53 +0200
changeset 424 f337a86d144e
parent 423 947ab54de4b7
permissions -rw-r--r--
fix GRAPHICS_ENABLED configuration... probably broken again if the <ClanLib/Display> includes aren't there

#ifndef GRAPHICS_DRAWABLE_HH
#define GRAPHICS_DRAWABLE_HH

namespace graphics
{

class Drawable;

}

#include "Display.hh"

namespace graphics
{

/**
 * Abstract interface class to define something that's drawable
 */
class Drawable {
public:
    /**
     * Draw graphics onto the given display
     */
    virtual void draw (Display &display) = 0;
};

}


#endif