]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/drawcontext.h
Drop the DrawContext class
[libs/gui.git] / source / graphics / drawcontext.h
diff --git a/source/graphics/drawcontext.h b/source/graphics/drawcontext.h
deleted file mode 100644 (file)
index 957e153..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef MSP_GRAPHICS_DRAWCONTEXT_H_
-#define MSP_GRAPHICS_DRAWCONTEXT_H_
-
-namespace Msp {
-namespace Graphics {
-
-class Display;
-class Window;
-
-class DrawContext
-{
-private:
-       struct Private;
-
-       Display &display;
-       Window &window;
-       Private *priv;
-
-public:
-       DrawContext(Window &);
-       ~DrawContext();
-
-       Window &get_window() const { return window; }
-       unsigned get_depth() const;
-       unsigned char *get_data();
-       void update();
-};
-
-} // namespace Graphics
-} // namespace Msp
-
-#endif