[chronojump] Encoder bars loss arrow in gray_light
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Encoder bars loss arrow in gray_light
- Date: Mon, 3 Feb 2020 18:05:08 +0000 (UTC)
commit 17a9a4fed37dc06b0da61379fd4e2ab6a6dc3bab
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Feb 3 18:25:31 2020 +0100
Encoder bars loss arrow in gray_light
src/gui/encoderGraphObjects.cs | 3 ++-
src/utilGtk.cs | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/encoderGraphObjects.cs b/src/gui/encoderGraphObjects.cs
index 00bb476f..bb755227 100644
--- a/src/gui/encoderGraphObjects.cs
+++ b/src/gui/encoderGraphObjects.cs
@@ -259,6 +259,7 @@ public class EncoderGraphDoPlot
colormap = Gdk.Colormap.System;
colormap.AllocColor (ref UtilGtk.BLACK,true,true);
colormap.AllocColor (ref UtilGtk.GRAY,true,true);
+ colormap.AllocColor (ref UtilGtk.GRAY_LIGHT,true,true);
colormap.AllocColor (ref UtilGtk.RED_PLOTS,true,true);
colormap.AllocColor (ref UtilGtk.RED_DARK,true,true);
colormap.AllocColor (ref UtilGtk.RED_LIGHT,true,true);
@@ -274,7 +275,7 @@ public class EncoderGraphDoPlot
pen_black_encoder_capture.Foreground = UtilGtk.BLACK;
pen_gray.Foreground = UtilGtk.GRAY;
- pen_gray_loss_bold.Foreground = UtilGtk.GRAY;
+ pen_gray_loss_bold.Foreground = UtilGtk.GRAY_LIGHT;
pen_red_encoder_capture.Foreground = UtilGtk.RED_PLOTS;
pen_red_dark_encoder_capture.Foreground = UtilGtk.RED_DARK;
pen_red_light_encoder_capture.Foreground = UtilGtk.RED_LIGHT;
diff --git a/src/utilGtk.cs b/src/utilGtk.cs
index 7c4130b9..5d406496 100644
--- a/src/utilGtk.cs
+++ b/src/utilGtk.cs
@@ -462,6 +462,7 @@ public class UtilGtk
public static Gdk.Color WHITE = new Gdk.Color(0xff,0xff,0xff);
public static Gdk.Color BLACK = new Gdk.Color(0x00,0x00,0x00);
public static Gdk.Color GRAY = new Gdk.Color(0x66,0x66,0x66);
+ public static Gdk.Color GRAY_LIGHT = new Gdk.Color(0x99,0x99,0x99);
public static Gdk.Color BLUE = new Gdk.Color(0x6c,0x77,0xab);
public static Gdk.Color BLUE_CLEAR = new Gdk.Color(0xa0,0xa7,0xca);
public static Gdk.Color YELLOW = new Gdk.Color(0xff,0xcc,0x01);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]