mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-06 10:12: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:
@@ -48,7 +48,7 @@
|
||||
namespace display {
|
||||
|
||||
WindowHttpQueue::WindowHttpQueue(core::HttpQueue* q) :
|
||||
Window(new Canvas, false, 1),
|
||||
Window(new Canvas, flag_width_dynamic, 0, 1),
|
||||
m_queue(q) {
|
||||
|
||||
set_active(false);
|
||||
@@ -75,7 +75,7 @@ WindowHttpQueue::redraw() {
|
||||
int pos = 10;
|
||||
Container::iterator itr = m_container.begin();
|
||||
|
||||
while (itr != m_container.end() && pos + 20 < m_canvas->get_width()) {
|
||||
while (itr != m_container.end() && pos + 20 < m_canvas->width()) {
|
||||
if (itr->m_http == NULL)
|
||||
m_canvas->print(pos, 0, "%s done", itr->m_name.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user