]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/windows/drawcontext.cpp
Drop the DrawContext class
[libs/gui.git] / source / graphics / windows / drawcontext.cpp
diff --git a/source/graphics/windows/drawcontext.cpp b/source/graphics/windows/drawcontext.cpp
deleted file mode 100644 (file)
index b887615..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#include <stdexcept>
-#include "drawcontext.h"
-#include "window.h"
-
-using namespace std;
-
-namespace Msp {
-namespace Graphics {
-
-DrawContext::DrawContext(Window &w):
-       display(w.get_display()),
-       window(w)
-{
-       throw runtime_error("no DrawContext support on windows");
-}
-
-DrawContext::~DrawContext()
-{ }
-
-unsigned DrawContext::get_depth() const
-{
-       return 0;
-}
-
-unsigned char *DrawContext::get_data()
-{
-       return 0;
-}
-
-void DrawContext::update()
-{ }
-
-} // namespace Graphics
-} // namespace Msp