mutter/tests/interactive
Emmanuele Bassi 7d674db9d2 Clean up of the ClutterColor API
The ClutterColor API has some inconsistencies:

  - the string deserialization function does not match the rest of
    the conversion function naming policy; the naming should be:

        clutter_color_parse()   ->      clutter_color_from_string()

    and the first parameter should be the ClutterColor that will
    be set from the string, not the string itself (a GDK-ism).

  - the fixed point API should not be exposed, especially in the
    form of ClutterFixed values

  - the non-fixed point HLS conversion functions do not make any
    sense. The values returned should be:

      hue        := range [ 0, 360 ]
      luminance  := range [ 0,   1 ]
      saturation := range [ 0,   1 ]

    like the current fixed point API does. Returning a value in
    the [ 0, 255 ] range is completely useless

  - the clutter_color_equal() should be converted for its use inside
    a GHashTable; a clutter_color_hash() should be added as well

  - the second parameter of the clutter_color_shade() function should
    be the shading factor, not the result (another GDK-ism). this way
    the function call can be translated from this:

      color.shade(out result, factor)

    to the more natural:

      color.shade(factor, out result)

This somewhat large commit fixes all these issues and updates the
internal users of the API.
2009-03-10 12:38:02 +00:00
..
Makefile.am Merge branch 'generic-actor-clone' 2009-01-27 16:14:35 +00:00
test-actor-clone.c Merge branch 'generic-actor-clone' 2009-01-27 16:14:35 +00:00
test-actors.c Merge branch 'generic-actor-clone' 2009-01-27 16:14:35 +00:00
test-animation.c [animation] Implement new easing functions 2009-01-20 17:57:30 +00:00
test-behave.c Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
test-binding-pool.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
test-clip.c [Cogl] cogl_clip_{set*,unset} renamed to cogl_clip_{push*,pop} 2009-02-18 16:00:51 +00:00
test-clutter-cairo-flowers.c [tests] Adds a flowery clutter_cairo_texture unit test 2009-01-14 15:25:27 +00:00
test-cogl-multitexture.c Fallout from cogl-material merge 2009-01-27 16:02:04 +00:00
test-cogl-offscreen.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
test-cogl-primitives.c Simplify test-cogl-primitives 2009-01-23 23:55:44 +00:00
test-cogl-tex-convert.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-foreign.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-getset.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-polygon.c Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
test-cogl-tex-tile.c Merge branch 'cogl-material' 2009-01-27 15:19:34 +00:00
test-depth.c Remove CloneTexture from the API 2009-01-27 15:18:45 +00:00
test-devices.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-easing.c [animation] Implement new easing functions 2009-01-20 17:57:30 +00:00
test-entry.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-events.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-fbo.c Remove CloneTexture from the API 2009-01-27 15:18:45 +00:00
test-fullscreen.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-grab.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-layout.c Clean up of the ClutterColor API 2009-03-10 12:38:02 +00:00
test-main.c * tests/interactive/test-main.c (main): Allow more than two 2008-11-10 16:30:42 +00:00
test-model.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-multistage.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
test-offscreen.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-paint-wrapper.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
test-perspective.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-pixmap.c [tests] Some improvements for test-pixmap 2009-02-11 13:08:17 +00:00
test-project.c Fix last improper usage of ClutterUnits 2009-01-08 16:00:47 +00:00
test-random-text.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-rotate.c [text] Rename :alignment to :line-alignment 2009-02-05 19:54:48 +00:00
test-scale.c [animation] Move the alpha value to floating point 2009-01-20 16:42:49 +00:00
test-score.c 2008-11-14 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-14 14:52:35 +00:00
test-script.c [script] Parse easing modes by name 2009-01-20 18:24:58 +00:00
test-shader.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-stage-read-pixels.c Update the interactive tests to ClutterText 2008-12-11 13:48:01 +00:00
test-text-field.c [tests] Update the text-field interactive test 2009-02-02 12:07:28 +00:00
test-text.c [tests] Update the ClutterText interactive test 2009-01-07 15:54:08 +00:00
test-texture-quality.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
test-textures.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-threads.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
test-unproject.c Merge the ClutterText actor 2009-01-07 12:06:33 +00:00
test-viewport.c [alpha] Allow registering alpha functions 2009-01-16 14:37:35 +00:00
wrapper.sh Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00