summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/pybootchartgui/pybootchartgui/draw.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py b/scripts/pybootchartgui/pybootchartgui/draw.py
index ea960f9a07..718d95e988 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)
126TASK_COLOR_COMPILE = (0.0, 1.00, 0.00, 1.0) 126TASK_COLOR_COMPILE = (0.0, 1.00, 0.00, 1.0)
127# Install task color 127# Install task color
128TASK_COLOR_INSTALL = (1.0, 0.00, 1.00, 1.0) 128TASK_COLOR_INSTALL = (1.0, 0.00, 1.00, 1.0)
129# Package task color
130TASK_COLOR_PACKAGE = (0.0, 1.00, 1.00, 1.0)
131# Sysroot task color 129# Sysroot task color
132TASK_COLOR_SYSROOT = (0.0, 0.00, 1.00, 1.0) 130TASK_COLOR_SYSROOT = (0.0, 0.00, 1.00, 1.0)
131# Package task color
132TASK_COLOR_PACKAGE = (0.0, 1.00, 1.00, 1.0)
133 133
134# Process states 134# Process states
135STATE_UNDEFINED = 0 135STATE_UNDEFINED = 0
@@ -414,10 +414,10 @@ def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w):
414 TASK_COLOR_COMPILE, off_x+120, curr_y + 45, leg_s) 414 TASK_COLOR_COMPILE, off_x+120, curr_y + 45, leg_s)
415 draw_legend_box (ctx, "Install", \ 415 draw_legend_box (ctx, "Install", \
416 TASK_COLOR_INSTALL, off_x+240, curr_y + 45, leg_s) 416 TASK_COLOR_INSTALL, off_x+240, curr_y + 45, leg_s)
417 draw_legend_box (ctx, "Package", \
418 TASK_COLOR_PACKAGE, off_x+360, curr_y + 45, leg_s)
419 draw_legend_box (ctx, "Populate Sysroot", \ 417 draw_legend_box (ctx, "Populate Sysroot", \
420 TASK_COLOR_SYSROOT, off_x+480, curr_y + 45, leg_s) 418 TASK_COLOR_SYSROOT, off_x+480, curr_y + 45, leg_s)
419 draw_legend_box (ctx, "Package", \
420 TASK_COLOR_PACKAGE, off_x+480, curr_y + 45, leg_s)
421 421
422 ctx.set_font_size(PROC_TEXT_FONT_SIZE) 422 ctx.set_font_size(PROC_TEXT_FONT_SIZE)
423 423
@@ -447,10 +447,10 @@ def render_processes_chart(ctx, options, trace, curr_y, w, h, sec_w):
447 col = TASK_COLOR_CONFIGURE 447 col = TASK_COLOR_CONFIGURE
448 elif task == "do_install": 448 elif task == "do_install":
449 col = TASK_COLOR_INSTALL 449 col = TASK_COLOR_INSTALL
450 elif task == "do_package":
451 col = TASK_COLOR_PACKAGE
452 elif task == "do_populate_sysroot": 450 elif task == "do_populate_sysroot":
453 col = TASK_COLOR_SYSROOT 451 col = TASK_COLOR_SYSROOT
452 elif task == "do_package":
453 col = TASK_COLOR_PACKAGE
454 else: 454 else:
455 col = WHITE 455 col = WHITE
456 456