- Add a widget to show the ReadyQueue

- Change slightly the gradients of the SimulationWidget to make
them more aggressive. Bite, Fido! :-)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1025 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-06 14:51:53 +00:00
parent dbfc7393ed
commit cb1d85a4cc
7 changed files with 584 additions and 869 deletions

View file

@ -27,6 +27,7 @@
#include "graphical_preferences_editor.hh"
#include "holt_container_window.hh"
#include "holt_widget.hh"
#include "ready_queue_widget.hh"
#include "schedulables_tree_widget.hh"
#include "simulation_widget.hh"
#include "resources_widget.hh"
@ -576,15 +577,18 @@ GuiBuilder::GuiBuilder(const std::string& gladefile)
_simulation_widget->set_show_threads(_show_threads);
_simulation_widget->show();
// Why this works, and SimulationWidget doesn't ??
// HoltWidget& holt = *manage(new HoltWidget(Simulation::get_instance()));
// simulation_window->add(holt);
// holt.show();
// temporary test on holt widget...
// ReadyQueue custom label widget
ReadyQueueWidget& rq_widget = *manage(new ReadyQueueWidget(Simulation::get_instance().get_history()));
HBox* rqb;
_refXml->get_widget("ReadyQueueBox", rqb);
rqb->pack_start(rq_widget);
rq_widget.show();
// HoltGraph container window
_holt_container.set_keep_above();
_holt_container.get_holt_widget().set_show_threads(_show_threads);
// _holt_container.set_deletable(false);
_holt_container.show();
}