* 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
@@ -121,7 +121,7 @@ ElementFileList::receive_pagenext() {
if (m_window == NULL)
throw torrent::client_error("ui::ElementFileList::receive_pagenext(...) called on a disabled object");
unsigned int count = (m_window->get_height() - 1) / 2;
unsigned int count = (m_window->height() - 1) / 2;
if (m_focus + count < m_download->download()->file_list().size())
m_focus += count;
@@ -143,7 +143,7 @@ ElementFileList::receive_pageprev() {
if (fl.size() == 0)
return;
unsigned int count = (m_window->get_height() - 1) / 2;
unsigned int count = (m_window->height() - 1) / 2;
if (m_focus > count)
m_focus -= count;