mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-10 16:19:23 +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:
@@ -54,9 +54,9 @@ public:
|
||||
virtual void redraw();
|
||||
|
||||
unsigned int rows() const;
|
||||
unsigned int chunks_per_row() const { return (m_canvas->get_width() - 6) / 11 * 10; }
|
||||
unsigned int chunks_per_row() const { return (width() - 6) / 11 * 10; }
|
||||
|
||||
unsigned int max_focus() const { return std::max<int>(rows() - get_height() + 1, 0); }
|
||||
unsigned int max_focus() const { return std::max<int>(rows() - height() + 1, 0); }
|
||||
|
||||
private:
|
||||
core::Download* m_download;
|
||||
|
||||
Reference in New Issue
Block a user