* Starting work on ElementText for displaying generic information.

* If a storage error was thrown from make_directory in
EntryList::open, it would try to erase a FileMeta that wasn't inserted.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@753 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-08-09 19:55:34 +00:00
parent ba28df3ff2
commit ca58b43d8b
17 changed files with 360 additions and 67 deletions
+7 -1
View File
@@ -62,7 +62,8 @@ public:
using base_type::rbegin;
using base_type::rend;
WindowText() : Window(new Canvas, 0, 0, 0, extent_static, extent_static) {}
WindowText(void* object = NULL, extent_type margin = 0) :
Window(new Canvas, 0, 0, 0, extent_static, extent_static), m_object(object), m_margin(margin) {}
~WindowText() { clear(); }
void clear();
@@ -70,6 +71,11 @@ public:
void push_back(TextElement* element);
virtual void redraw();
private:
void* m_object;
extent_type m_margin;
};
}