]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/windows/drawcontext.cpp
Correct the offset of function keys in the X11 keymap
[libs/gui.git] / source / graphics / windows / drawcontext.cpp
1 #include <stdexcept>
2 #include "drawcontext.h"
3 #include "window.h"
4
5 using namespace std;
6
7 namespace Msp {
8 namespace Graphics {
9
10 DrawContext::DrawContext(Window &w):
11         display(w.get_display()),
12         window(w)
13 {
14         throw runtime_error("no DrawContext support on windows");
15 }
16
17 DrawContext::~DrawContext()
18 { }
19
20 unsigned DrawContext::get_depth() const
21 {
22         return 0;
23 }
24
25 unsigned char *DrawContext::get_data()
26 {
27         return 0;
28 }
29
30 void DrawContext::update()
31 { }
32
33 } // namespace Graphics
34 } // namespace Msp