Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk color_utils.c color_utils.h Makefile.am

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:11 -0600 (CST)
guy         2000/11/21 17:54:11 CST

  Modified files:
    gtk                  Makefile.am Makefile.nmake follow_dlg.c 
                         gui_prefs.c main.c print_dlg.c 
                         stream_prefs.c 
  Added files:
    gtk                  color_utils.c color_utils.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.31      +3 -1      ethereal/gtk/Makefile.am
  1.15      +2 -1      ethereal/gtk/Makefile.nmake
  1.11      +12 -7     ethereal/gtk/follow_dlg.c
  1.24      +9 -7      ethereal/gtk/gui_prefs.c
  1.165     +14 -5     ethereal/gtk/main.c
  1.22      +3 -1      ethereal/gtk/print_dlg.c
  1.7       +11 -19    ethereal/gtk/stream_prefs.c