~DrawContext();
Window &get_window() const { return window; }
- unsigned get_depth() const { return image->bits_per_pixel; }
- unsigned char *get_data() { return reinterpret_cast<unsigned char *>(image->data); }
+ unsigned get_depth() const;
+ unsigned char *get_data();
void update();
};