src/Graphics/Drawable.hh
author Tero Marttila <terom@fixme.fi>
Wed, 21 Jan 2009 03:33:35 +0200
branchnew_graphics
changeset 411 106aaf6eadfe
parent 410 41fd46cffc52
child 412 721c60072091
permissions -rw-r--r--
there's a grain of truth in the new graphics code now...
#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