Alot of UI work, resize fixed.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@253 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-04 19:50:59 +00:00
parent bd7849199c
commit e02974571a
15 changed files with 406 additions and 10 deletions
+6
View File
@@ -1,6 +1,8 @@
#ifndef RTORRENT_WINDOW_BASE_H
#define RTORRENT_WINDOW_BASE_H
#include "timer.h"
namespace display {
class Canvas;
@@ -17,6 +19,8 @@ public:
void refresh();
void resize(int x, int y, int w, int h);
void mark_dirty() { m_lastDraw = 0; }
virtual void redraw() = 0;
protected:
@@ -27,6 +31,8 @@ protected:
bool m_dynamic;
int m_minHeight;
Timer m_lastDraw;
};
}