mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05: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().
41 lines
1.6 KiB
Makefile
41 lines
1.6 KiB
Makefile
noinst_PROGRAMS = test-textures test-events test-offscreen test-scale \
|
|
test-actors test-behave test-text test-entry test-project \
|
|
test-perspective test-rotate test-depth \
|
|
test-threads test-timeline test-score test-script \
|
|
test-model test-grab test-effects test-fullscreen \
|
|
test-shader test-unproject test-viewport test-fbo \
|
|
test-opacity
|
|
|
|
INCLUDES = -I$(top_srcdir)/
|
|
LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_MAJORMINOR@.la
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS)
|
|
AM_LDFLAGS = $(CLUTTER_LIBS)
|
|
|
|
test_textures_SOURCES = test-textures.c
|
|
test_events_SOURCES = test-events.c
|
|
test_offscreen_SOURCES = test-offscreen.c
|
|
test_scale_SOURCES = test-scale.c
|
|
test_actors_SOURCES = test-actors.c
|
|
test_grab_SOURCES = test-grab.c
|
|
test_behave_SOURCES = test-behave.c
|
|
test_text_SOURCES = test-text.c
|
|
test_entry_SOURCES = test-entry.c
|
|
test_project_SOURCES = test-project.c
|
|
test_unproject_SOURCES = test-unproject.c
|
|
test_perspective_SOURCES = test-perspective.c
|
|
test_rotate_SOURCES = test-rotate.c
|
|
test_depth_SOURCES = test-depth.c
|
|
test_threads_SOURCES = test-threads.c
|
|
test_timeline_SOURCES = test-timeline.c
|
|
test_shader_SOURCES = test-shader.c
|
|
test_score_SOURCES = test-score.c
|
|
test_script_SOURCES = test-script.c
|
|
test_model_SOURCES = test-model.c
|
|
test_effects_SOURCES = test-effects.c
|
|
test_fullscreen_SOURCES = test-fullscreen.c
|
|
test_viewport_SOURCES = test-viewport.c
|
|
test_fbo_SOURCES = test-fbo.c
|
|
test_opacity_SOURCES = test-opacity.c
|
|
|
|
EXTRA_DIST = redhand.png test-script.json
|