aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/color_utils.h
AgeCommit message (Collapse)AuthorFilesLines
2010-06-15Cleanup header file define guards.Stig Bjørlykke1-0/+1
svn path=/trunk/; revision=33230
2009-09-22Constify colour sourceKovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=30059
2009-08-24Fix typo.Guy Harris1-1/+1
svn path=/trunk/; revision=29544
2009-08-24Use our own version of gdk_color_to_string if GTK < 2.12Anders Broman1-1/+5
svn path=/trunk/; revision=29541
2008-04-13move all code from color.c into color_utils.cUlf Lamping1-0/+64
remove color.c rename colors.h into color_utils.h (hopefully this reduces confusion to /color.h) svn path=/trunk/; revision=24974
2004-07-24Move the declaration of "create_color()" up to "color.h", so it'sGuy Harris1-45/+0
declared in a toolkit-independent header file. Get rid of "gtk/color_utils.h", as there's nothing left in it. svn path=/trunk/; revision=11498
2004-07-24Have "gtk/color_utils.c" contain routines with toolkit-independent APIs,Guy Harris1-14/+10
but toolkit-dependent implementations, for manipulating colors, and have "gtk/color_utils.h" declare them (the header file should eventually be moved to the top-level directory). Move the routines to convert between GdkColor and color_t out of there into "colors.c", and move their declarations into "colors.h", as their APIs are toolkit-dependent. Have the first such routine be a "create_color()" routine, which takes RGB values and initializes a "color_t", including doing any toolkit-dependent work necessary for that; use that in the "gtk/color_filters.c" code (the goal is to remove as many of the toolkit dependencies as possible from that code, and move it to the top-level directory). svn path=/trunk/; revision=11497
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-06-01add details for doxygen, various code cleanups as a result of thisUlf Lamping1-3/+19
svn path=/trunk/; revision=11057
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6117
2000-11-21Add a "color.h" file that declares a nominally-toolkit-independentGuy Harris1-0/+33
"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. svn path=/trunk/; revision=2692