Add a "color.h" file that declares a nominally-toolkit-independent
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 21 Nov 2000 23:54:10 +0000 (23:54 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 21 Nov 2000 23:54:10 +0000 (23:54 +0000)
commit46ccdc54b5b177917526cd6b87a7ba3c46241857
treeac14477f29c8c86817ad58caf63b37cb7c5895b4
parent778eb02097e9a0d08b9f78d93a8c8010e06a0d8e
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2692 f5534014-38df-0310-8fa8-9805f1628bb7
13 files changed:
Makefile.am
color.h [new file with mode: 0644]
file.c
gtk/Makefile.am
gtk/Makefile.nmake
gtk/color_utils.c [new file with mode: 0644]
gtk/color_utils.h [new file with mode: 0644]
gtk/follow_dlg.c
gtk/gui_prefs.c
gtk/main.c
gtk/print_dlg.c
gtk/stream_prefs.c
prefs.h