mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 23:29:21 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user