Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal color.h Makefile.am file.c prefs.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Nov 2000 17:54:09 -0600 (CST)
guy         2000/11/21 17:54:09 CST

  Modified files:
    .                    Makefile.am file.c prefs.h 
  Added files:
    .                    color.h 
  Log:
  Add a "color.h" file that declares a nominally-toolkit-independent
  "color_t" structure to store color values (although currently it has all
  the same fields that a GdkColor has; its currently advantage is that you
  don't have to include any GTK/GDK stuff to declare it).
  
  Add routines in the "gtk" directory to convert between "color_t" and
  GdkColor values.
  
  Define, in "prefs.h", all colors as "color_t" values rather than
  GdkColor values.  "prefs.h" now no longer needs to include <gtk/gtk.h>,
  so don't include it.
  
  Revision  Changes    Path
  1.251     +2 -1      ethereal/Makefile.am
  1.227     +12 -9     ethereal/file.c
  1.26      +8 -8      ethereal/prefs.h