* Allow Frame's to be located in both rows and columns. Improved min

height/width for windows.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@748 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-07-28 00:17:54 +00:00
parent fc76a11d71
commit 4c9fc671be
40 changed files with 363 additions and 193 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ ElementTransferList::receive_pagenext() {
// if (m_window == NULL)
// throw torrent::client_error("ui::ElementTransferList::receive_pagenext(...) called on a disabled object");
// unsigned int visible = m_window->get_height() - 1;
// unsigned int visible = m_window->height() - 1;
// unsigned int scrollable = std::max<int>(m_window->rows() - visible, 0);
// if (scrollable == 0 || m_focus == scrollable)
@@ -146,7 +146,7 @@ ElementTransferList::receive_pageprev() {
// if (m_window == NULL)
// throw torrent::client_error("ui::ElementTransferList::receive_pageprev(...) called on a disabled object");
// unsigned int visible = m_window->get_height() - 1;
// unsigned int visible = m_window->height() - 1;
// unsigned int scrollable = std::max<int>(m_window->rows() - visible, 0);
// if (m_focus > visible / 2)