* Fixed memory leaks in Control, ElementMenu and TextElementBranch.

* Check if RLIMIT_AS is present, else use RLIMIT_DATA.

* Don't add one to the timeout in display::Window::mark_dirty() so
that it updates the display immediately upon reorganizing the layout.

* Updated doc/rtorrent.1.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@759 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-08-15 23:15:47 +00:00
parent ee7016f547
commit 708e89ebad
8 changed files with 45 additions and 28 deletions
+10 -5
View File
@@ -45,17 +45,22 @@
namespace display {
class WindowText;
class TextElementStringBase;
}
namespace ui {
struct ElementMenuEntry;
struct ElementMenuEntry {
display::TextElementStringBase* m_element;
class ElementMenu : public ElementBase, public std::vector<ElementMenuEntry*> {
sigc::slot0<void> m_slotFocus;
sigc::slot0<void> m_slotSelect;
};
class ElementMenu : public ElementBase, public std::vector<ElementMenuEntry> {
public:
typedef ElementMenuEntry entry_type;
typedef std::vector<entry_type*> base_type;
typedef sigc::slot0<void> slot_type;
typedef std::vector<ElementMenuEntry> base_type;
typedef sigc::slot0<void> slot_type;
typedef display::WindowText WindowText;