aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/color_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-22Constify colour sourceKovarththanan Rajaratnam1-14/+10
svn path=/trunk/; revision=30059
2009-08-25Fix another typo.Guy Harris1-1/+1
svn path=/trunk/; revision=29545
2009-08-24Use our own version of gdk_color_to_string if GTK < 2.12Anders Broman1-0/+27
svn path=/trunk/; revision=29541
2008-04-13move all code from color.c into color_utils.cUlf Lamping1-1/+79
remove color.c rename colors.h into color_utils.h (hopefully this reduces confusion to /color.h) svn path=/trunk/; revision=24974
2008-04-13sort #includes by directoriesUlf Lamping1-2/+2
svn path=/trunk/; revision=24967
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2004-07-24Rename "create_color()" to "initialize_color()", as that reflects a bitGuy Harris1-3/+3
better what it actually does. svn path=/trunk/; revision=11502
2004-07-24Move the declaration of "create_color()" up to "color.h", so it'sGuy Harris1-1/+1
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-19/+20
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
2002-09-23Change to color filters :Olivier Abad1-2/+2
- moved color_filter_t in color.h - change color_filter_t to use color_t instead of GdkColor This changed allowed to remove the last gtk includes in file.c. It is now completely free of any gtk related code. svn path=/trunk/; revision=6324
2002-09-05Include cleanups in gtk and gtk2:Jörg Mayer1-3/+1
Remove unneded includes Add include wrappers where missing svn path=/trunk/; revision=6191
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/+53
"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