Moving from algo back to std.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@238 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-01-27 20:52:59 +00:00
parent 74b154f07e
commit f9b95c6255
18 changed files with 56 additions and 1279 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef RTORRENT_WINDOW_BASE_H
#define RTORRENT_WINDOW_BASE_H
namespace display {
class Canvas;
class Window {
public:
Window() : m_canvas(NULL) {}
virtual ~Window() {}
Canvas* get_canvas() { return m_canvas; }
void set_canvas(Canvas* c) { m_canvas = c; }
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