From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 12/14] pybootchartgui: Reorder the legend to match the task execution order
Date: Fri, 15 Nov 2013 18:09:01 +0100 [thread overview]
Message-ID: <0d1ec6ebdb0da31152f98469f75a5be58db7d36a.1384535211.git.pkj@axis.com> (raw)
In-Reply-To: <cover.1384535211.git.pkj@axis.com>
In-Reply-To: <cover.1384535211.git.pkj@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
scripts/pybootchartgui/pybootchartgui/draw.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py
index ea960f9..718d95e 100644
--- a/scripts/pybootchartgui/pybootchartgui/draw.py
+++ b/scripts/pybootchartgui/pybootchartgui/draw.py
@@ -126,10 +126,10 @@ TASK_COLOR_CONFIGURE = (1.0, 1.0, 0.00, 1.0)
TASK_COLOR_COMPILE = (0.0, 1.00, 0.00, 1.0)
# Install task color
TASK_COLOR_INSTALL = (1.0, 0.00, 1.00, 1.0)
-# Package task color
-TASK_COLOR_PACKAGE = (0.0, 1.00, 1.00, 1.0)
# Sysroot task color
TASK_COLOR_SYSROOT = (0.0, 0.00, 1.00, 1.0)
+# Package task color
+TASK_COLOR_PACKAGE = (0.0, 1.00, 1.00, 1.0)
# Process states
STATE_UNDEFINED = 0
@@ -414,10 +414,10 @@ def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w):
TASK_COLOR_COMPILE, off_x+120, curr_y + 45, leg_s)
draw_legend_box (ctx, "Install", \
TASK_COLOR_INSTALL, off_x+240, curr_y + 45, leg_s)
- draw_legend_box (ctx, "Package", \
- TASK_COLOR_PACKAGE, off_x+360, curr_y + 45, leg_s)
draw_legend_box (ctx, "Populate Sysroot", \
TASK_COLOR_SYSROOT, off_x+480, curr_y + 45, leg_s)
+ draw_legend_box (ctx, "Package", \
+ TASK_COLOR_PACKAGE, off_x+480, curr_y + 45, leg_s)
ctx.set_font_size(PROC_TEXT_FONT_SIZE)
@@ -447,10 +447,10 @@ def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w):
col = TASK_COLOR_CONFIGURE
elif task == "do_install":
col = TASK_COLOR_INSTALL
- elif task == "do_package":
- col = TASK_COLOR_PACKAGE
elif task == "do_populate_sysroot":
col = TASK_COLOR_SYSROOT
+ elif task == "do_package":
+ col = TASK_COLOR_PACKAGE
else:
col = WHITE
--
1.8.4
next prev parent reply other threads:[~2013-11-15 17:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-15 17:08 [PATCH 00/14] Improvements to pybootchartgui Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 01/14] pybootchartgui: Import pybootchartgui 0.14.5 Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 02/14] pybootchartgui: Make the horizontal scaling stay within bounds Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 03/14] pybootchartgui: Set the initial state of "Show more" correctly Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 04/14] pybootchartgui: Correct the X offset for the chart Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 05/14] pybootchartgui: Use correct header height Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 06/14] pybootchartgui: Avoid having overlapping process bars Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 07/14] pybootchartgui: No need to do a double list comprehension over files Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 08/14] pybootchartgui: Disable options that do not make sense Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 09/14] pybootchartgui: Draw a lot less ticks Peter Kjellerstedt
2013-11-15 17:08 ` [PATCH 10/14] pybootchartgui: Make "Show more" show all processes Peter Kjellerstedt
2013-11-15 17:09 ` [PATCH 11/14] pybootchartgui: Make bars without a specified color white Peter Kjellerstedt
2013-11-15 17:09 ` Peter Kjellerstedt [this message]
2013-11-15 17:09 ` [PATCH 13/14] pybootchartgui: Add a color for the package_write_* tasks Peter Kjellerstedt
2013-11-15 17:09 ` [PATCH 14/14] pybootchartgui: Add option --minutes to show time in minutes Peter Kjellerstedt
2013-11-15 23:24 ` [PATCH 00/14] Improvements to pybootchartgui Burton, Ross
2013-11-19 12:16 ` Peter Kjellerstedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d1ec6ebdb0da31152f98469f75a5be58db7d36a.1384535211.git.pkj@axis.com \
--to=peter.kjellerstedt@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.