mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
8c451b8a67
* clutter/clutter-actor.h: * clutter/clutter-actor.c: (clutter_actor_get_abs_opacity): Add function that does what get_opacity() does now... (clutter_actor_get_opacity): ... and make get_opacity() do what it's supposed to be doing. The original get_opacity() returned a composited value, and there's no way to actually extract the real opacity value set with set_opacity(). * clutter/clutter-clone-texture.c: * clutter/clutter-rectangle.c: * clutter/clutter-texture.c: Update to use get_abs_opacity(). * clutter/clutter-entry.c: * clutter/clutter-label.c: Ditto. Also, never change the stored alpha value. (#804) * tests/Makefile.am: * tests/test-opacity.c: Test suite for the get_opacity() and get_abs_opacity() API, and correct opacity handling. * README: Add note about the change in get_opacity(). |
||
---|---|---|
.. | ||
Makefile.am | ||
redhand.png | ||
test-actors.c | ||
test-behave.c | ||
test-depth.c | ||
test-effects.c | ||
test-entry.c | ||
test-events.c | ||
test-fbo.c | ||
test-fullscreen.c | ||
test-grab.c | ||
test-model.c | ||
test-offscreen.c | ||
test-opacity.c | ||
test-perspective.c | ||
test-project.c | ||
test-rotate.c | ||
test-scale.c | ||
test-score.c | ||
test-script.c | ||
test-script.json | ||
test-shader.c | ||
test-text.c | ||
test-textures.c | ||
test-threads.c | ||
test-timeline.c | ||
test-unproject.c | ||
test-viewport.c |