Implemented priority queue

This commit is contained in:
Alessandro Ranellucci 2015-01-04 18:17:15 +01:00
parent b4a6d0acee
commit 16939b80e6
5 changed files with 65 additions and 27 deletions

View file

@ -68,7 +68,7 @@ our $small_font = Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
$small_font->SetPointSize(11) if !&Wx::wxMSW;
our $medium_font = Wx::SystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
$medium_font->SetPointSize(12);
our $grey = Wx::Colour->new(100,100,100);
our $grey = Wx::Colour->new(200,200,200);
sub OnInit {
my ($self) = @_;

View file

@ -429,7 +429,7 @@ sub new {
sort keys %{$job->filament_stats};
my $text = Wx::StaticText->new($self, -1, $filament_stats, wxDefaultPosition, wxDefaultSize);
$text->SetFont($Slic3r::GUI::small_font);
if ($job->printed) {
if ($job->printed && !$job->printing) {
$text->SetForegroundColour($Slic3r::GUI::grey);
}
$left_sizer->Add($text, 1, wxEXPAND | wxTOP | wxBOTTOM, 7);