From ce60c52e774c652cf85dbbdc0ffbed8c8dbb070c Mon Sep 17 00:00:00 2001 From: "Paul Buetow (venus)" Date: Sat, 21 Jan 2012 16:21:38 +0100 Subject: reorder --- README | 2 +- loadbars | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README b/README index b9c1d3f..dbfe164 100644 --- a/README +++ b/README @@ -24,4 +24,4 @@ Versioning schema: a.b.c[.d], where It's not a release if there is a -devel suffix. It's a development version (in the trunk) then. -For some usage/help please see the HELP file. +For some help/usage please consult the HELP file. diff --git a/loadbars b/loadbars index 168cbc4..52ea1a2 100755 --- a/loadbars +++ b/loadbars @@ -413,19 +413,7 @@ sub main_loop ($@) { $app->fill($rect_separator, Loadbars::GREY); } - $y = $C{height} - $heights{softirq}; - $rect_softirq->width($width); - $rect_softirq->height($heights{softirq}); - $rect_softirq->x($x); - $rect_softirq->y($y); - - $y -= $heights{irq}; - $rect_irq->width($width); - $rect_irq->height($heights{irq}); - $rect_irq->x($x); - $rect_irq->y($y); - - $y -= $heights{system}; + $y = $C{height} - $heights{system}; $rect_system->width($width); $rect_system->height($heights{system}); $rect_system->x($x); @@ -455,6 +443,18 @@ sub main_loop ($@) { $rect_idle->x($x); $rect_idle->y($y); + $y -= $heights{irq}; + $rect_irq->width($width); + $rect_irq->height($heights{irq}); + $rect_irq->x($x); + $rect_irq->y($y); + + $y -= $heights{softirq}; + $rect_softirq->width($width); + $rect_softirq->height($heights{softirq}); + $rect_softirq->x($x); + $rect_softirq->y($y); + $y -= $heights{steal}; $rect_steal->width($width); $rect_steal->height($heights{steal}); -- cgit v1.2.3