[chronojump] runInterval capture paint chunks whith shifted color
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] runInterval capture paint chunks whith shifted color
- Date: Mon, 2 Nov 2020 13:06:33 +0000 (UTC)
commit 424d2f9d5e66d7865c6ec348b6b17c4a250b8abc
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Nov 2 14:01:39 2020 +0100
runInterval capture paint chunks whith shifted color
src/gui/eventExecute.cs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index ded646a2..a44fec88 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -2115,14 +2115,14 @@ public partial class ChronoJumpWindow
int xEnd = event_execute_rightMargin + Convert.ToInt32((ancho -
2*event_execute_rightMargin) *
(inPTL.tcEnd + negativePTLTime) / timeTotalWithExtraPTL);
- pixmap.DrawRectangle(pen_gris, true,
+ pixmap.DrawRectangle(pen_background_shifted, true,
new Rectangle (xStart, alto-bottomMargin-4, xEnd-xStart, 4));
//manage chunks indications
if(inPTL.phase == RunPhaseTimeListObject.Phases.START)
{
//draw the vertical start line
- pixmap.DrawLine(pen_gris,
+ pixmap.DrawLine(pen_background_shifted,
xStart - chunkMargins, alto-bottomMargin -4,
xStart - chunkMargins, alto-bottomMargin -(4 + chunkMargins));
lastChunkStart = xStart;
@@ -2130,12 +2130,12 @@ public partial class ChronoJumpWindow
else if(inPTL.phase == RunPhaseTimeListObject.Phases.END)
{
//draw the vertical end line
- pixmap.DrawLine(pen_gris,
+ pixmap.DrawLine(pen_background_shifted,
xEnd + chunkMargins, alto-bottomMargin -4,
xEnd + chunkMargins, alto-bottomMargin -(4 + chunkMargins));
//draw the horizontal start-end line
- pixmap.DrawLine(pen_gris,
+ pixmap.DrawLine(pen_background_shifted,
lastChunkStart - chunkMargins, alto-bottomMargin -(4 +
chunkMargins),
xEnd + chunkMargins, alto-bottomMargin -(4 + chunkMargins));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]