Files
rtorrent/src/display/window.h
T
rakshasa b994517819 rtorrent: Initial key handler implemented.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@239 e378c898-3ddf-0310-93e7-cc216c733640
2005-01-28 18:43:39 +00:00

31 lines
478 B
C++

#ifndef RTORRENT_WINDOW_BASE_H
#define RTORRENT_WINDOW_BASE_H
namespace display {
class Canvas;
class Window {
public:
Window(Canvas* c = NULL) : m_canvas(c) {}
virtual ~Window() {}
Canvas* get_canvas() { return m_canvas; }
void refresh();
void resize(int x, int y, int w, int h);
virtual void redraw() = 0;
protected:
Window(const Window&);
void operator = (const Window&);
Canvas* m_canvas;
};
}
#endif