From 2fb9ec7d548d801d816c21d64a612a984d85df22 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Fri, 29 Apr 2016 15:53:13 +0200 Subject: [PATCH] background and foreground colors are first class citizens! --- common/utils/T/tracer/gui/gui.h | 3 +++ common/utils/T/tracer/gui/x.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/utils/T/tracer/gui/gui.h b/common/utils/T/tracer/gui/gui.h index b1321c1e49..a26f9a77e2 100644 --- a/common/utils/T/tracer/gui/gui.h +++ b/common/utils/T/tracer/gui/gui.h @@ -9,6 +9,9 @@ typedef void widget; #define HORIZONTAL 0 #define VERTICAL 1 +#define BACKGROUND_COLOR 0 +#define FOREGROUND_COLOR 1 + gui *gui_init(void); /* position = -1 to put at the end */ diff --git a/common/utils/T/tracer/gui/x.h b/common/utils/T/tracer/gui/x.h index 165785923c..c1f8d33d89 100644 --- a/common/utils/T/tracer/gui/x.h +++ b/common/utils/T/tracer/gui/x.h @@ -3,9 +3,6 @@ /* public X interface */ -#define BACKGROUND_COLOR 0 -#define FOREGROUND_COLOR 1 - typedef void x_connection; typedef void x_window; -- GitLab