- Added visualization of allocated/places for resources

- Updated user manual accordingly with recent changes in the GUI

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1127 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-09-13 13:29:46 +00:00
parent 9c50d712f3
commit 5f0f9fed29
2 changed files with 14 additions and 6 deletions

View file

@ -287,9 +287,11 @@ ResourcesWidget::_on_cell_name_data(Gtk::CellRenderer* cr,
std::ostringstream oss;
oss << "<small><b>" << resource.get_name() << "</b>\n";
const Environment::SubRequestQueue& queue = env.get_request_queue(key);
oss << "<small><b>" << resource.get_name() << "</b>";
oss << " (" << queue.size() << "/" << resource.get_places() << ")\n";
for(Iseq<Environment::SubRequestQueue::const_iterator> it = iseq(queue); it; ++it)
{