mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-11 20:52:30 +00:00
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user