summaryrefslogtreecommitdiff
path: root/gdk/gdkrgba.c
Commit message (Collapse)AuthorAgeFilesLines
* GdkRGBA: Fix misspelt parameter names in docsDaniel Boles2017-07-061-2/+2
|
* GdkRGBA: Fix typo precentage => percentageDaniel Boles2017-07-061-1/+1
|
* API: gdk: Add gdk_rgba_is_clear() and gdk_rgba_is_opaque()Benjamin Otte2016-12-201-0/+34
| | | | | | | I want to use these inside GSK, and I'm not a fan of putting GdkRGBA APIs into it or duplicating it into GTK. So public API it is.
* Revert "Add missing (out) annotation to gdk_rgba_parse"Emmanuele Bassi2016-02-021-1/+1
| | | | | | | | | | | | | This reverts commit 695860958a9a2e7c825bcec4d0d42b427f0fb47e. The change introduced an introspection ABI break. See also: https://bugzilla.gnome.org/show_bug.cgi?id=682125 If we want to move the parse() method to be a constructor or a class method, we'll need to do more testing or add new API. https://bugzilla.gnome.org/show_bug.cgi?id=754990
* Add missing (out) annotation to gdk_rgba_parsePhil Clayton2016-01-231-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754990
* gdkrgba: Use %g instead of %.17g to print alphaBenjamin Otte2015-11-021-1/+1
| | | | This way 0.3 isn't printed as 0.29999999999999
* gdk_rgba_parse : do not segfault on null stringPierre-Yves Luyten2014-09-281-0/+3
|
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-2/+2
| | | | Instead of Return value:
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-2/+2
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-7/+7
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-1/+1
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: use ` instead of <literal>William Jon McCann2014-02-041-2/+2
|
* Docs: Use markdown for listsMatthias Clasen2014-02-021-16/+6
| | | | This greatly reduces the amount of xml in the docs.
* docs: don't use structfield tagsWilliam Jon McCann2014-01-271-3/+1
|
* docs: use #*-struct instead of <structname>William Jon McCann2014-01-271-6/+6
|
* GdkRgba: Fix 'loose' typoBastien Nocera2013-05-231-1/+1
| | | | | | Should be "lose" https://bugzilla.gnome.org/show_bug.cgi?id=700844
* docs: Escape bare '#' in GdkRGBA string definitionsEmmanuele Bassi2012-05-201-1/+2
| | | | GTK-Doc does not like bare '#', so let's turn them into &num;.
* Bug 670499-gdk/gdkrgba.c: Include fallback-c89.cChun-wei Fan2012-05-031-0/+2
| | | | Include (gdk/)fallback-c89.c as isnan() and isinf() is used.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Tighten up GdkRGBA parsingMatthias Clasen2012-01-091-11/+33
| | | | | gdk_rgba_parse was accepting too much nonsense, as pointed out in bug 667485.
* Use g_slice_dupMatthias Clasen2012-01-071-9/+1
| | | | | This saves some manual copying. Pointed out in bug 667473.
* More GDK documentation tweaksMatthias Clasen2011-02-091-40/+49
|
* [GI] Add (type) annotations to real typesPavel Holejsovsky2011-01-201-3/+3
|
* gdk: Add section docs for GdkRGBABenjamin Otte2010-12-061-0/+20
|
* gdk: Constify argument to gdk_rgba_copy()Benjamin Otte2010-12-061-1/+1
|
* rgba: Invert the arguments and improve bindabilityEmmanuele Bassi2010-11-281-3/+3
| | | | | | | | Since parse() is a method of the Gdk.RGBA class, the GdkRGBA pointer should be the first argument, and the string the second one, to allow a more natural binding. https://bugzilla.gnome.org/show_bug.cgi?id=635879
* docs: gdkrgba: Add "Since: 3.0" tagsJavier Jardón2010-11-151-0/+12
|
* Switch to CSS interpretation of rgb() and rgba() colorsOwen W. Taylor2010-11-031-22/+69
| | | | | | | | | | CSS3 defines a somewhat odd syntax for rgba() colors - the rgb values are integers from 0 to 255 or percentages and the a value is a float from 0 to 1. To avoid increasing the total amount of confusion in the world, make gdk_rgb_to_string() and gdk_rgb_parse() follow this syntax rather than using floats for r, g, and b. https://bugzilla.gnome.org/show_bug.cgi?id=633762
* Make gdk_rgba_to_string() take a const GdkRGBAChristian Persch2010-10-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=633216
* Add tests for GdkRGBA serializationMatthias Clasen2010-10-251-5/+11
| | | | | In particular, test that serialization is not dependent on the locale.
* Add GdkRGBA struct to supersede GdkColorCarlos Garnacho2010-10-221-0/+277
GdkRGBA is a boxed struct similar to GdkColor, with the difference that it stores alpha information as well, and colors are stored in [0..1] doubles, in the cairo spirit. gdk_cairo_set_source_rgba() has been also added to allow easier handling of this new type.