Compare commits
339 Commits
wip/carlos
...
alatiera/d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2bc69242a8 | ||
![]() |
1dff74e71c | ||
![]() |
25c53b2fb2 | ||
![]() |
213ed80284 | ||
![]() |
9adf8826d2 | ||
![]() |
19930c6577 | ||
![]() |
80d5f326e8 | ||
![]() |
15732851bc | ||
![]() |
996949806a | ||
![]() |
c5ac3d6217 | ||
![]() |
3d23ecc456 | ||
![]() |
cbf6e74915 | ||
![]() |
b5c4437287 | ||
![]() |
426d7f3bdf | ||
![]() |
3483be8566 | ||
![]() |
4a7a803c34 | ||
![]() |
4673eeaf5f | ||
![]() |
4f3de88b3d | ||
![]() |
180bb02fa5 | ||
![]() |
d59cf98690 | ||
![]() |
27fee69ca4 | ||
![]() |
640a04d0e4 | ||
![]() |
5fc07fcc23 | ||
![]() |
f31cf0c3ef | ||
![]() |
d21478b0f0 | ||
![]() |
b86d87453d | ||
![]() |
cf7c39e2c1 | ||
![]() |
7c774ab53e | ||
![]() |
c03a401f4c | ||
![]() |
c7e6cd4e27 | ||
![]() |
fc5b94e077 | ||
![]() |
4ce4a2b134 | ||
![]() |
93e20cf21c | ||
![]() |
a8e9f46ed8 | ||
![]() |
fe78467815 | ||
![]() |
d1c4c46281 | ||
![]() |
d3dc7d6f49 | ||
![]() |
b607d35aad | ||
![]() |
ef85d1a643 | ||
![]() |
417c00b8fa | ||
![]() |
6192e944b8 | ||
![]() |
8f2680c612 | ||
![]() |
d686dc9f46 | ||
![]() |
f139360569 | ||
![]() |
bf42b54faa | ||
![]() |
d48d56f831 | ||
![]() |
32f3bb02e1 | ||
![]() |
d21022f562 | ||
![]() |
2af229fe98 | ||
![]() |
c65617cb5a | ||
![]() |
c663f4ae84 | ||
![]() |
0afaf5262b | ||
![]() |
85fbf66179 | ||
![]() |
a97cc84b81 | ||
![]() |
bc32655c28 | ||
![]() |
176e6fcded | ||
![]() |
ecec99eedb | ||
![]() |
2f4a68c8c3 | ||
![]() |
92f4ffc0dd | ||
![]() |
8a03f1ad02 | ||
![]() |
e0727aba5f | ||
![]() |
14be04a630 | ||
![]() |
0067f78155 | ||
![]() |
3e03d1e38e | ||
![]() |
fe7a67f0e7 | ||
![]() |
db77e2e187 | ||
![]() |
e3c6e3b84d | ||
![]() |
0d9391e282 | ||
![]() |
1e2610e4f4 | ||
![]() |
0095c2e340 | ||
![]() |
c90e63a91d | ||
![]() |
8c0e13ca7a | ||
![]() |
8894ec462a | ||
![]() |
331e830cf6 | ||
![]() |
d68fcbc887 | ||
![]() |
9dbdf6b724 | ||
![]() |
530861b24d | ||
![]() |
11f8b12a9d | ||
![]() |
0163a0b0cd | ||
![]() |
12171e413b | ||
![]() |
99fb79f4cb | ||
![]() |
24d8d40deb | ||
![]() |
97004e6114 | ||
![]() |
8f58ad02fb | ||
![]() |
98af9bb251 | ||
![]() |
7b2eaa76a4 | ||
![]() |
00a5523667 | ||
![]() |
f30cef3046 | ||
![]() |
fba7d8c79c | ||
![]() |
46942c24a3 | ||
![]() |
9846a4d812 | ||
![]() |
da741ead25 | ||
![]() |
31f525d566 | ||
![]() |
92cccf53df | ||
![]() |
4282067e24 | ||
![]() |
85e9784a22 | ||
![]() |
49fea735aa | ||
![]() |
8200995fdb | ||
![]() |
71a62bb18f | ||
![]() |
76abe87090 | ||
![]() |
62775d1913 | ||
![]() |
e24947a460 | ||
![]() |
d387aa428a | ||
![]() |
3faaa9ce14 | ||
![]() |
f19260bfde | ||
![]() |
df94a18791 | ||
![]() |
2e18f6d793 | ||
![]() |
67aab7c138 | ||
![]() |
fa1add2ee6 | ||
![]() |
6267732bec | ||
![]() |
95649fd2bc | ||
![]() |
49780245f4 | ||
![]() |
ff08e19f52 | ||
![]() |
9c77e52ad3 | ||
![]() |
0ae7ef4bc4 | ||
![]() |
556ed7b937 | ||
![]() |
b5a0068091 | ||
![]() |
a3d826c54b | ||
![]() |
72e236106f | ||
![]() |
3e1ca62782 | ||
![]() |
c71f6a18ad | ||
![]() |
f7c1f418ba | ||
![]() |
0210b95109 | ||
![]() |
68ec9ac017 | ||
![]() |
8dcac664fa | ||
![]() |
2fb3db7659 | ||
![]() |
7d82cdeea3 | ||
![]() |
e2e7296612 | ||
![]() |
8685de9607 | ||
![]() |
a8a3c1017f | ||
![]() |
5d19aee23a | ||
![]() |
4270eef16e | ||
![]() |
b443bd42ac | ||
![]() |
267503b5f3 | ||
![]() |
a3d9f987c8 | ||
![]() |
9cfd185316 | ||
![]() |
176117c5f7 | ||
![]() |
8083065579 | ||
![]() |
34f5be726d | ||
![]() |
b53707f8c4 | ||
![]() |
d9294e4eb0 | ||
![]() |
94f8acc8fe | ||
![]() |
4841c1b13e | ||
![]() |
1e00cd290d | ||
![]() |
3daa2d2751 | ||
![]() |
444af437a0 | ||
![]() |
eebcf98284 | ||
![]() |
7d973ac538 | ||
![]() |
0ada04089c | ||
![]() |
85284acb00 | ||
![]() |
388d065699 | ||
![]() |
e191c21e04 | ||
![]() |
5376c31a33 | ||
![]() |
ca5b27baf5 | ||
![]() |
64df627688 | ||
![]() |
a740f50cd7 | ||
![]() |
5fd0f62a62 | ||
![]() |
80d420ff43 | ||
![]() |
407d62943c | ||
![]() |
0ace58d05f | ||
![]() |
d791710197 | ||
![]() |
b30c907ef9 | ||
![]() |
784a774d9c | ||
![]() |
8d3e053059 | ||
![]() |
f4d07caa38 | ||
![]() |
8a6d502e68 | ||
![]() |
b6c2eec487 | ||
![]() |
093aa086af | ||
![]() |
ebafc256a0 | ||
![]() |
aaed7c9a4f | ||
![]() |
fa8930817e | ||
![]() |
e741adb82e | ||
![]() |
deb541ef5a | ||
![]() |
29cc526e2e | ||
![]() |
6a92c6f83f | ||
![]() |
b8340f1355 | ||
![]() |
c7db234c11 | ||
![]() |
db22c13c4f | ||
![]() |
ad864083f9 | ||
![]() |
5f99eeb926 | ||
![]() |
e1513b6b00 | ||
![]() |
0cc3cd62ba | ||
![]() |
0f40541bb2 | ||
![]() |
db604dda89 | ||
![]() |
21ce6f96f1 | ||
![]() |
323a806d35 | ||
![]() |
84ac28cbee | ||
![]() |
2860adcf65 | ||
![]() |
2dbacfa8d6 | ||
![]() |
85e5b160ee | ||
![]() |
9510fbcbac | ||
![]() |
7c06e21e5a | ||
![]() |
1bfa20929b | ||
![]() |
bafc43ca26 | ||
![]() |
d37528f693 | ||
![]() |
37eeda0320 | ||
![]() |
acf70a3561 | ||
![]() |
24aef44baf | ||
![]() |
f7af32a3ea | ||
![]() |
252dd52439 | ||
![]() |
c216397974 | ||
![]() |
841dc09d21 | ||
![]() |
192b7887c3 | ||
![]() |
1fd8fe65c5 | ||
![]() |
a87c447b72 | ||
![]() |
c624fcbb8b | ||
![]() |
b393f3d540 | ||
![]() |
3e3bc3e67f | ||
![]() |
11d5e00003 | ||
![]() |
f0c9c25cf8 | ||
![]() |
7fdaf7721c | ||
![]() |
c403785d36 | ||
![]() |
4fe594bf9c | ||
![]() |
ec451b4674 | ||
![]() |
43eb724b94 | ||
![]() |
3d75b48d50 | ||
![]() |
4d465eac08 | ||
![]() |
db5abbb225 | ||
![]() |
eb0865fe11 | ||
![]() |
e283cd7b91 | ||
![]() |
d99442d6e6 | ||
![]() |
148da24f95 | ||
![]() |
649c26e05a | ||
![]() |
48eaa36d41 | ||
![]() |
6e953e2725 | ||
![]() |
3e357bd36f | ||
![]() |
a3da4b8d5b | ||
![]() |
0f43f86341 | ||
![]() |
d30a78767d | ||
![]() |
5f37369adb | ||
![]() |
c6691afa38 | ||
![]() |
ff5d561ca6 | ||
![]() |
5ac7109aaa | ||
![]() |
7749f4d983 | ||
![]() |
22aea3dc67 | ||
![]() |
3d5784342d | ||
![]() |
fa9e330f2c | ||
![]() |
951219650f | ||
![]() |
49b23c7490 | ||
![]() |
644a618fb1 | ||
![]() |
1e3ac3cf2c | ||
![]() |
658c373580 | ||
![]() |
6d12d2eac2 | ||
![]() |
356cad094b | ||
![]() |
161d2540e6 | ||
![]() |
94f4009882 | ||
![]() |
ec8138773a | ||
![]() |
041be7c565 | ||
![]() |
0407a8b33d | ||
![]() |
912a6f5e3f | ||
![]() |
89162a90aa | ||
![]() |
90a68f3118 | ||
![]() |
951fb03a7c | ||
![]() |
4837ea3434 | ||
![]() |
3fbeeb9072 | ||
![]() |
0ca3526627 | ||
![]() |
5b8c8a4114 | ||
![]() |
f635876eac | ||
![]() |
1caaf0cd1e | ||
![]() |
e2464660bc | ||
![]() |
81c1c70c0a | ||
![]() |
e05cd6009a | ||
![]() |
390314adfb | ||
![]() |
2ac7afe8a9 | ||
![]() |
d5c5669f2a | ||
![]() |
e8171ccdc1 | ||
![]() |
43f9cd537e | ||
![]() |
d4c4d6e64d | ||
![]() |
89727aa747 | ||
![]() |
de5e7a7175 | ||
![]() |
e6b885210c | ||
![]() |
9f1ab1c3af | ||
![]() |
9333a6da75 | ||
![]() |
8adab02757 | ||
![]() |
14d8aec4b8 | ||
![]() |
8e7e1eeef5 | ||
![]() |
0a8ae8417c | ||
![]() |
1d5e37050d | ||
![]() |
b7c3dada81 | ||
![]() |
d79ffd3976 | ||
![]() |
6458139c04 | ||
![]() |
82307dd694 | ||
![]() |
e1c67a1824 | ||
![]() |
68f261e8e2 | ||
![]() |
1530f27513 | ||
![]() |
05899596d1 | ||
![]() |
98d912ba5f | ||
![]() |
9e5ea8def4 | ||
![]() |
722c975aca | ||
![]() |
937a9853cd | ||
![]() |
cd8f4259be | ||
![]() |
c64d5ad8af | ||
![]() |
dacc041d0c | ||
![]() |
18779109de | ||
![]() |
522f9b4c38 | ||
![]() |
3d2b9a3a69 | ||
![]() |
15fa7816bd | ||
![]() |
6621a9b5a0 | ||
![]() |
04e411c2c0 | ||
![]() |
859bea629b | ||
![]() |
cbc783108e | ||
![]() |
2383801f7b | ||
![]() |
8626c69c2f | ||
![]() |
768ec15ea0 | ||
![]() |
1200182d70 | ||
![]() |
d9c18fd5bb | ||
![]() |
54709c16b5 | ||
![]() |
8da95b17f5 | ||
![]() |
d535c1eb6d | ||
![]() |
435b3c4bdb | ||
![]() |
22723ca371 | ||
![]() |
edd3634bb5 | ||
![]() |
1bf2eb95b5 | ||
![]() |
516fb524cb | ||
![]() |
596b30096d | ||
![]() |
7412794c66 | ||
![]() |
ad22b3f098 | ||
![]() |
206634e0ed | ||
![]() |
ea05d2af49 | ||
![]() |
6c7c566c6c | ||
![]() |
b596cf97ee | ||
![]() |
9dcf9782b6 | ||
![]() |
0f519ffb05 | ||
![]() |
42c78bd41f | ||
![]() |
b702c0fa5c | ||
![]() |
c80fd487f1 | ||
![]() |
817c8e568c | ||
![]() |
b7e9388906 | ||
![]() |
b8336633a7 | ||
![]() |
3c538d4a92 | ||
![]() |
2fc978ca9d | ||
![]() |
10dfc67dad | ||
![]() |
9ebcb719a1 | ||
![]() |
2a20df0c50 | ||
![]() |
d3441f7577 | ||
![]() |
65c02e26db | ||
![]() |
50ff9d4c71 | ||
![]() |
a3269dde95 | ||
![]() |
f2dea5d139 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -94,12 +94,15 @@ src/xwayland-keyboard-grab-unstable-v1-protocol.c
|
|||||||
src/xwayland-keyboard-grab-unstable-v1-server-protocol.h
|
src/xwayland-keyboard-grab-unstable-v1-server-protocol.h
|
||||||
src/tablet-unstable-v*-protocol.c
|
src/tablet-unstable-v*-protocol.c
|
||||||
src/tablet-unstable-v*-server-protocol.h
|
src/tablet-unstable-v*-server-protocol.h
|
||||||
|
src/text-input-unstable-v*-protocol.c
|
||||||
|
src/text-input-unstable-v*-server-protocol.h
|
||||||
src/keyboard-shortcuts-inhibit-unstable-v*-protocol.c
|
src/keyboard-shortcuts-inhibit-unstable-v*-protocol.c
|
||||||
src/keyboard-shortcuts-inhibit-unstable-v*-server-protocol.h
|
src/keyboard-shortcuts-inhibit-unstable-v*-server-protocol.h
|
||||||
src/linux-dmabuf-unstable-v*-protocol.c
|
src/linux-dmabuf-unstable-v*-protocol.c
|
||||||
src/linux-dmabuf-unstable-v*-server-protocol.h
|
src/linux-dmabuf-unstable-v*-server-protocol.h
|
||||||
src/xdg-shell-protocol.c
|
src/xdg-shell-protocol.c
|
||||||
src/xdg-shell-server-protocol.h
|
src/xdg-shell-server-protocol.h
|
||||||
|
src/wayland-eglstream-controller-server-protocol.h
|
||||||
src/meta/meta-version.h
|
src/meta/meta-version.h
|
||||||
src/libmutter-*.pc
|
src/libmutter-*.pc
|
||||||
doc/reference/*.args
|
doc/reference/*.args
|
||||||
@@ -128,3 +131,4 @@ ltversion.m4
|
|||||||
lt~obsolete.m4
|
lt~obsolete.m4
|
||||||
.dirstamp
|
.dirstamp
|
||||||
**/tags.*
|
**/tags.*
|
||||||
|
build/
|
||||||
|
45
.gitlab-ci.yml
Normal file
45
.gitlab-ci.yml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
stages:
|
||||||
|
- docker-image
|
||||||
|
- build
|
||||||
|
|
||||||
|
build-mutter:
|
||||||
|
image: registry.gitlab.gnome.org/gnome/mutter/master:v1
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- meson . build -Degl_device=true -Dwayland_eglstream=true
|
||||||
|
- ninja -C build
|
||||||
|
- ninja -C build install
|
||||||
|
|
||||||
|
.docker base:
|
||||||
|
image: 'docker:stable'
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
script:
|
||||||
|
- export IMAGE="${CI_REGISTRY_IMAGE}/${ARCH}/${TAG}"
|
||||||
|
- export REF="${IMAGE}:${CI_COMMIT_SHA}"
|
||||||
|
- export LATEST="${IMAGE}:latest"
|
||||||
|
|
||||||
|
- docker build --pull -t ${REF} ${CONTEXT_DIR}
|
||||||
|
- docker image tag ${REF} ${LATEST}
|
||||||
|
|
||||||
|
# Push the images
|
||||||
|
- |
|
||||||
|
if [ "$CI_COMMIT_REF_NAME" = "master" ]; then
|
||||||
|
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
|
docker push ${REF}
|
||||||
|
docker push ${LATEST}
|
||||||
|
fi
|
||||||
|
|
||||||
|
docker fedora amd64:
|
||||||
|
extends: '.docker base'
|
||||||
|
stage: 'docker-image'
|
||||||
|
variables:
|
||||||
|
# When using dind, it's wise to use the overlayfs driver for
|
||||||
|
# improved performance.
|
||||||
|
DOCKER_DRIVER: 'overlay2'
|
||||||
|
ARCH: 'amd64'
|
||||||
|
TAG: 'fedora'
|
||||||
|
CONTEXT_DIR: '.gitlab-ci/'
|
||||||
|
only:
|
||||||
|
changes:
|
||||||
|
- '.gitlab-ci/Dockerfile'
|
11
.gitlab-ci/Dockerfile
Normal file
11
.gitlab-ci/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
FROM fedora:29
|
||||||
|
|
||||||
|
RUN dnf -y update && dnf -y upgrade && \
|
||||||
|
dnf install -y 'dnf-command(builddep)' && \
|
||||||
|
dnf builddep -y mutter && \
|
||||||
|
|
||||||
|
# Until Fedora catches up with meson build-deps
|
||||||
|
dnf install -y meson xorg-x11-server-Xorg gnome-settings-daemon-devel egl-wayland-devel xorg-x11-server-Xwayland && \
|
||||||
|
|
||||||
|
dnf install -y intltool redhat-rpm-config make && \
|
||||||
|
dnf clean all
|
@@ -1,3 +1,5 @@
|
|||||||
|
pkgdatadir = $(datadir)/mutter-$(LIBMUTTER_API_VERSION)
|
||||||
|
pkglibdir = $(libdir)/mutter-$(LIBMUTTER_API_VERSION)
|
||||||
|
|
||||||
SUBDIRS = cogl clutter data src po doc
|
SUBDIRS = cogl clutter data src po doc
|
||||||
|
|
||||||
|
103
NEWS
103
NEWS
@@ -1,3 +1,106 @@
|
|||||||
|
3.30.1
|
||||||
|
======
|
||||||
|
* Improve trackball detection [Tony; #258]
|
||||||
|
* Fix clipping of scaled surfaces [Jonas; #300]
|
||||||
|
* Improve tracking of monitor switch configuration [Daniel; !213]
|
||||||
|
* Fix parent-relative positioning of constrained windows [Jonas; #332]
|
||||||
|
* Add clutter_input_method_forward_key() method [Carlos; gnome-shell#531]
|
||||||
|
* Various crash fixes [Olivier, Jonas; #194, #336]
|
||||||
|
* Misc. bug fixes [Carlos, Florian, Olivier, Jonas; gnome-shell#540, #294,
|
||||||
|
#221, !229, #30, #331]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Daniel Drake, Olivier Fourdan, Carlos Garnacho, Peter Hutterer,
|
||||||
|
Ting-Wei Lan, Florian Müllner, Tony Novak, Pekka Paalanen, Sam Spilsbury
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Yuras Shumovich [be], Марко Костић [sr], Marek Cernocky [cs]
|
||||||
|
|
||||||
|
3.30.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Fran Dieguez [gl], Balázs Meskó [hu], Rūdolfs Mazurs [lv],
|
||||||
|
Trần Ngọc Quân [vi], Ask Hjorth Larsen [da], gogo [hr]
|
||||||
|
|
||||||
|
3.29.92
|
||||||
|
=======
|
||||||
|
* Avoid crash when a cursor is not found [Sebastian; #254]
|
||||||
|
* Fix screen rotation regression [Jonas; #216]
|
||||||
|
* Handle requests to unmanaged windows gracefully [Jonas; #240]
|
||||||
|
* Move popups together with their parent [Jonas; #274]
|
||||||
|
* Fix non-lowercase letters on virtual key devices [Carlos; gnome-shell#135]
|
||||||
|
* Misc. bug fixes [Iain, Jonas; #223, #192, #279]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Carlos Garnacho, Sebastian Keller, Iain Lane, Robert Mader,
|
||||||
|
Daniel van Vugt
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Gwan-gyeong Mun [ko], Kukuh Syafaat [id], Milo Casagrande [it],
|
||||||
|
Anders Jonsson [sv], Rafael Fontenelle [pt_BR], Marek Cernocky [cs]
|
||||||
|
|
||||||
|
3.29.91
|
||||||
|
=======
|
||||||
|
* Various crash fixes [Olivier, Iain; #255, #223]
|
||||||
|
* Fix lock up with some DRI drivers [Alex; #127]
|
||||||
|
* Send correct button codes from virtual evdev devices [Jonas; !190]
|
||||||
|
* Improve grab-device clock updates on X11 [Jeff; !174]
|
||||||
|
* Fix popups closing immediately on key down [Jonas; !180]
|
||||||
|
* Prevent clients from modifying the shared keymap [Jonas; #784206]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Andrea Azzarone, Piotr Drąg, Olivier Fourdan, Carlos Garnacho,
|
||||||
|
Jan Grulich, Iain Lane, Alex Villacís Lasso, Jeff Smith, Daniel van Vugt
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Matej Urbančič [sl], Mario Blättermann [de], Piotr Drąg [pl],
|
||||||
|
Aurimas Černius [lt], Yi-Jyun Pan [zh_TW], Emin Tufan Çetin [tr],
|
||||||
|
Fabio Tomat [fur], Bruce Cowan [en_GB]
|
||||||
|
|
||||||
|
3.29.90
|
||||||
|
=======
|
||||||
|
* Various crash fixes [Olivier, Jonas, Florian; #189, #70, #194, #15, #130]
|
||||||
|
* Don't expose resolutions that are below the minimum [Andrea; #793223]
|
||||||
|
* Remove support for preference overrides [Florian; #786496]
|
||||||
|
* Misc. bug fixes and cleanups [Daniel, Jonas, Florian; #131, #245, !176]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Andrea Azzarone, Olivier Fourdan, Florian Müllner, Kevin Tamool,
|
||||||
|
Daniel van Vugt
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Daniel Mustieles [es], Claude Paroz [fr]
|
||||||
|
|
||||||
|
3.29.4
|
||||||
|
======
|
||||||
|
* Fix crash with parent-less modal dialogs [Olivier; #174]
|
||||||
|
* Preserve paint volumes where possible to optimize CPU usage [Carlos; #782344]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Olivier Fourdan, Carlos Garnacho, Iain Lane, Bastien Nocera
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Daniel Șerbănescu [ro]
|
||||||
|
|
||||||
|
3.29.3
|
||||||
|
======
|
||||||
|
* Fix Korean Hangul support on wayland [Changwoo; #152]
|
||||||
|
* Improve support for proprietary Nvidia driver [Jonas; #790316]
|
||||||
|
* Only upload HW cursor sprite to the GPU that will display them [Jonas; #77]
|
||||||
|
* Improve EGLstream support [Miguel; #2, #782575]
|
||||||
|
* Remove MetaScreen to prepare for non-mandatary X11 dependency
|
||||||
|
[Armin, Jonas; #759538]
|
||||||
|
* Misc. bug fixes [Olivier, Jonas, Sam; #160, !130, #786929, #788834]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Olivier Fourdan, Carlos Garnacho, Armin Krezović, Corentin Noël,
|
||||||
|
Changwoo Ryu, Sam Spilsbury, Daniel Stone, Marco Trevisan (Treviño),
|
||||||
|
Miguel A. Vico, Daniel van Vugt
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Yi-Jyun Pan [zh_TW], Jordi Mas [ca], Daniel Șerbănescu [ro], Fabio Tomat [fur]
|
||||||
|
|
||||||
3.29.2
|
3.29.2
|
||||||
======
|
======
|
||||||
* Fix size change animations on wayland [Georges; #780292]
|
* Fix size change animations on wayland [Georges; #780292]
|
||||||
|
31
README.md
Normal file
31
README.md
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# Mutter
|
||||||
|
|
||||||
|
Mutter is a Wayland display server and X11 window manager and compositor library.
|
||||||
|
|
||||||
|
When used as a Wayland display server, it runs on top of KMS and libinput. It
|
||||||
|
implements the compositor side of the Wayland core protocol as well as various
|
||||||
|
protocol extensions. It also has functionality related to running X11
|
||||||
|
applications using Xwayland.
|
||||||
|
|
||||||
|
When used on top of Xorg it acts as a X11 window manager and compositing manager.
|
||||||
|
|
||||||
|
It contains functionality related to, among other things, window management,
|
||||||
|
window compositing, focus tracking, workspace management, keybindings and
|
||||||
|
monitor configuration.
|
||||||
|
|
||||||
|
Internally it uses a fork of Cogl, a hardware acceleration abstraction library
|
||||||
|
used to simplify usage of OpenGL pipelines, as well as a fork af Clutter, a
|
||||||
|
scene graph and user interface toolkit.
|
||||||
|
|
||||||
|
Mutter is used by, for example, GNOME Shell, the GNOME core user interface, and
|
||||||
|
by Gala, elementary OS's window manager. It can also be run standalone, using
|
||||||
|
the command "mutter", but just running plain mutter is only intended for
|
||||||
|
debugging purposes.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Mutter is distributed under the terms of the GNU General Public License,
|
||||||
|
version 2 or later. See the [COPYING][license] file for detalis.
|
||||||
|
|
||||||
|
[bug-tracker]: https://gitlab.gnome.org/GNOME/mutter/issues
|
||||||
|
[license]: COPYING
|
1
clutter/.gitignore
vendored
1
clutter/.gitignore
vendored
@@ -23,7 +23,6 @@ clutter-build-config.h.in
|
|||||||
clutter-config.h
|
clutter-config.h
|
||||||
clutter-enum-types.[ch]
|
clutter-enum-types.[ch]
|
||||||
clutter-marshal.[ch]
|
clutter-marshal.[ch]
|
||||||
clutter-version.h
|
|
||||||
gcov-report.txt
|
gcov-report.txt
|
||||||
clutter-json.h
|
clutter-json.h
|
||||||
clutter-lcov.info
|
clutter-lcov.info
|
||||||
|
@@ -2,11 +2,7 @@ NULL =
|
|||||||
|
|
||||||
SUBDIRS = build clutter tests
|
SUBDIRS = build clutter tests
|
||||||
|
|
||||||
if BUILD_EXAMPLES
|
DIST_SUBDIRS = clutter tests build
|
||||||
SUBDIRS += examples
|
|
||||||
endif
|
|
||||||
|
|
||||||
DIST_SUBDIRS = clutter tests examples build
|
|
||||||
|
|
||||||
# XXX - this is a massive hack to make autoreconf honour the ACLOCAL_FLAGS
|
# XXX - this is a massive hack to make autoreconf honour the ACLOCAL_FLAGS
|
||||||
# that jhbuild sets while still retaining build/autotools as the authoritative
|
# that jhbuild sets while still retaining build/autotools as the authoritative
|
||||||
|
@@ -10,17 +10,13 @@ EXTRA_DIST =
|
|||||||
BUILT_SOURCES =
|
BUILT_SOURCES =
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-DCLUTTER_PREFIX=\""$(prefix)"\" \
|
|
||||||
-DCLUTTER_LIBDIR=\""$(libdir)"\" \
|
|
||||||
-DCLUTTER_DATADIR=\""$(datadir)"\" \
|
|
||||||
-DCLUTTER_LOCALEDIR=\""$(localedir)"\" \
|
|
||||||
-DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \
|
-DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \
|
||||||
-DCLUTTER_COMPILATION=1 \
|
-DCLUTTER_COMPILATION=1 \
|
||||||
-DCOGL_DISABLE_DEPRECATION_WARNINGS \
|
-DCOGL_DISABLE_DEPRECATION_WARNINGS \
|
||||||
-DG_LOG_DOMAIN=\"Clutter\" \
|
-DG_LOG_DOMAIN=\"Clutter\" \
|
||||||
|
-fvisibility=hidden \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_srcdir)/clutter \
|
-I$(top_srcdir)/clutter \
|
||||||
-I$(top_srcdir)/clutter/cally \
|
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-I$(top_builddir)/clutter \
|
-I$(top_builddir)/clutter \
|
||||||
-I$(top_srcdir)/../cogl \
|
-I$(top_srcdir)/../cogl \
|
||||||
@@ -28,7 +24,6 @@ AM_CPPFLAGS = \
|
|||||||
-I$(top_builddir)/../cogl/cogl \
|
-I$(top_builddir)/../cogl/cogl \
|
||||||
$(CLUTTER_DEPRECATED_CFLAGS) \
|
$(CLUTTER_DEPRECATED_CFLAGS) \
|
||||||
$(CLUTTER_DEBUG_CFLAGS) \
|
$(CLUTTER_DEBUG_CFLAGS) \
|
||||||
$(CLUTTER_HIDDEN_VISIBILITY_CFLAGS) \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
||||||
@@ -37,7 +32,7 @@ AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
|||||||
INTROSPECTION_GIRS =
|
INTROSPECTION_GIRS =
|
||||||
|
|
||||||
# the base include path for headers
|
# the base include path for headers
|
||||||
clutter_base_includedir = $(includedir)/mutter/clutter-$(LIBMUTTER_API_VERSION)
|
clutter_base_includedir = $(includedir)/mutter-$(LIBMUTTER_API_VERSION)/clutter
|
||||||
clutter_includedir = $(clutter_base_includedir)/clutter
|
clutter_includedir = $(clutter_base_includedir)/clutter
|
||||||
clutter_deprecateddir = $(clutter_base_includedir)/clutter/deprecated
|
clutter_deprecateddir = $(clutter_base_includedir)/clutter/deprecated
|
||||||
|
|
||||||
@@ -355,10 +350,6 @@ built_source_h = \
|
|||||||
DISTCLEANFILES += clutter-config.h
|
DISTCLEANFILES += clutter-config.h
|
||||||
EXTRA_DIST += clutter-config.h.in
|
EXTRA_DIST += clutter-config.h.in
|
||||||
|
|
||||||
# version header
|
|
||||||
DISTCLEANFILES += clutter-version.h
|
|
||||||
EXTRA_DIST += clutter-version.h.in clutter-version.h
|
|
||||||
|
|
||||||
# key symbol update script
|
# key symbol update script
|
||||||
EXTRA_DIST += clutter-keysyms-update.pl
|
EXTRA_DIST += clutter-keysyms-update.pl
|
||||||
|
|
||||||
@@ -498,9 +489,6 @@ backend_source_c_priv += $(evdev_c_priv)
|
|||||||
backend_source_h_priv += $(evdev_h_priv)
|
backend_source_h_priv += $(evdev_h_priv)
|
||||||
backend_source_h += $(evdev_h)
|
backend_source_h += $(evdev_h)
|
||||||
|
|
||||||
clutterevdev_includedir = $(clutter_includedir)/evdev
|
|
||||||
clutterevdev_include_HEADERS = $(evdev_h)
|
|
||||||
|
|
||||||
backend_source_c += evdev/clutter-xkb-utils.c
|
backend_source_c += evdev/clutter-xkb-utils.c
|
||||||
backend_source_h_priv += evdev/clutter-xkb-utils.h
|
backend_source_h_priv += evdev/clutter-xkb-utils.h
|
||||||
|
|
||||||
@@ -520,15 +508,10 @@ backend_source_h += $(wayland_compositor_source_h)
|
|||||||
backend_source_c += \
|
backend_source_c += \
|
||||||
wayland/clutter-wayland-surface.c
|
wayland/clutter-wayland-surface.c
|
||||||
|
|
||||||
wayland_compositor_includedir = $(clutter_includedir)/wayland
|
|
||||||
wayland_compositor_include_HEADERS = $(wayland_compositor_source_h)
|
|
||||||
|
|
||||||
backend_source_h += $(egl_source_h)
|
backend_source_h += $(egl_source_h)
|
||||||
backend_source_c += $(egl_source_c)
|
backend_source_c += $(egl_source_c)
|
||||||
backend_source_h_priv += $(egl_source_h_priv)
|
backend_source_h_priv += $(egl_source_h_priv)
|
||||||
|
|
||||||
clutteregl_includedir = $(clutter_includedir)/egl
|
|
||||||
clutteregl_include_HEADERS = $(egl_source_h)
|
|
||||||
endif # SUPPORT_WAYLAND
|
endif # SUPPORT_WAYLAND
|
||||||
|
|
||||||
# cally
|
# cally
|
||||||
@@ -585,12 +568,12 @@ pkgconfigdir = $(libdir)/pkgconfig
|
|||||||
pkgconfig_DATA = $(pc_files)
|
pkgconfig_DATA = $(pc_files)
|
||||||
DISTCLEANFILES += $(pc_files)
|
DISTCLEANFILES += $(pc_files)
|
||||||
|
|
||||||
clutter_include_HEADERS = $(source_h) clutter.h clutter-version.h clutter-autocleanups.h clutter-mutter.h
|
clutter_include_HEADERS = $(source_h) clutter.h clutter-autocleanups.h clutter-mutter.h
|
||||||
nodist_clutter_include_HEADERS = clutter-config.h $(built_source_h)
|
nodist_clutter_include_HEADERS = clutter-config.h $(built_source_h)
|
||||||
|
|
||||||
clutter_deprecated_HEADERS = $(deprecated_h)
|
clutter_deprecated_HEADERS = $(deprecated_h)
|
||||||
|
|
||||||
mutterlibdir = $(libdir)/mutter
|
mutterlibdir = $(libdir)/mutter-@LIBMUTTER_API_VERSION@
|
||||||
mutterlib_LTLIBRARIES = libmutter-clutter-@LIBMUTTER_API_VERSION@.la
|
mutterlib_LTLIBRARIES = libmutter-clutter-@LIBMUTTER_API_VERSION@.la
|
||||||
|
|
||||||
libmutter_clutter_@LIBMUTTER_API_VERSION@_la_LIBADD = \
|
libmutter_clutter_@LIBMUTTER_API_VERSION@_la_LIBADD = \
|
||||||
|
@@ -67,9 +67,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <clutter/clutter.h>
|
#include <clutter/clutter.h>
|
||||||
|
@@ -126,19 +126,19 @@ struct _CallyActorClass
|
|||||||
gpointer _padding_dummy[32];
|
gpointer _padding_dummy[32];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_actor_get_type (void) G_GNUC_CONST;
|
GType cally_actor_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject* cally_actor_new (ClutterActor *actor);
|
AtkObject* cally_actor_new (ClutterActor *actor);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
guint cally_actor_add_action (CallyActor *cally_actor,
|
guint cally_actor_add_action (CallyActor *cally_actor,
|
||||||
const gchar *action_name,
|
const gchar *action_name,
|
||||||
const gchar *action_description,
|
const gchar *action_description,
|
||||||
const gchar *action_keybinding,
|
const gchar *action_keybinding,
|
||||||
CallyActionFunc action_func);
|
CallyActionFunc action_func);
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
guint cally_actor_add_action_full (CallyActor *cally_actor,
|
guint cally_actor_add_action_full (CallyActor *cally_actor,
|
||||||
const gchar *action_name,
|
const gchar *action_name,
|
||||||
const gchar *action_description,
|
const gchar *action_description,
|
||||||
@@ -147,11 +147,11 @@ guint cally_actor_add_action_full (CallyActor *cally_actor,
|
|||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gboolean cally_actor_remove_action (CallyActor *cally_actor,
|
gboolean cally_actor_remove_action (CallyActor *cally_actor,
|
||||||
gint action_id);
|
gint action_id);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gboolean cally_actor_remove_action_by_name (CallyActor *cally_actor,
|
gboolean cally_actor_remove_action_by_name (CallyActor *cally_actor,
|
||||||
const gchar *action_name);
|
const gchar *action_name);
|
||||||
|
|
||||||
|
@@ -74,9 +74,9 @@ struct _CallyCloneClass
|
|||||||
gpointer _padding_dummy[8];
|
gpointer _padding_dummy[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_clone_get_type (void) G_GNUC_CONST;
|
GType cally_clone_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject *cally_clone_new (ClutterActor *actor);
|
AtkObject *cally_clone_new (ClutterActor *actor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -77,9 +77,9 @@ struct _CallyGroupClass
|
|||||||
gpointer _padding_dummy[8];
|
gpointer _padding_dummy[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_group_get_type (void) G_GNUC_CONST;
|
GType cally_group_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject* cally_group_new (ClutterActor *actor);
|
AtkObject* cally_group_new (ClutterActor *actor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -34,9 +34,9 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gboolean cally_get_cally_initialized (void);
|
gboolean cally_get_cally_initialized (void);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gboolean cally_accessibility_init (void);
|
gboolean cally_accessibility_init (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -74,9 +74,9 @@ struct _CallyRectangleClass
|
|||||||
gpointer _padding_dummy[8];
|
gpointer _padding_dummy[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_rectangle_get_type (void) G_GNUC_CONST;
|
GType cally_rectangle_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject* cally_rectangle_new (ClutterActor *actor);
|
AtkObject* cally_rectangle_new (ClutterActor *actor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -74,9 +74,9 @@ struct _CallyRootClass
|
|||||||
gpointer _padding_dummy[16];
|
gpointer _padding_dummy[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_root_get_type (void) G_GNUC_CONST;
|
GType cally_root_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject *cally_root_new (void);
|
AtkObject *cally_root_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -74,9 +74,9 @@ struct _CallyStageClass
|
|||||||
gpointer _padding_dummy[16];
|
gpointer _padding_dummy[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_stage_get_type (void) G_GNUC_CONST;
|
GType cally_stage_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject *cally_stage_new (ClutterActor *actor);
|
AtkObject *cally_stage_new (ClutterActor *actor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -39,9 +39,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "cally-text.h"
|
#include "cally-text.h"
|
||||||
#include "cally-actor-private.h"
|
#include "cally-actor-private.h"
|
||||||
|
@@ -74,9 +74,9 @@ struct _CallyTextClass
|
|||||||
gpointer _padding_dummy[8];
|
gpointer _padding_dummy[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_text_get_type (void) G_GNUC_CONST;
|
GType cally_text_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject* cally_text_new (ClutterActor *actor);
|
AtkObject* cally_text_new (ClutterActor *actor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -74,9 +74,9 @@ struct _CallyTextureClass
|
|||||||
gpointer _padding_dummy[8];
|
gpointer _padding_dummy[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_texture_get_type (void) G_GNUC_CONST;
|
GType cally_texture_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
AtkObject *cally_texture_new (ClutterActor *actor);
|
AtkObject *cally_texture_new (ClutterActor *actor);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -38,9 +38,7 @@
|
|||||||
* available any accessible object.
|
* available any accessible object.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -144,7 +142,7 @@ cally_util_get_toolkit_name (void)
|
|||||||
static const gchar *
|
static const gchar *
|
||||||
cally_util_get_toolkit_version (void)
|
cally_util_get_toolkit_version (void)
|
||||||
{
|
{
|
||||||
return CLUTTER_VERSION_S;
|
return MUTTER_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
static guint
|
static guint
|
||||||
|
@@ -74,7 +74,7 @@ struct _CallyUtilClass
|
|||||||
gpointer _padding_dummy[8];
|
gpointer _padding_dummy[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType cally_util_get_type (void) G_GNUC_CONST;
|
GType cally_util_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
void _cally_util_override_atk_util (void);
|
void _cally_util_override_atk_util (void);
|
||||||
|
@@ -29,9 +29,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||||
|
|
||||||
|
@@ -41,9 +41,7 @@
|
|||||||
* #ClutterAction is available since Clutter 1.4
|
* #ClutterAction is available since Clutter 1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-action.h"
|
#include "clutter-action.h"
|
||||||
|
|
||||||
|
@@ -78,32 +78,32 @@ struct _ClutterActionClass
|
|||||||
void (* _clutter_action8) (void);
|
void (* _clutter_action8) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_action_get_type (void) G_GNUC_CONST;
|
GType clutter_action_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/* ClutterActor API */
|
/* ClutterActor API */
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_action (ClutterActor *self,
|
void clutter_actor_add_action (ClutterActor *self,
|
||||||
ClutterAction *action);
|
ClutterAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_action_with_name (ClutterActor *self,
|
void clutter_actor_add_action_with_name (ClutterActor *self,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
ClutterAction *action);
|
ClutterAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_action (ClutterActor *self,
|
void clutter_actor_remove_action (ClutterActor *self,
|
||||||
ClutterAction *action);
|
ClutterAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_action_by_name (ClutterActor *self,
|
void clutter_actor_remove_action_by_name (ClutterActor *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterAction *clutter_actor_get_action (ClutterActor *self,
|
ClutterAction *clutter_actor_get_action (ClutterActor *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GList * clutter_actor_get_actions (ClutterActor *self);
|
GList * clutter_actor_get_actions (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_clear_actions (ClutterActor *self);
|
void clutter_actor_clear_actions (ClutterActor *self);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_actions (ClutterActor *self);
|
gboolean clutter_actor_has_actions (ClutterActor *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -1,6 +1,4 @@
|
|||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@@ -41,9 +41,7 @@
|
|||||||
* #ClutterActorMeta is available since Clutter 1.4
|
* #ClutterActorMeta is available since Clutter 1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-actor-meta-private.h"
|
#include "clutter-actor-meta-private.h"
|
||||||
|
|
||||||
|
@@ -97,21 +97,21 @@ struct _ClutterActorMetaClass
|
|||||||
void (* _clutter_meta7) (void);
|
void (* _clutter_meta7) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_actor_meta_get_type (void) G_GNUC_CONST;
|
GType clutter_actor_meta_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_meta_set_name (ClutterActorMeta *meta,
|
void clutter_actor_meta_set_name (ClutterActorMeta *meta,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
const gchar * clutter_actor_meta_get_name (ClutterActorMeta *meta);
|
const gchar * clutter_actor_meta_get_name (ClutterActorMeta *meta);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_meta_set_enabled (ClutterActorMeta *meta,
|
void clutter_actor_meta_set_enabled (ClutterActorMeta *meta,
|
||||||
gboolean is_enabled);
|
gboolean is_enabled);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_meta_get_enabled (ClutterActorMeta *meta);
|
gboolean clutter_actor_meta_get_enabled (ClutterActorMeta *meta);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_meta_get_actor (ClutterActorMeta *meta);
|
ClutterActor * clutter_actor_meta_get_actor (ClutterActorMeta *meta);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -840,6 +840,8 @@ struct _ClutterActorPrivate
|
|||||||
guint needs_compute_expand : 1;
|
guint needs_compute_expand : 1;
|
||||||
guint needs_x_expand : 1;
|
guint needs_x_expand : 1;
|
||||||
guint needs_y_expand : 1;
|
guint needs_y_expand : 1;
|
||||||
|
guint needs_paint_volume_update : 1;
|
||||||
|
guint had_effects_on_last_paint_volume_update : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum
|
enum
|
||||||
@@ -1092,6 +1094,11 @@ static void clutter_actor_set_child_transform_internal (ClutterActor *sel
|
|||||||
static void clutter_actor_realize_internal (ClutterActor *self);
|
static void clutter_actor_realize_internal (ClutterActor *self);
|
||||||
static void clutter_actor_unrealize_internal (ClutterActor *self);
|
static void clutter_actor_unrealize_internal (ClutterActor *self);
|
||||||
|
|
||||||
|
static void clutter_actor_push_in_cloned_branch (ClutterActor *self,
|
||||||
|
gulong count);
|
||||||
|
static void clutter_actor_pop_in_cloned_branch (ClutterActor *self,
|
||||||
|
gulong count);
|
||||||
|
|
||||||
/* Helper macro which translates by the anchor coord, applies the
|
/* Helper macro which translates by the anchor coord, applies the
|
||||||
given transformation and then translates back */
|
given transformation and then translates back */
|
||||||
#define TRANSFORM_ABOUT_ANCHOR_COORD(a,m,c,_transform) G_STMT_START { \
|
#define TRANSFORM_ABOUT_ANCHOR_COORD(a,m,c,_transform) G_STMT_START { \
|
||||||
@@ -1504,6 +1511,8 @@ clutter_actor_real_map (ClutterActor *self)
|
|||||||
|
|
||||||
CLUTTER_ACTOR_SET_FLAGS (self, CLUTTER_ACTOR_MAPPED);
|
CLUTTER_ACTOR_SET_FLAGS (self, CLUTTER_ACTOR_MAPPED);
|
||||||
|
|
||||||
|
self->priv->needs_paint_volume_update = TRUE;
|
||||||
|
|
||||||
stage = _clutter_actor_get_stage_internal (self);
|
stage = _clutter_actor_get_stage_internal (self);
|
||||||
priv->pick_id = _clutter_stage_acquire_pick_id (CLUTTER_STAGE (stage), self);
|
priv->pick_id = _clutter_stage_acquire_pick_id (CLUTTER_STAGE (stage), self);
|
||||||
|
|
||||||
@@ -2737,6 +2746,7 @@ clutter_actor_real_queue_relayout (ClutterActor *self)
|
|||||||
priv->needs_width_request = TRUE;
|
priv->needs_width_request = TRUE;
|
||||||
priv->needs_height_request = TRUE;
|
priv->needs_height_request = TRUE;
|
||||||
priv->needs_allocation = TRUE;
|
priv->needs_allocation = TRUE;
|
||||||
|
priv->needs_paint_volume_update = TRUE;
|
||||||
|
|
||||||
/* reset the cached size requests */
|
/* reset the cached size requests */
|
||||||
memset (priv->width_requests, 0,
|
memset (priv->width_requests, 0,
|
||||||
@@ -4285,6 +4295,9 @@ clutter_actor_remove_child_internal (ClutterActor *self,
|
|||||||
|
|
||||||
self->priv->age += 1;
|
self->priv->age += 1;
|
||||||
|
|
||||||
|
if (self->priv->in_cloned_branch)
|
||||||
|
clutter_actor_pop_in_cloned_branch (child, self->priv->in_cloned_branch);
|
||||||
|
|
||||||
/* if the child that got removed was visible and set to
|
/* if the child that got removed was visible and set to
|
||||||
* expand then we want to reset the parent's state in
|
* expand then we want to reset the parent's state in
|
||||||
* case the child was the only thing that was making it
|
* case the child was the only thing that was making it
|
||||||
@@ -8518,6 +8531,7 @@ clutter_actor_init (ClutterActor *self)
|
|||||||
priv->needs_width_request = TRUE;
|
priv->needs_width_request = TRUE;
|
||||||
priv->needs_height_request = TRUE;
|
priv->needs_height_request = TRUE;
|
||||||
priv->needs_allocation = TRUE;
|
priv->needs_allocation = TRUE;
|
||||||
|
priv->needs_paint_volume_update = TRUE;
|
||||||
|
|
||||||
priv->cached_width_age = 1;
|
priv->cached_width_age = 1;
|
||||||
priv->cached_height_age = 1;
|
priv->cached_height_age = 1;
|
||||||
@@ -9010,7 +9024,7 @@ _clutter_actor_queue_only_relayout (ClutterActor *self)
|
|||||||
priv->needs_allocation)
|
priv->needs_allocation)
|
||||||
return; /* save some cpu cycles */
|
return; /* save some cpu cycles */
|
||||||
|
|
||||||
#if CLUTTER_ENABLE_DEBUG
|
#ifdef CLUTTER_ENABLE_DEBUG
|
||||||
if (!CLUTTER_ACTOR_IS_TOPLEVEL (self) && CLUTTER_ACTOR_IN_RELAYOUT (self))
|
if (!CLUTTER_ACTOR_IS_TOPLEVEL (self) && CLUTTER_ACTOR_IN_RELAYOUT (self))
|
||||||
{
|
{
|
||||||
g_warning ("The actor '%s' is currently inside an allocation "
|
g_warning ("The actor '%s' is currently inside an allocation "
|
||||||
@@ -10084,6 +10098,9 @@ clutter_actor_allocate (ClutterActor *self,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CLUTTER_ACTOR_IS_MAPPED (self))
|
||||||
|
self->priv->needs_paint_volume_update = TRUE;
|
||||||
|
|
||||||
if (!stage_allocation_changed)
|
if (!stage_allocation_changed)
|
||||||
{
|
{
|
||||||
/* If the actor didn't move but needs_allocation is set, we just
|
/* If the actor didn't move but needs_allocation is set, we just
|
||||||
@@ -12902,6 +12919,9 @@ clutter_actor_add_child_internal (ClutterActor *self,
|
|||||||
|
|
||||||
self->priv->age += 1;
|
self->priv->age += 1;
|
||||||
|
|
||||||
|
if (self->priv->in_cloned_branch)
|
||||||
|
clutter_actor_push_in_cloned_branch (child, self->priv->in_cloned_branch);
|
||||||
|
|
||||||
/* if push_internal() has been called then we automatically set
|
/* if push_internal() has been called then we automatically set
|
||||||
* the flag on the actor
|
* the flag on the actor
|
||||||
*/
|
*/
|
||||||
@@ -12972,6 +12992,9 @@ clutter_actor_add_child_internal (ClutterActor *self,
|
|||||||
child->priv->needs_height_request = TRUE;
|
child->priv->needs_height_request = TRUE;
|
||||||
child->priv->needs_allocation = TRUE;
|
child->priv->needs_allocation = TRUE;
|
||||||
|
|
||||||
|
if (CLUTTER_ACTOR_IS_MAPPED (child))
|
||||||
|
child->priv->needs_paint_volume_update = TRUE;
|
||||||
|
|
||||||
/* we only queue a relayout here, because any possible
|
/* we only queue a relayout here, because any possible
|
||||||
* redraw has already been queued either by show() or
|
* redraw has already been queued either by show() or
|
||||||
* by our call to queue_redraw() above
|
* by our call to queue_redraw() above
|
||||||
@@ -17463,7 +17486,7 @@ _clutter_actor_get_paint_volume_real (ClutterActor *self,
|
|||||||
*/
|
*/
|
||||||
effects = _clutter_meta_group_peek_metas (priv->effects);
|
effects = _clutter_meta_group_peek_metas (priv->effects);
|
||||||
for (l = effects;
|
for (l = effects;
|
||||||
l != NULL || (l != NULL && l->data != priv->current_effect);
|
l != NULL && l->data != priv->current_effect;
|
||||||
l = l->next)
|
l = l->next)
|
||||||
{
|
{
|
||||||
if (!_clutter_effect_get_paint_volume (l->data, pv))
|
if (!_clutter_effect_get_paint_volume (l->data, pv))
|
||||||
@@ -17499,6 +17522,32 @@ _clutter_actor_get_paint_volume_real (ClutterActor *self,
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static gboolean
|
||||||
|
_clutter_actor_has_active_paint_volume_override_effects (ClutterActor *self)
|
||||||
|
{
|
||||||
|
const GList *l;
|
||||||
|
|
||||||
|
if (self->priv->effects == NULL)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
/* We just need to all effects current effect to see
|
||||||
|
* if anyone wants to override the paint volume. If so, then
|
||||||
|
* we need to recompute, since the paint volume returned can
|
||||||
|
* change from call to call. */
|
||||||
|
for (l = _clutter_meta_group_peek_metas (self->priv->effects);
|
||||||
|
l != NULL;
|
||||||
|
l = l->next)
|
||||||
|
{
|
||||||
|
ClutterEffect *effect = l->data;
|
||||||
|
|
||||||
|
if (clutter_actor_meta_get_enabled (CLUTTER_ACTOR_META (effect)) &&
|
||||||
|
_clutter_effect_has_custom_paint_volume (effect))
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/* The public clutter_actor_get_paint_volume API returns a const
|
/* The public clutter_actor_get_paint_volume API returns a const
|
||||||
* pointer since we return a pointer directly to the cached
|
* pointer since we return a pointer directly to the cached
|
||||||
* PaintVolume associated with the actor and don't want the user to
|
* PaintVolume associated with the actor and don't want the user to
|
||||||
@@ -17509,16 +17558,37 @@ _clutter_actor_get_paint_volume_real (ClutterActor *self,
|
|||||||
static ClutterPaintVolume *
|
static ClutterPaintVolume *
|
||||||
_clutter_actor_get_paint_volume_mutable (ClutterActor *self)
|
_clutter_actor_get_paint_volume_mutable (ClutterActor *self)
|
||||||
{
|
{
|
||||||
|
gboolean has_paint_volume_override_effects;
|
||||||
ClutterActorPrivate *priv;
|
ClutterActorPrivate *priv;
|
||||||
|
|
||||||
priv = self->priv;
|
priv = self->priv;
|
||||||
|
|
||||||
|
has_paint_volume_override_effects = _clutter_actor_has_active_paint_volume_override_effects (self);
|
||||||
|
|
||||||
if (priv->paint_volume_valid)
|
if (priv->paint_volume_valid)
|
||||||
clutter_paint_volume_free (&priv->paint_volume);
|
{
|
||||||
|
/* If effects are applied, the actor paint volume
|
||||||
|
* needs to be recomputed on each paint, since those
|
||||||
|
* paint volumes could change over the duration of the
|
||||||
|
* effect.
|
||||||
|
*
|
||||||
|
* We also need to update the paint volume if we went
|
||||||
|
* from having effects to not having effects on the last
|
||||||
|
* paint volume update. */
|
||||||
|
if (!priv->needs_paint_volume_update &&
|
||||||
|
priv->current_effect == NULL &&
|
||||||
|
!has_paint_volume_override_effects &&
|
||||||
|
!priv->had_effects_on_last_paint_volume_update)
|
||||||
|
return &priv->paint_volume;
|
||||||
|
clutter_paint_volume_free (&priv->paint_volume);
|
||||||
|
}
|
||||||
|
|
||||||
|
priv->had_effects_on_last_paint_volume_update = has_paint_volume_override_effects;
|
||||||
|
|
||||||
if (_clutter_actor_get_paint_volume_real (self, &priv->paint_volume))
|
if (_clutter_actor_get_paint_volume_real (self, &priv->paint_volume))
|
||||||
{
|
{
|
||||||
priv->paint_volume_valid = TRUE;
|
priv->paint_volume_valid = TRUE;
|
||||||
|
priv->needs_paint_volume_update = FALSE;
|
||||||
return &priv->paint_volume;
|
return &priv->paint_volume;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -20688,29 +20758,31 @@ clutter_actor_get_child_transform (ClutterActor *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clutter_actor_push_in_cloned_branch (ClutterActor *self)
|
clutter_actor_push_in_cloned_branch (ClutterActor *self,
|
||||||
|
gulong count)
|
||||||
{
|
{
|
||||||
ClutterActor *iter;
|
ClutterActor *iter;
|
||||||
|
|
||||||
for (iter = self->priv->first_child;
|
for (iter = self->priv->first_child;
|
||||||
iter != NULL;
|
iter != NULL;
|
||||||
iter = iter->priv->next_sibling)
|
iter = iter->priv->next_sibling)
|
||||||
clutter_actor_push_in_cloned_branch (iter);
|
clutter_actor_push_in_cloned_branch (iter, count);
|
||||||
|
|
||||||
self->priv->in_cloned_branch += 1;
|
self->priv->in_cloned_branch += count;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clutter_actor_pop_in_cloned_branch (ClutterActor *self)
|
clutter_actor_pop_in_cloned_branch (ClutterActor *self,
|
||||||
|
gulong count)
|
||||||
{
|
{
|
||||||
ClutterActor *iter;
|
ClutterActor *iter;
|
||||||
|
|
||||||
self->priv->in_cloned_branch -= 1;
|
self->priv->in_cloned_branch -= count;
|
||||||
|
|
||||||
for (iter = self->priv->first_child;
|
for (iter = self->priv->first_child;
|
||||||
iter != NULL;
|
iter != NULL;
|
||||||
iter = iter->priv->next_sibling)
|
iter = iter->priv->next_sibling)
|
||||||
clutter_actor_pop_in_cloned_branch (iter);
|
clutter_actor_pop_in_cloned_branch (iter, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -20726,7 +20798,7 @@ _clutter_actor_attach_clone (ClutterActor *actor,
|
|||||||
|
|
||||||
g_hash_table_add (priv->clones, clone);
|
g_hash_table_add (priv->clones, clone);
|
||||||
|
|
||||||
clutter_actor_push_in_cloned_branch (actor);
|
clutter_actor_push_in_cloned_branch (actor, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -20741,7 +20813,7 @@ _clutter_actor_detach_clone (ClutterActor *actor,
|
|||||||
g_hash_table_lookup (priv->clones, clone) == NULL)
|
g_hash_table_lookup (priv->clones, clone) == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
clutter_actor_pop_in_cloned_branch (actor);
|
clutter_actor_pop_in_cloned_branch (actor, 1);
|
||||||
|
|
||||||
g_hash_table_remove (priv->clones, clone);
|
g_hash_table_remove (priv->clones, clone);
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@ G_BEGIN_DECLS
|
|||||||
* internal state.
|
* internal state.
|
||||||
*/
|
*/
|
||||||
#define CLUTTER_ACTOR_SET_FLAGS(a,f) \
|
#define CLUTTER_ACTOR_SET_FLAGS(a,f) \
|
||||||
CLUTTER_MACRO_DEPRECATED_IN_1_24 \
|
CLUTTER_MACRO_DEPRECATED \
|
||||||
(((ClutterActor*)(a))->flags |= (f))
|
(((ClutterActor*)(a))->flags |= (f))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -76,23 +76,23 @@ G_BEGIN_DECLS
|
|||||||
* internal state.
|
* internal state.
|
||||||
*/
|
*/
|
||||||
#define CLUTTER_ACTOR_UNSET_FLAGS(a,f) \
|
#define CLUTTER_ACTOR_UNSET_FLAGS(a,f) \
|
||||||
CLUTTER_MACRO_DEPRECATED_IN_1_24 \
|
CLUTTER_MACRO_DEPRECATED \
|
||||||
(((ClutterActor*)(a))->flags &= ~(f))
|
(((ClutterActor*)(a))->flags &= ~(f))
|
||||||
|
|
||||||
#define CLUTTER_ACTOR_IS_MAPPED(a) \
|
#define CLUTTER_ACTOR_IS_MAPPED(a) \
|
||||||
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_is_mapped instead") \
|
CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_is_mapped instead") \
|
||||||
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_MAPPED) != FALSE)
|
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_MAPPED) != FALSE)
|
||||||
|
|
||||||
#define CLUTTER_ACTOR_IS_REALIZED(a) \
|
#define CLUTTER_ACTOR_IS_REALIZED(a) \
|
||||||
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_is_realized instead") \
|
CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_is_realized instead") \
|
||||||
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REALIZED) != FALSE)
|
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REALIZED) != FALSE)
|
||||||
|
|
||||||
#define CLUTTER_ACTOR_IS_VISIBLE(a) \
|
#define CLUTTER_ACTOR_IS_VISIBLE(a) \
|
||||||
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_is_visible instead") \
|
CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_is_visible instead") \
|
||||||
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_VISIBLE) != FALSE)
|
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_VISIBLE) != FALSE)
|
||||||
|
|
||||||
#define CLUTTER_ACTOR_IS_REACTIVE(a) \
|
#define CLUTTER_ACTOR_IS_REACTIVE(a) \
|
||||||
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_get_reactive instead") \
|
CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_get_reactive instead") \
|
||||||
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REACTIVE) != FALSE)
|
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REACTIVE) != FALSE)
|
||||||
|
|
||||||
typedef struct _ClutterActorClass ClutterActorClass;
|
typedef struct _ClutterActorClass ClutterActorClass;
|
||||||
@@ -322,97 +322,97 @@ struct _ClutterActorIter
|
|||||||
gpointer CLUTTER_PRIVATE_FIELD (dummy5);
|
gpointer CLUTTER_PRIVATE_FIELD (dummy5);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GType clutter_actor_get_type (void) G_GNUC_CONST;
|
GType clutter_actor_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_new (void);
|
ClutterActor * clutter_actor_new (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_flags (ClutterActor *self,
|
void clutter_actor_set_flags (ClutterActor *self,
|
||||||
ClutterActorFlags flags);
|
ClutterActorFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_unset_flags (ClutterActor *self,
|
void clutter_actor_unset_flags (ClutterActor *self,
|
||||||
ClutterActorFlags flags);
|
ClutterActorFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterActorFlags clutter_actor_get_flags (ClutterActor *self);
|
ClutterActorFlags clutter_actor_get_flags (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_show (ClutterActor *self);
|
void clutter_actor_show (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_hide (ClutterActor *self);
|
void clutter_actor_hide (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_realize (ClutterActor *self);
|
void clutter_actor_realize (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_unrealize (ClutterActor *self);
|
void clutter_actor_unrealize (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_map (ClutterActor *self);
|
void clutter_actor_map (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_unmap (ClutterActor *self);
|
void clutter_actor_unmap (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_paint (ClutterActor *self);
|
void clutter_actor_paint (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_continue_paint (ClutterActor *self);
|
void clutter_actor_continue_paint (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_queue_redraw (ClutterActor *self);
|
void clutter_actor_queue_redraw (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_queue_redraw_with_clip (ClutterActor *self,
|
void clutter_actor_queue_redraw_with_clip (ClutterActor *self,
|
||||||
const cairo_rectangle_int_t *clip);
|
const cairo_rectangle_int_t *clip);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_queue_relayout (ClutterActor *self);
|
void clutter_actor_queue_relayout (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_destroy (ClutterActor *self);
|
void clutter_actor_destroy (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_name (ClutterActor *self,
|
void clutter_actor_set_name (ClutterActor *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
const gchar * clutter_actor_get_name (ClutterActor *self);
|
const gchar * clutter_actor_get_name (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
AtkObject * clutter_actor_get_accessible (ClutterActor *self);
|
AtkObject * clutter_actor_get_accessible (ClutterActor *self);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_is_visible (ClutterActor *self);
|
gboolean clutter_actor_is_visible (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_is_mapped (ClutterActor *self);
|
gboolean clutter_actor_is_mapped (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_is_realized (ClutterActor *self);
|
gboolean clutter_actor_is_realized (ClutterActor *self);
|
||||||
|
|
||||||
/* Size negotiation */
|
/* Size negotiation */
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_request_mode (ClutterActor *self,
|
void clutter_actor_set_request_mode (ClutterActor *self,
|
||||||
ClutterRequestMode mode);
|
ClutterRequestMode mode);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterRequestMode clutter_actor_get_request_mode (ClutterActor *self);
|
ClutterRequestMode clutter_actor_get_request_mode (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_preferred_width (ClutterActor *self,
|
void clutter_actor_get_preferred_width (ClutterActor *self,
|
||||||
gfloat for_height,
|
gfloat for_height,
|
||||||
gfloat *min_width_p,
|
gfloat *min_width_p,
|
||||||
gfloat *natural_width_p);
|
gfloat *natural_width_p);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_preferred_height (ClutterActor *self,
|
void clutter_actor_get_preferred_height (ClutterActor *self,
|
||||||
gfloat for_width,
|
gfloat for_width,
|
||||||
gfloat *min_height_p,
|
gfloat *min_height_p,
|
||||||
gfloat *natural_height_p);
|
gfloat *natural_height_p);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_preferred_size (ClutterActor *self,
|
void clutter_actor_get_preferred_size (ClutterActor *self,
|
||||||
gfloat *min_width_p,
|
gfloat *min_width_p,
|
||||||
gfloat *min_height_p,
|
gfloat *min_height_p,
|
||||||
gfloat *natural_width_p,
|
gfloat *natural_width_p,
|
||||||
gfloat *natural_height_p);
|
gfloat *natural_height_p);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_allocate (ClutterActor *self,
|
void clutter_actor_allocate (ClutterActor *self,
|
||||||
const ClutterActorBox *box,
|
const ClutterActorBox *box,
|
||||||
ClutterAllocationFlags flags);
|
ClutterAllocationFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_allocate_preferred_size (ClutterActor *self,
|
void clutter_actor_allocate_preferred_size (ClutterActor *self,
|
||||||
ClutterAllocationFlags flags);
|
ClutterAllocationFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_allocate_available_size (ClutterActor *self,
|
void clutter_actor_allocate_available_size (ClutterActor *self,
|
||||||
gfloat x,
|
gfloat x,
|
||||||
gfloat y,
|
gfloat y,
|
||||||
gfloat available_width,
|
gfloat available_width,
|
||||||
gfloat available_height,
|
gfloat available_height,
|
||||||
ClutterAllocationFlags flags);
|
ClutterAllocationFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_allocate_align_fill (ClutterActor *self,
|
void clutter_actor_allocate_align_fill (ClutterActor *self,
|
||||||
const ClutterActorBox *box,
|
const ClutterActorBox *box,
|
||||||
gdouble x_align,
|
gdouble x_align,
|
||||||
@@ -420,448 +420,448 @@ void clutter_actor_allocate_align_fill
|
|||||||
gboolean x_fill,
|
gboolean x_fill,
|
||||||
gboolean y_fill,
|
gboolean y_fill,
|
||||||
ClutterAllocationFlags flags);
|
ClutterAllocationFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_allocation (ClutterActor *self,
|
void clutter_actor_set_allocation (ClutterActor *self,
|
||||||
const ClutterActorBox *box,
|
const ClutterActorBox *box,
|
||||||
ClutterAllocationFlags flags);
|
ClutterAllocationFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_allocation_box (ClutterActor *self,
|
void clutter_actor_get_allocation_box (ClutterActor *self,
|
||||||
ClutterActorBox *box);
|
ClutterActorBox *box);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_allocation_vertices (ClutterActor *self,
|
void clutter_actor_get_allocation_vertices (ClutterActor *self,
|
||||||
ClutterActor *ancestor,
|
ClutterActor *ancestor,
|
||||||
ClutterVertex verts[]);
|
ClutterVertex verts[]);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_allocation (ClutterActor *self);
|
gboolean clutter_actor_has_allocation (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_size (ClutterActor *self,
|
void clutter_actor_set_size (ClutterActor *self,
|
||||||
gfloat width,
|
gfloat width,
|
||||||
gfloat height);
|
gfloat height);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_size (ClutterActor *self,
|
void clutter_actor_get_size (ClutterActor *self,
|
||||||
gfloat *width,
|
gfloat *width,
|
||||||
gfloat *height);
|
gfloat *height);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_position (ClutterActor *self,
|
void clutter_actor_set_position (ClutterActor *self,
|
||||||
gfloat x,
|
gfloat x,
|
||||||
gfloat y);
|
gfloat y);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_position (ClutterActor *self,
|
void clutter_actor_get_position (ClutterActor *self,
|
||||||
gfloat *x,
|
gfloat *x,
|
||||||
gfloat *y);
|
gfloat *y);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_get_fixed_position_set (ClutterActor *self);
|
gboolean clutter_actor_get_fixed_position_set (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_fixed_position_set (ClutterActor *self,
|
void clutter_actor_set_fixed_position_set (ClutterActor *self,
|
||||||
gboolean is_set);
|
gboolean is_set);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_move_by (ClutterActor *self,
|
void clutter_actor_move_by (ClutterActor *self,
|
||||||
gfloat dx,
|
gfloat dx,
|
||||||
gfloat dy);
|
gfloat dy);
|
||||||
|
|
||||||
/* Actor geometry */
|
/* Actor geometry */
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_width (ClutterActor *self);
|
gfloat clutter_actor_get_width (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_height (ClutterActor *self);
|
gfloat clutter_actor_get_height (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_width (ClutterActor *self,
|
void clutter_actor_set_width (ClutterActor *self,
|
||||||
gfloat width);
|
gfloat width);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_height (ClutterActor *self,
|
void clutter_actor_set_height (ClutterActor *self,
|
||||||
gfloat height);
|
gfloat height);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_x (ClutterActor *self);
|
gfloat clutter_actor_get_x (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_y (ClutterActor *self);
|
gfloat clutter_actor_get_y (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_x (ClutterActor *self,
|
void clutter_actor_set_x (ClutterActor *self,
|
||||||
gfloat x);
|
gfloat x);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_y (ClutterActor *self,
|
void clutter_actor_set_y (ClutterActor *self,
|
||||||
gfloat y);
|
gfloat y);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_z_position (ClutterActor *self,
|
void clutter_actor_set_z_position (ClutterActor *self,
|
||||||
gfloat z_position);
|
gfloat z_position);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_z_position (ClutterActor *self);
|
gfloat clutter_actor_get_z_position (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_layout_manager (ClutterActor *self,
|
void clutter_actor_set_layout_manager (ClutterActor *self,
|
||||||
ClutterLayoutManager *manager);
|
ClutterLayoutManager *manager);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self);
|
ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_x_align (ClutterActor *self,
|
void clutter_actor_set_x_align (ClutterActor *self,
|
||||||
ClutterActorAlign x_align);
|
ClutterActorAlign x_align);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self);
|
ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_y_align (ClutterActor *self,
|
void clutter_actor_set_y_align (ClutterActor *self,
|
||||||
ClutterActorAlign y_align);
|
ClutterActorAlign y_align);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self);
|
ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_margin_top (ClutterActor *self,
|
void clutter_actor_set_margin_top (ClutterActor *self,
|
||||||
gfloat margin);
|
gfloat margin);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_margin_top (ClutterActor *self);
|
gfloat clutter_actor_get_margin_top (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_margin_bottom (ClutterActor *self,
|
void clutter_actor_set_margin_bottom (ClutterActor *self,
|
||||||
gfloat margin);
|
gfloat margin);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_margin_bottom (ClutterActor *self);
|
gfloat clutter_actor_get_margin_bottom (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_margin_left (ClutterActor *self,
|
void clutter_actor_set_margin_left (ClutterActor *self,
|
||||||
gfloat margin);
|
gfloat margin);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_margin_left (ClutterActor *self);
|
gfloat clutter_actor_get_margin_left (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_margin_right (ClutterActor *self,
|
void clutter_actor_set_margin_right (ClutterActor *self,
|
||||||
gfloat margin);
|
gfloat margin);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_margin_right (ClutterActor *self);
|
gfloat clutter_actor_get_margin_right (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_margin (ClutterActor *self,
|
void clutter_actor_set_margin (ClutterActor *self,
|
||||||
const ClutterMargin *margin);
|
const ClutterMargin *margin);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_margin (ClutterActor *self,
|
void clutter_actor_get_margin (ClutterActor *self,
|
||||||
ClutterMargin *margin);
|
ClutterMargin *margin);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_x_expand (ClutterActor *self,
|
void clutter_actor_set_x_expand (ClutterActor *self,
|
||||||
gboolean expand);
|
gboolean expand);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_get_x_expand (ClutterActor *self);
|
gboolean clutter_actor_get_x_expand (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_y_expand (ClutterActor *self,
|
void clutter_actor_set_y_expand (ClutterActor *self,
|
||||||
gboolean expand);
|
gboolean expand);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_get_y_expand (ClutterActor *self);
|
gboolean clutter_actor_get_y_expand (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_needs_expand (ClutterActor *self,
|
gboolean clutter_actor_needs_expand (ClutterActor *self,
|
||||||
ClutterOrientation orientation);
|
ClutterOrientation orientation);
|
||||||
|
|
||||||
/* Paint */
|
/* Paint */
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_clip (ClutterActor *self,
|
void clutter_actor_set_clip (ClutterActor *self,
|
||||||
gfloat xoff,
|
gfloat xoff,
|
||||||
gfloat yoff,
|
gfloat yoff,
|
||||||
gfloat width,
|
gfloat width,
|
||||||
gfloat height);
|
gfloat height);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_clip (ClutterActor *self);
|
void clutter_actor_remove_clip (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_clip (ClutterActor *self);
|
gboolean clutter_actor_has_clip (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_clip (ClutterActor *self,
|
void clutter_actor_get_clip (ClutterActor *self,
|
||||||
gfloat *xoff,
|
gfloat *xoff,
|
||||||
gfloat *yoff,
|
gfloat *yoff,
|
||||||
gfloat *width,
|
gfloat *width,
|
||||||
gfloat *height);
|
gfloat *height);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_clip_to_allocation (ClutterActor *self,
|
void clutter_actor_set_clip_to_allocation (ClutterActor *self,
|
||||||
gboolean clip_set);
|
gboolean clip_set);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_get_clip_to_allocation (ClutterActor *self);
|
gboolean clutter_actor_get_clip_to_allocation (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_opacity (ClutterActor *self,
|
void clutter_actor_set_opacity (ClutterActor *self,
|
||||||
guint8 opacity);
|
guint8 opacity);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
guint8 clutter_actor_get_opacity (ClutterActor *self);
|
guint8 clutter_actor_get_opacity (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
guint8 clutter_actor_get_paint_opacity (ClutterActor *self);
|
guint8 clutter_actor_get_paint_opacity (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_get_paint_visibility (ClutterActor *self);
|
gboolean clutter_actor_get_paint_visibility (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_offscreen_redirect (ClutterActor *self,
|
void clutter_actor_set_offscreen_redirect (ClutterActor *self,
|
||||||
ClutterOffscreenRedirect redirect);
|
ClutterOffscreenRedirect redirect);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
ClutterOffscreenRedirect clutter_actor_get_offscreen_redirect (ClutterActor *self);
|
ClutterOffscreenRedirect clutter_actor_get_offscreen_redirect (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_should_pick_paint (ClutterActor *self);
|
gboolean clutter_actor_should_pick_paint (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_is_in_clone_paint (ClutterActor *self);
|
gboolean clutter_actor_is_in_clone_paint (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_get_paint_box (ClutterActor *self,
|
gboolean clutter_actor_get_paint_box (ClutterActor *self,
|
||||||
ClutterActorBox *box);
|
ClutterActorBox *box);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_overlaps (ClutterActor *self);
|
gboolean clutter_actor_has_overlaps (ClutterActor *self);
|
||||||
|
|
||||||
/* Content */
|
/* Content */
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_content (ClutterActor *self,
|
void clutter_actor_set_content (ClutterActor *self,
|
||||||
ClutterContent *content);
|
ClutterContent *content);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterContent * clutter_actor_get_content (ClutterActor *self);
|
ClutterContent * clutter_actor_get_content (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_content_gravity (ClutterActor *self,
|
void clutter_actor_set_content_gravity (ClutterActor *self,
|
||||||
ClutterContentGravity gravity);
|
ClutterContentGravity gravity);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterContentGravity clutter_actor_get_content_gravity (ClutterActor *self);
|
ClutterContentGravity clutter_actor_get_content_gravity (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_content_scaling_filters (ClutterActor *self,
|
void clutter_actor_set_content_scaling_filters (ClutterActor *self,
|
||||||
ClutterScalingFilter min_filter,
|
ClutterScalingFilter min_filter,
|
||||||
ClutterScalingFilter mag_filter);
|
ClutterScalingFilter mag_filter);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_content_scaling_filters (ClutterActor *self,
|
void clutter_actor_get_content_scaling_filters (ClutterActor *self,
|
||||||
ClutterScalingFilter *min_filter,
|
ClutterScalingFilter *min_filter,
|
||||||
ClutterScalingFilter *mag_filter);
|
ClutterScalingFilter *mag_filter);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_content_repeat (ClutterActor *self,
|
void clutter_actor_set_content_repeat (ClutterActor *self,
|
||||||
ClutterContentRepeat repeat);
|
ClutterContentRepeat repeat);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterContentRepeat clutter_actor_get_content_repeat (ClutterActor *self);
|
ClutterContentRepeat clutter_actor_get_content_repeat (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_content_box (ClutterActor *self,
|
void clutter_actor_get_content_box (ClutterActor *self,
|
||||||
ClutterActorBox *box);
|
ClutterActorBox *box);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_background_color (ClutterActor *self,
|
void clutter_actor_set_background_color (ClutterActor *self,
|
||||||
const ClutterColor *color);
|
const ClutterColor *color);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_background_color (ClutterActor *self,
|
void clutter_actor_get_background_color (ClutterActor *self,
|
||||||
ClutterColor *color);
|
ClutterColor *color);
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
const ClutterPaintVolume * clutter_actor_get_paint_volume (ClutterActor *self);
|
const ClutterPaintVolume * clutter_actor_get_paint_volume (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
const ClutterPaintVolume * clutter_actor_get_transformed_paint_volume (ClutterActor *self,
|
const ClutterPaintVolume * clutter_actor_get_transformed_paint_volume (ClutterActor *self,
|
||||||
ClutterActor *relative_to_ancestor);
|
ClutterActor *relative_to_ancestor);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
const ClutterPaintVolume * clutter_actor_get_default_paint_volume (ClutterActor *self);
|
const ClutterPaintVolume * clutter_actor_get_default_paint_volume (ClutterActor *self);
|
||||||
|
|
||||||
/* Events */
|
/* Events */
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_reactive (ClutterActor *actor,
|
void clutter_actor_set_reactive (ClutterActor *actor,
|
||||||
gboolean reactive);
|
gboolean reactive);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_get_reactive (ClutterActor *actor);
|
gboolean clutter_actor_get_reactive (ClutterActor *actor);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_key_focus (ClutterActor *self);
|
gboolean clutter_actor_has_key_focus (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_grab_key_focus (ClutterActor *self);
|
void clutter_actor_grab_key_focus (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_event (ClutterActor *actor,
|
gboolean clutter_actor_event (ClutterActor *actor,
|
||||||
const ClutterEvent *event,
|
const ClutterEvent *event,
|
||||||
gboolean capture);
|
gboolean capture);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_pointer (ClutterActor *self);
|
gboolean clutter_actor_has_pointer (ClutterActor *self);
|
||||||
|
|
||||||
/* Text */
|
/* Text */
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
PangoContext * clutter_actor_get_pango_context (ClutterActor *self);
|
PangoContext * clutter_actor_get_pango_context (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
PangoContext * clutter_actor_create_pango_context (ClutterActor *self);
|
PangoContext * clutter_actor_create_pango_context (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
PangoLayout * clutter_actor_create_pango_layout (ClutterActor *self,
|
PangoLayout * clutter_actor_create_pango_layout (ClutterActor *self,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_text_direction (ClutterActor *self,
|
void clutter_actor_set_text_direction (ClutterActor *self,
|
||||||
ClutterTextDirection text_dir);
|
ClutterTextDirection text_dir);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterTextDirection clutter_actor_get_text_direction (ClutterActor *self);
|
ClutterTextDirection clutter_actor_get_text_direction (ClutterActor *self);
|
||||||
|
|
||||||
/* Actor hierarchy */
|
/* Actor hierarchy */
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_child (ClutterActor *self,
|
void clutter_actor_add_child (ClutterActor *self,
|
||||||
ClutterActor *child);
|
ClutterActor *child);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_insert_child_at_index (ClutterActor *self,
|
void clutter_actor_insert_child_at_index (ClutterActor *self,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
gint index_);
|
gint index_);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_insert_child_above (ClutterActor *self,
|
void clutter_actor_insert_child_above (ClutterActor *self,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
ClutterActor *sibling);
|
ClutterActor *sibling);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_insert_child_below (ClutterActor *self,
|
void clutter_actor_insert_child_below (ClutterActor *self,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
ClutterActor *sibling);
|
ClutterActor *sibling);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_replace_child (ClutterActor *self,
|
void clutter_actor_replace_child (ClutterActor *self,
|
||||||
ClutterActor *old_child,
|
ClutterActor *old_child,
|
||||||
ClutterActor *new_child);
|
ClutterActor *new_child);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_child (ClutterActor *self,
|
void clutter_actor_remove_child (ClutterActor *self,
|
||||||
ClutterActor *child);
|
ClutterActor *child);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_all_children (ClutterActor *self);
|
void clutter_actor_remove_all_children (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_destroy_all_children (ClutterActor *self);
|
void clutter_actor_destroy_all_children (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
GList * clutter_actor_get_children (ClutterActor *self);
|
GList * clutter_actor_get_children (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gint clutter_actor_get_n_children (ClutterActor *self);
|
gint clutter_actor_get_n_children (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_get_child_at_index (ClutterActor *self,
|
ClutterActor * clutter_actor_get_child_at_index (ClutterActor *self,
|
||||||
gint index_);
|
gint index_);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_get_previous_sibling (ClutterActor *self);
|
ClutterActor * clutter_actor_get_previous_sibling (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_get_next_sibling (ClutterActor *self);
|
ClutterActor * clutter_actor_get_next_sibling (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_get_first_child (ClutterActor *self);
|
ClutterActor * clutter_actor_get_first_child (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_get_last_child (ClutterActor *self);
|
ClutterActor * clutter_actor_get_last_child (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_actor_get_parent (ClutterActor *self);
|
ClutterActor * clutter_actor_get_parent (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_contains (ClutterActor *self,
|
gboolean clutter_actor_contains (ClutterActor *self,
|
||||||
ClutterActor *descendant);
|
ClutterActor *descendant);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterActor* clutter_actor_get_stage (ClutterActor *actor);
|
ClutterActor* clutter_actor_get_stage (ClutterActor *actor);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_child_below_sibling (ClutterActor *self,
|
void clutter_actor_set_child_below_sibling (ClutterActor *self,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
ClutterActor *sibling);
|
ClutterActor *sibling);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_child_above_sibling (ClutterActor *self,
|
void clutter_actor_set_child_above_sibling (ClutterActor *self,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
ClutterActor *sibling);
|
ClutterActor *sibling);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_child_at_index (ClutterActor *self,
|
void clutter_actor_set_child_at_index (ClutterActor *self,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
gint index_);
|
gint index_);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_iter_init (ClutterActorIter *iter,
|
void clutter_actor_iter_init (ClutterActorIter *iter,
|
||||||
ClutterActor *root);
|
ClutterActor *root);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_iter_next (ClutterActorIter *iter,
|
gboolean clutter_actor_iter_next (ClutterActorIter *iter,
|
||||||
ClutterActor **child);
|
ClutterActor **child);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_iter_prev (ClutterActorIter *iter,
|
gboolean clutter_actor_iter_prev (ClutterActorIter *iter,
|
||||||
ClutterActor **child);
|
ClutterActor **child);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_iter_remove (ClutterActorIter *iter);
|
void clutter_actor_iter_remove (ClutterActorIter *iter);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_iter_destroy (ClutterActorIter *iter);
|
void clutter_actor_iter_destroy (ClutterActorIter *iter);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_iter_is_valid (const ClutterActorIter *iter);
|
gboolean clutter_actor_iter_is_valid (const ClutterActorIter *iter);
|
||||||
|
|
||||||
/* Transformations */
|
/* Transformations */
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_is_rotated (ClutterActor *self);
|
gboolean clutter_actor_is_rotated (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_is_scaled (ClutterActor *self);
|
gboolean clutter_actor_is_scaled (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_pivot_point (ClutterActor *self,
|
void clutter_actor_set_pivot_point (ClutterActor *self,
|
||||||
gfloat pivot_x,
|
gfloat pivot_x,
|
||||||
gfloat pivot_y);
|
gfloat pivot_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_pivot_point (ClutterActor *self,
|
void clutter_actor_get_pivot_point (ClutterActor *self,
|
||||||
gfloat *pivot_x,
|
gfloat *pivot_x,
|
||||||
gfloat *pivot_y);
|
gfloat *pivot_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_pivot_point_z (ClutterActor *self,
|
void clutter_actor_set_pivot_point_z (ClutterActor *self,
|
||||||
gfloat pivot_z);
|
gfloat pivot_z);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_actor_get_pivot_point_z (ClutterActor *self);
|
gfloat clutter_actor_get_pivot_point_z (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_rotation_angle (ClutterActor *self,
|
void clutter_actor_set_rotation_angle (ClutterActor *self,
|
||||||
ClutterRotateAxis axis,
|
ClutterRotateAxis axis,
|
||||||
gdouble angle);
|
gdouble angle);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gdouble clutter_actor_get_rotation_angle (ClutterActor *self,
|
gdouble clutter_actor_get_rotation_angle (ClutterActor *self,
|
||||||
ClutterRotateAxis axis);
|
ClutterRotateAxis axis);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_scale (ClutterActor *self,
|
void clutter_actor_set_scale (ClutterActor *self,
|
||||||
gdouble scale_x,
|
gdouble scale_x,
|
||||||
gdouble scale_y);
|
gdouble scale_y);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_scale (ClutterActor *self,
|
void clutter_actor_get_scale (ClutterActor *self,
|
||||||
gdouble *scale_x,
|
gdouble *scale_x,
|
||||||
gdouble *scale_y);
|
gdouble *scale_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_scale_z (ClutterActor *self,
|
void clutter_actor_set_scale_z (ClutterActor *self,
|
||||||
gdouble scale_z);
|
gdouble scale_z);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gdouble clutter_actor_get_scale_z (ClutterActor *self);
|
gdouble clutter_actor_get_scale_z (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_translation (ClutterActor *self,
|
void clutter_actor_set_translation (ClutterActor *self,
|
||||||
gfloat translate_x,
|
gfloat translate_x,
|
||||||
gfloat translate_y,
|
gfloat translate_y,
|
||||||
gfloat translate_z);
|
gfloat translate_z);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_translation (ClutterActor *self,
|
void clutter_actor_get_translation (ClutterActor *self,
|
||||||
gfloat *translate_x,
|
gfloat *translate_x,
|
||||||
gfloat *translate_y,
|
gfloat *translate_y,
|
||||||
gfloat *translate_z);
|
gfloat *translate_z);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_transform (ClutterActor *self,
|
void clutter_actor_set_transform (ClutterActor *self,
|
||||||
const ClutterMatrix *transform);
|
const ClutterMatrix *transform);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_transform (ClutterActor *self,
|
void clutter_actor_get_transform (ClutterActor *self,
|
||||||
ClutterMatrix *transform);
|
ClutterMatrix *transform);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_child_transform (ClutterActor *self,
|
void clutter_actor_set_child_transform (ClutterActor *self,
|
||||||
const ClutterMatrix *transform);
|
const ClutterMatrix *transform);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_child_transform (ClutterActor *self,
|
void clutter_actor_get_child_transform (ClutterActor *self,
|
||||||
ClutterMatrix *transform);
|
ClutterMatrix *transform);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_transformed_position (ClutterActor *self,
|
void clutter_actor_get_transformed_position (ClutterActor *self,
|
||||||
gfloat *x,
|
gfloat *x,
|
||||||
gfloat *y);
|
gfloat *y);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_transformed_size (ClutterActor *self,
|
void clutter_actor_get_transformed_size (ClutterActor *self,
|
||||||
gfloat *width,
|
gfloat *width,
|
||||||
gfloat *height);
|
gfloat *height);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_transform_stage_point (ClutterActor *self,
|
gboolean clutter_actor_transform_stage_point (ClutterActor *self,
|
||||||
gfloat x,
|
gfloat x,
|
||||||
gfloat y,
|
gfloat y,
|
||||||
gfloat *x_out,
|
gfloat *x_out,
|
||||||
gfloat *y_out);
|
gfloat *y_out);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
|
void clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
|
||||||
ClutterVertex verts[]);
|
ClutterVertex verts[]);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_apply_transform_to_point (ClutterActor *self,
|
void clutter_actor_apply_transform_to_point (ClutterActor *self,
|
||||||
const ClutterVertex *point,
|
const ClutterVertex *point,
|
||||||
ClutterVertex *vertex);
|
ClutterVertex *vertex);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_apply_relative_transform_to_point (ClutterActor *self,
|
void clutter_actor_apply_relative_transform_to_point (ClutterActor *self,
|
||||||
ClutterActor *ancestor,
|
ClutterActor *ancestor,
|
||||||
const ClutterVertex *point,
|
const ClutterVertex *point,
|
||||||
ClutterVertex *vertex);
|
ClutterVertex *vertex);
|
||||||
|
|
||||||
/* Implicit animations */
|
/* Implicit animations */
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_save_easing_state (ClutterActor *self);
|
void clutter_actor_save_easing_state (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_restore_easing_state (ClutterActor *self);
|
void clutter_actor_restore_easing_state (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_easing_mode (ClutterActor *self,
|
void clutter_actor_set_easing_mode (ClutterActor *self,
|
||||||
ClutterAnimationMode mode);
|
ClutterAnimationMode mode);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterAnimationMode clutter_actor_get_easing_mode (ClutterActor *self);
|
ClutterAnimationMode clutter_actor_get_easing_mode (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_easing_duration (ClutterActor *self,
|
void clutter_actor_set_easing_duration (ClutterActor *self,
|
||||||
guint msecs);
|
guint msecs);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
guint clutter_actor_get_easing_duration (ClutterActor *self);
|
guint clutter_actor_get_easing_duration (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_easing_delay (ClutterActor *self,
|
void clutter_actor_set_easing_delay (ClutterActor *self,
|
||||||
guint msecs);
|
guint msecs);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
guint clutter_actor_get_easing_delay (ClutterActor *self);
|
guint clutter_actor_get_easing_delay (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterTransition * clutter_actor_get_transition (ClutterActor *self,
|
ClutterTransition * clutter_actor_get_transition (ClutterActor *self,
|
||||||
const char *name);
|
const char *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_transition (ClutterActor *self,
|
void clutter_actor_add_transition (ClutterActor *self,
|
||||||
const char *name,
|
const char *name,
|
||||||
ClutterTransition *transition);
|
ClutterTransition *transition);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_transition (ClutterActor *self,
|
void clutter_actor_remove_transition (ClutterActor *self,
|
||||||
const char *name);
|
const char *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_all_transitions (ClutterActor *self);
|
void clutter_actor_remove_all_transitions (ClutterActor *self);
|
||||||
|
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_16
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_mapped_clones (ClutterActor *self);
|
gboolean clutter_actor_has_mapped_clones (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_22
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_set_opacity_override (ClutterActor *self,
|
void clutter_actor_set_opacity_override (ClutterActor *self,
|
||||||
gint opacity);
|
gint opacity);
|
||||||
CLUTTER_AVAILABLE_IN_1_22
|
CLUTTER_EXPORT
|
||||||
gint clutter_actor_get_opacity_override (ClutterActor *self);
|
gint clutter_actor_get_opacity_override (ClutterActor *self);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -883,13 +883,13 @@ gint clutter_actor_get_opacity_override
|
|||||||
typedef ClutterActor * (* ClutterActorCreateChildFunc) (gpointer item,
|
typedef ClutterActor * (* ClutterActorCreateChildFunc) (gpointer item,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_bind_model (ClutterActor *self,
|
void clutter_actor_bind_model (ClutterActor *self,
|
||||||
GListModel *model,
|
GListModel *model,
|
||||||
ClutterActorCreateChildFunc create_child_func,
|
ClutterActorCreateChildFunc create_child_func,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_bind_model_with_properties (ClutterActor *self,
|
void clutter_actor_bind_model_with_properties (ClutterActor *self,
|
||||||
GListModel *model,
|
GListModel *model,
|
||||||
GType child_type,
|
GType child_type,
|
||||||
|
@@ -34,9 +34,7 @@
|
|||||||
* #ClutterAlignConstraint is available since Clutter 1.4
|
* #ClutterAlignConstraint is available since Clutter 1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-align-constraint.h"
|
#include "clutter-align-constraint.h"
|
||||||
|
|
||||||
|
@@ -48,28 +48,28 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterAlignConstraint ClutterAlignConstraint;
|
typedef struct _ClutterAlignConstraint ClutterAlignConstraint;
|
||||||
typedef struct _ClutterAlignConstraintClass ClutterAlignConstraintClass;
|
typedef struct _ClutterAlignConstraintClass ClutterAlignConstraintClass;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_align_constraint_get_type (void) G_GNUC_CONST;
|
GType clutter_align_constraint_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterConstraint *clutter_align_constraint_new (ClutterActor *source,
|
ClutterConstraint *clutter_align_constraint_new (ClutterActor *source,
|
||||||
ClutterAlignAxis axis,
|
ClutterAlignAxis axis,
|
||||||
gfloat factor);
|
gfloat factor);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_align_constraint_set_source (ClutterAlignConstraint *align,
|
void clutter_align_constraint_set_source (ClutterAlignConstraint *align,
|
||||||
ClutterActor *source);
|
ClutterActor *source);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_align_constraint_get_source (ClutterAlignConstraint *align);
|
ClutterActor * clutter_align_constraint_get_source (ClutterAlignConstraint *align);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_align_constraint_set_align_axis (ClutterAlignConstraint *align,
|
void clutter_align_constraint_set_align_axis (ClutterAlignConstraint *align,
|
||||||
ClutterAlignAxis axis);
|
ClutterAlignAxis axis);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterAlignAxis clutter_align_constraint_get_align_axis (ClutterAlignConstraint *align);
|
ClutterAlignAxis clutter_align_constraint_get_align_axis (ClutterAlignConstraint *align);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_align_constraint_set_factor (ClutterAlignConstraint *align,
|
void clutter_align_constraint_set_factor (ClutterAlignConstraint *align,
|
||||||
gfloat factor);
|
gfloat factor);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_align_constraint_get_factor (ClutterAlignConstraint *align);
|
gfloat clutter_align_constraint_get_factor (ClutterAlignConstraint *align);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -45,9 +45,7 @@
|
|||||||
* #ClutterAnimatable is available since Clutter 1.0
|
* #ClutterAnimatable is available since Clutter 1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||||
|
|
||||||
|
@@ -95,21 +95,21 @@ struct _ClutterAnimatableIface
|
|||||||
GValue *value);
|
GValue *value);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
GType clutter_animatable_get_type (void) G_GNUC_CONST;
|
GType clutter_animatable_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
GParamSpec *clutter_animatable_find_property (ClutterAnimatable *animatable,
|
GParamSpec *clutter_animatable_find_property (ClutterAnimatable *animatable,
|
||||||
const gchar *property_name);
|
const gchar *property_name);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_animatable_get_initial_state (ClutterAnimatable *animatable,
|
void clutter_animatable_get_initial_state (ClutterAnimatable *animatable,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
GValue *value);
|
GValue *value);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_animatable_set_final_state (ClutterAnimatable *animatable,
|
void clutter_animatable_set_final_state (ClutterAnimatable *animatable,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const GValue *value);
|
const GValue *value);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_animatable_interpolate_value (ClutterAnimatable *animatable,
|
gboolean clutter_animatable_interpolate_value (ClutterAnimatable *animatable,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
ClutterInterval *interval,
|
ClutterInterval *interval,
|
||||||
|
@@ -135,7 +135,7 @@ gboolean _clutter_backend_translate_event (Clutter
|
|||||||
gpointer native,
|
gpointer native,
|
||||||
ClutterEvent *event);
|
ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_MUTTER
|
CLUTTER_EXPORT
|
||||||
void _clutter_backend_add_event_translator (ClutterBackend *backend,
|
void _clutter_backend_add_event_translator (ClutterBackend *backend,
|
||||||
ClutterEventTranslator *translator);
|
ClutterEventTranslator *translator);
|
||||||
|
|
||||||
@@ -150,7 +150,7 @@ gint32 _clutter_backend_get_units_serial (Clutter
|
|||||||
|
|
||||||
PangoDirection _clutter_backend_get_keymap_direction (ClutterBackend *backend);
|
PangoDirection _clutter_backend_get_keymap_direction (ClutterBackend *backend);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_MUTTER
|
CLUTTER_EXPORT
|
||||||
void _clutter_backend_reset_cogl_framebuffer (ClutterBackend *backend);
|
void _clutter_backend_reset_cogl_framebuffer (ClutterBackend *backend);
|
||||||
|
|
||||||
void clutter_set_allowed_drivers (const char *drivers);
|
void clutter_set_allowed_drivers (const char *drivers);
|
||||||
|
@@ -38,9 +38,7 @@
|
|||||||
* #ClutterBackend is available since Clutter 0.4
|
* #ClutterBackend is available since Clutter 0.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
||||||
|
|
||||||
@@ -53,7 +51,6 @@
|
|||||||
#include "clutter-stage-manager-private.h"
|
#include "clutter-stage-manager-private.h"
|
||||||
#include "clutter-stage-private.h"
|
#include "clutter-stage-private.h"
|
||||||
#include "clutter-stage-window.h"
|
#include "clutter-stage-window.h"
|
||||||
#include "clutter-version.h"
|
|
||||||
#include "clutter-device-manager-private.h"
|
#include "clutter-device-manager-private.h"
|
||||||
|
|
||||||
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
|
||||||
|
@@ -53,34 +53,34 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterBackend ClutterBackend;
|
typedef struct _ClutterBackend ClutterBackend;
|
||||||
typedef struct _ClutterBackendClass ClutterBackendClass;
|
typedef struct _ClutterBackendClass ClutterBackendClass;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GType clutter_backend_get_type (void) G_GNUC_CONST;
|
GType clutter_backend_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterBackend * clutter_get_default_backend (void);
|
ClutterBackend * clutter_get_default_backend (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_16
|
CLUTTER_EXPORT
|
||||||
void clutter_set_windowing_backend (const char *backend_type);
|
void clutter_set_windowing_backend (const char *backend_type);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gdouble clutter_backend_get_resolution (ClutterBackend *backend);
|
gdouble clutter_backend_get_resolution (ClutterBackend *backend);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_backend_set_font_options (ClutterBackend *backend,
|
void clutter_backend_set_font_options (ClutterBackend *backend,
|
||||||
const cairo_font_options_t *options);
|
const cairo_font_options_t *options);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
const cairo_font_options_t * clutter_backend_get_font_options (ClutterBackend *backend);
|
const cairo_font_options_t * clutter_backend_get_font_options (ClutterBackend *backend);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
CoglContext * clutter_backend_get_cogl_context (ClutterBackend *backend);
|
CoglContext * clutter_backend_get_cogl_context (ClutterBackend *backend);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_backend_bell_notify (ClutterBackend *backend);
|
void clutter_backend_bell_notify (ClutterBackend *backend);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_MUTTER
|
CLUTTER_EXPORT
|
||||||
ClutterInputMethod * clutter_backend_get_input_method (ClutterBackend *backend);
|
ClutterInputMethod * clutter_backend_get_input_method (ClutterBackend *backend);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_MUTTER
|
CLUTTER_EXPORT
|
||||||
void clutter_backend_set_input_method (ClutterBackend *backend,
|
void clutter_backend_set_input_method (ClutterBackend *backend,
|
||||||
ClutterInputMethod *method);
|
ClutterInputMethod *method);
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -30,9 +30,7 @@
|
|||||||
* across the whole API.
|
* across the whole API.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-types.h"
|
#include "clutter-types.h"
|
||||||
#include "clutter-private.h"
|
#include "clutter-private.h"
|
||||||
|
@@ -43,9 +43,7 @@
|
|||||||
* #ClutterBinLayout is available since Clutter 1.2
|
* #ClutterBinLayout is available since Clutter 1.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@@ -74,10 +74,10 @@ struct _ClutterBinLayoutClass
|
|||||||
ClutterLayoutManagerClass parent_class;
|
ClutterLayoutManagerClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
GType clutter_bin_layout_get_type (void) G_GNUC_CONST;
|
GType clutter_bin_layout_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterLayoutManager * clutter_bin_layout_new (ClutterBinAlignment x_align,
|
ClutterLayoutManager * clutter_bin_layout_new (ClutterBinAlignment x_align,
|
||||||
ClutterBinAlignment y_align);
|
ClutterBinAlignment y_align);
|
||||||
|
|
||||||
|
@@ -80,9 +80,7 @@
|
|||||||
* #ClutterBindConstraint is available since Clutter 1.4
|
* #ClutterBindConstraint is available since Clutter 1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@@ -48,28 +48,28 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterBindConstraint ClutterBindConstraint;
|
typedef struct _ClutterBindConstraint ClutterBindConstraint;
|
||||||
typedef struct _ClutterBindConstraintClass ClutterBindConstraintClass;
|
typedef struct _ClutterBindConstraintClass ClutterBindConstraintClass;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_bind_constraint_get_type (void) G_GNUC_CONST;
|
GType clutter_bind_constraint_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterConstraint * clutter_bind_constraint_new (ClutterActor *source,
|
ClutterConstraint * clutter_bind_constraint_new (ClutterActor *source,
|
||||||
ClutterBindCoordinate coordinate,
|
ClutterBindCoordinate coordinate,
|
||||||
gfloat offset);
|
gfloat offset);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_bind_constraint_set_source (ClutterBindConstraint *constraint,
|
void clutter_bind_constraint_set_source (ClutterBindConstraint *constraint,
|
||||||
ClutterActor *source);
|
ClutterActor *source);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_bind_constraint_get_source (ClutterBindConstraint *constraint);
|
ClutterActor * clutter_bind_constraint_get_source (ClutterBindConstraint *constraint);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_bind_constraint_set_coordinate (ClutterBindConstraint *constraint,
|
void clutter_bind_constraint_set_coordinate (ClutterBindConstraint *constraint,
|
||||||
ClutterBindCoordinate coordinate);
|
ClutterBindCoordinate coordinate);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterBindCoordinate clutter_bind_constraint_get_coordinate (ClutterBindConstraint *constraint);
|
ClutterBindCoordinate clutter_bind_constraint_get_coordinate (ClutterBindConstraint *constraint);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_bind_constraint_set_offset (ClutterBindConstraint *constraint,
|
void clutter_bind_constraint_set_offset (ClutterBindConstraint *constraint,
|
||||||
gfloat offset);
|
gfloat offset);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_bind_constraint_get_offset (ClutterBindConstraint *constraint);
|
gfloat clutter_bind_constraint_get_offset (ClutterBindConstraint *constraint);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -94,9 +94,7 @@
|
|||||||
* #ClutterBindingPool is available since Clutter 1.0
|
* #ClutterBindingPool is available since Clutter 1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-binding-pool.h"
|
#include "clutter-binding-pool.h"
|
||||||
#include "clutter-debug.h"
|
#include "clutter-debug.h"
|
||||||
|
@@ -71,17 +71,17 @@ typedef gboolean (* ClutterBindingActionFunc) (GObject *gobject,
|
|||||||
ClutterModifierType modifiers,
|
ClutterModifierType modifiers,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
GType clutter_binding_pool_get_type (void) G_GNUC_CONST;
|
GType clutter_binding_pool_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterBindingPool * clutter_binding_pool_new (const gchar *name);
|
ClutterBindingPool * clutter_binding_pool_new (const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterBindingPool * clutter_binding_pool_get_for_class (gpointer klass);
|
ClutterBindingPool * clutter_binding_pool_get_for_class (gpointer klass);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterBindingPool * clutter_binding_pool_find (const gchar *name);
|
ClutterBindingPool * clutter_binding_pool_find (const gchar *name);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_binding_pool_install_action (ClutterBindingPool *pool,
|
void clutter_binding_pool_install_action (ClutterBindingPool *pool,
|
||||||
const gchar *action_name,
|
const gchar *action_name,
|
||||||
guint key_val,
|
guint key_val,
|
||||||
@@ -89,44 +89,44 @@ void clutter_binding_pool_install_action (ClutterBindingPool
|
|||||||
GCallback callback,
|
GCallback callback,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_binding_pool_install_closure (ClutterBindingPool *pool,
|
void clutter_binding_pool_install_closure (ClutterBindingPool *pool,
|
||||||
const gchar *action_name,
|
const gchar *action_name,
|
||||||
guint key_val,
|
guint key_val,
|
||||||
ClutterModifierType modifiers,
|
ClutterModifierType modifiers,
|
||||||
GClosure *closure);
|
GClosure *closure);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_binding_pool_override_action (ClutterBindingPool *pool,
|
void clutter_binding_pool_override_action (ClutterBindingPool *pool,
|
||||||
guint key_val,
|
guint key_val,
|
||||||
ClutterModifierType modifiers,
|
ClutterModifierType modifiers,
|
||||||
GCallback callback,
|
GCallback callback,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_binding_pool_override_closure (ClutterBindingPool *pool,
|
void clutter_binding_pool_override_closure (ClutterBindingPool *pool,
|
||||||
guint key_val,
|
guint key_val,
|
||||||
ClutterModifierType modifiers,
|
ClutterModifierType modifiers,
|
||||||
GClosure *closure);
|
GClosure *closure);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
const gchar * clutter_binding_pool_find_action (ClutterBindingPool *pool,
|
const gchar * clutter_binding_pool_find_action (ClutterBindingPool *pool,
|
||||||
guint key_val,
|
guint key_val,
|
||||||
ClutterModifierType modifiers);
|
ClutterModifierType modifiers);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_binding_pool_remove_action (ClutterBindingPool *pool,
|
void clutter_binding_pool_remove_action (ClutterBindingPool *pool,
|
||||||
guint key_val,
|
guint key_val,
|
||||||
ClutterModifierType modifiers);
|
ClutterModifierType modifiers);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_binding_pool_activate (ClutterBindingPool *pool,
|
gboolean clutter_binding_pool_activate (ClutterBindingPool *pool,
|
||||||
guint key_val,
|
guint key_val,
|
||||||
ClutterModifierType modifiers,
|
ClutterModifierType modifiers,
|
||||||
GObject *gobject);
|
GObject *gobject);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_binding_pool_block_action (ClutterBindingPool *pool,
|
void clutter_binding_pool_block_action (ClutterBindingPool *pool,
|
||||||
const gchar *action_name);
|
const gchar *action_name);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_binding_pool_unblock_action (ClutterBindingPool *pool,
|
void clutter_binding_pool_unblock_action (ClutterBindingPool *pool,
|
||||||
const gchar *action_name);
|
const gchar *action_name);
|
||||||
|
|
||||||
|
@@ -37,9 +37,7 @@
|
|||||||
#define CLUTTER_IS_BLUR_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BLUR_EFFECT))
|
#define CLUTTER_IS_BLUR_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BLUR_EFFECT))
|
||||||
#define CLUTTER_BLUR_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BLUR_EFFECT, ClutterBlurEffectClass))
|
#define CLUTTER_BLUR_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BLUR_EFFECT, ClutterBlurEffectClass))
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
||||||
|
|
||||||
|
@@ -48,10 +48,10 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterBlurEffect ClutterBlurEffect;
|
typedef struct _ClutterBlurEffect ClutterBlurEffect;
|
||||||
typedef struct _ClutterBlurEffectClass ClutterBlurEffectClass;
|
typedef struct _ClutterBlurEffectClass ClutterBlurEffectClass;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_blur_effect_get_type (void) G_GNUC_CONST;
|
GType clutter_blur_effect_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterEffect *clutter_blur_effect_new (void);
|
ClutterEffect *clutter_blur_effect_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -48,9 +48,7 @@
|
|||||||
* #ClutterBoxLayout is available since Clutter 1.2
|
* #ClutterBoxLayout is available since Clutter 1.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@@ -77,41 +77,41 @@ struct _ClutterBoxLayoutClass
|
|||||||
ClutterLayoutManagerClass parent_class;
|
ClutterLayoutManagerClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
GType clutter_box_layout_get_type (void) G_GNUC_CONST;
|
GType clutter_box_layout_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterLayoutManager * clutter_box_layout_new (void);
|
ClutterLayoutManager * clutter_box_layout_new (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_box_layout_set_orientation (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_orientation (ClutterBoxLayout *layout,
|
||||||
ClutterOrientation orientation);
|
ClutterOrientation orientation);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterOrientation clutter_box_layout_get_orientation (ClutterBoxLayout *layout);
|
ClutterOrientation clutter_box_layout_get_orientation (ClutterBoxLayout *layout);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_box_layout_set_spacing (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_spacing (ClutterBoxLayout *layout,
|
||||||
guint spacing);
|
guint spacing);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
guint clutter_box_layout_get_spacing (ClutterBoxLayout *layout);
|
guint clutter_box_layout_get_spacing (ClutterBoxLayout *layout);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_box_layout_set_homogeneous (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_homogeneous (ClutterBoxLayout *layout,
|
||||||
gboolean homogeneous);
|
gboolean homogeneous);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_box_layout_get_homogeneous (ClutterBoxLayout *layout);
|
gboolean clutter_box_layout_get_homogeneous (ClutterBoxLayout *layout);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_box_layout_set_pack_start (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_pack_start (ClutterBoxLayout *layout,
|
||||||
gboolean pack_start);
|
gboolean pack_start);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_box_layout_get_pack_start (ClutterBoxLayout *layout);
|
gboolean clutter_box_layout_get_pack_start (ClutterBoxLayout *layout);
|
||||||
|
|
||||||
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_box_layout_set_orientation)
|
CLUTTER_DEPRECATED_FOR(clutter_box_layout_set_orientation)
|
||||||
void clutter_box_layout_set_vertical (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_vertical (ClutterBoxLayout *layout,
|
||||||
gboolean vertical);
|
gboolean vertical);
|
||||||
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_box_layout_get_orientation)
|
CLUTTER_DEPRECATED_FOR(clutter_box_layout_get_orientation)
|
||||||
gboolean clutter_box_layout_get_vertical (ClutterBoxLayout *layout);
|
gboolean clutter_box_layout_get_vertical (ClutterBoxLayout *layout);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_box_layout_pack (ClutterBoxLayout *layout,
|
void clutter_box_layout_pack (ClutterBoxLayout *layout,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
gboolean expand,
|
gboolean expand,
|
||||||
@@ -119,48 +119,48 @@ void clutter_box_layout_pack (ClutterBoxLayou
|
|||||||
gboolean y_fill,
|
gboolean y_fill,
|
||||||
ClutterBoxAlignment x_align,
|
ClutterBoxAlignment x_align,
|
||||||
ClutterBoxAlignment y_align);
|
ClutterBoxAlignment y_align);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_set_alignment (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_alignment (ClutterBoxLayout *layout,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
ClutterBoxAlignment x_align,
|
ClutterBoxAlignment x_align,
|
||||||
ClutterBoxAlignment y_align);
|
ClutterBoxAlignment y_align);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_get_alignment (ClutterBoxLayout *layout,
|
void clutter_box_layout_get_alignment (ClutterBoxLayout *layout,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
ClutterBoxAlignment *x_align,
|
ClutterBoxAlignment *x_align,
|
||||||
ClutterBoxAlignment *y_align);
|
ClutterBoxAlignment *y_align);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_set_fill (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_fill (ClutterBoxLayout *layout,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
gboolean x_fill,
|
gboolean x_fill,
|
||||||
gboolean y_fill);
|
gboolean y_fill);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_get_fill (ClutterBoxLayout *layout,
|
void clutter_box_layout_get_fill (ClutterBoxLayout *layout,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
gboolean *x_fill,
|
gboolean *x_fill,
|
||||||
gboolean *y_fill);
|
gboolean *y_fill);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_set_expand (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_expand (ClutterBoxLayout *layout,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
gboolean expand);
|
gboolean expand);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
gboolean clutter_box_layout_get_expand (ClutterBoxLayout *layout,
|
gboolean clutter_box_layout_get_expand (ClutterBoxLayout *layout,
|
||||||
ClutterActor *actor);
|
ClutterActor *actor);
|
||||||
|
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_set_use_animations (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_use_animations (ClutterBoxLayout *layout,
|
||||||
gboolean animate);
|
gboolean animate);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
gboolean clutter_box_layout_get_use_animations (ClutterBoxLayout *layout);
|
gboolean clutter_box_layout_get_use_animations (ClutterBoxLayout *layout);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_set_easing_mode (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_easing_mode (ClutterBoxLayout *layout,
|
||||||
gulong mode);
|
gulong mode);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
gulong clutter_box_layout_get_easing_mode (ClutterBoxLayout *layout);
|
gulong clutter_box_layout_get_easing_mode (ClutterBoxLayout *layout);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
void clutter_box_layout_set_easing_duration (ClutterBoxLayout *layout,
|
void clutter_box_layout_set_easing_duration (ClutterBoxLayout *layout,
|
||||||
guint msecs);
|
guint msecs);
|
||||||
CLUTTER_DEPRECATED_IN_1_12
|
CLUTTER_DEPRECATED
|
||||||
guint clutter_box_layout_get_easing_duration (ClutterBoxLayout *layout);
|
guint clutter_box_layout_get_easing_duration (ClutterBoxLayout *layout);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -37,9 +37,7 @@
|
|||||||
#define CLUTTER_IS_BRIGHTNESS_CONTRAST_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BRIGHTNESS_CONTRAST_EFFECT))
|
#define CLUTTER_IS_BRIGHTNESS_CONTRAST_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BRIGHTNESS_CONTRAST_EFFECT))
|
||||||
#define CLUTTER_BRIGHTNESS_CONTRAST_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BRIGHTNESS_CONTRAST_EFFECT, ClutterBrightnessContrastEffectClass))
|
#define CLUTTER_BRIGHTNESS_CONTRAST_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BRIGHTNESS_CONTRAST_EFFECT, ClutterBrightnessContrastEffectClass))
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@@ -49,35 +49,35 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterBrightnessContrastEffect ClutterBrightnessContrastEffect;
|
typedef struct _ClutterBrightnessContrastEffect ClutterBrightnessContrastEffect;
|
||||||
typedef struct _ClutterBrightnessContrastEffectClass ClutterBrightnessContrastEffectClass;
|
typedef struct _ClutterBrightnessContrastEffectClass ClutterBrightnessContrastEffectClass;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
GType clutter_brightness_contrast_effect_get_type (void) G_GNUC_CONST;
|
GType clutter_brightness_contrast_effect_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterEffect * clutter_brightness_contrast_effect_new (void);
|
ClutterEffect * clutter_brightness_contrast_effect_new (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_brightness_contrast_effect_set_brightness_full (ClutterBrightnessContrastEffect *effect,
|
void clutter_brightness_contrast_effect_set_brightness_full (ClutterBrightnessContrastEffect *effect,
|
||||||
float red,
|
float red,
|
||||||
float green,
|
float green,
|
||||||
float blue);
|
float blue);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_brightness_contrast_effect_set_brightness (ClutterBrightnessContrastEffect *effect,
|
void clutter_brightness_contrast_effect_set_brightness (ClutterBrightnessContrastEffect *effect,
|
||||||
float brightness);
|
float brightness);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_brightness_contrast_effect_get_brightness (ClutterBrightnessContrastEffect *effect,
|
void clutter_brightness_contrast_effect_get_brightness (ClutterBrightnessContrastEffect *effect,
|
||||||
float *red,
|
float *red,
|
||||||
float *green,
|
float *green,
|
||||||
float *blue);
|
float *blue);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_brightness_contrast_effect_set_contrast_full (ClutterBrightnessContrastEffect *effect,
|
void clutter_brightness_contrast_effect_set_contrast_full (ClutterBrightnessContrastEffect *effect,
|
||||||
float red,
|
float red,
|
||||||
float green,
|
float green,
|
||||||
float blue);
|
float blue);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_brightness_contrast_effect_set_contrast (ClutterBrightnessContrastEffect *effect,
|
void clutter_brightness_contrast_effect_set_contrast (ClutterBrightnessContrastEffect *effect,
|
||||||
float contrast);
|
float contrast);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_brightness_contrast_effect_get_contrast (ClutterBrightnessContrastEffect *effect,
|
void clutter_brightness_contrast_effect_get_contrast (ClutterBrightnessContrastEffect *effect,
|
||||||
float *red,
|
float *red,
|
||||||
float *green,
|
float *green,
|
||||||
|
14
clutter/clutter/clutter-build-config.h.meson
Normal file
14
clutter/clutter/clutter-build-config.h.meson
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/* Mutter version */
|
||||||
|
#mesondefine MUTTER_VERSION
|
||||||
|
|
||||||
|
/* List of Cogl drivers */
|
||||||
|
#mesondefine CLUTTER_DRIVERS
|
||||||
|
|
||||||
|
/* Have evdev support for input handling */
|
||||||
|
#mesondefine HAVE_EVDEV
|
||||||
|
|
||||||
|
/* Building with libwacom for advanced tablet management */
|
||||||
|
#mesondefine HAVE_LIBWACOM
|
||||||
|
|
||||||
|
/* Supports PangoFt2 */
|
||||||
|
#mesondefine HAVE_PANGO_FT2
|
@@ -27,9 +27,7 @@
|
|||||||
* Clutter provides some utility functions for using Cairo.
|
* Clutter provides some utility functions for using Cairo.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-cairo.h"
|
#include "clutter-cairo.h"
|
||||||
#include "clutter-color.h"
|
#include "clutter-color.h"
|
||||||
|
@@ -50,9 +50,9 @@ G_BEGIN_DECLS
|
|||||||
#define CLUTTER_CAIRO_FORMAT_ARGB32 (COGL_PIXEL_FORMAT_ARGB_8888_PRE)
|
#define CLUTTER_CAIRO_FORMAT_ARGB32 (COGL_PIXEL_FORMAT_ARGB_8888_PRE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_cairo_clear (cairo_t *cr);
|
void clutter_cairo_clear (cairo_t *cr);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_cairo_set_source_color (cairo_t *cr,
|
void clutter_cairo_set_source_color (cairo_t *cr,
|
||||||
const ClutterColor *color);
|
const ClutterColor *color);
|
||||||
|
|
||||||
|
@@ -42,9 +42,7 @@
|
|||||||
* #ClutterCanvas is available since Clutter 1.10.
|
* #ClutterCanvas is available since Clutter 1.10.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cogl/cogl.h>
|
#include <cogl/cogl.h>
|
||||||
#include <cairo-gobject.h>
|
#include <cairo-gobject.h>
|
||||||
|
@@ -85,20 +85,20 @@ struct _ClutterCanvasClass
|
|||||||
gpointer _padding[16];
|
gpointer _padding[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
GType clutter_canvas_get_type (void) G_GNUC_CONST;
|
GType clutter_canvas_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterContent * clutter_canvas_new (void);
|
ClutterContent * clutter_canvas_new (void);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_canvas_set_size (ClutterCanvas *canvas,
|
gboolean clutter_canvas_set_size (ClutterCanvas *canvas,
|
||||||
int width,
|
int width,
|
||||||
int height);
|
int height);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_18
|
CLUTTER_EXPORT
|
||||||
void clutter_canvas_set_scale_factor (ClutterCanvas *canvas,
|
void clutter_canvas_set_scale_factor (ClutterCanvas *canvas,
|
||||||
int scale);
|
int scale);
|
||||||
CLUTTER_AVAILABLE_IN_1_18
|
CLUTTER_EXPORT
|
||||||
int clutter_canvas_get_scale_factor (ClutterCanvas *canvas);
|
int clutter_canvas_get_scale_factor (ClutterCanvas *canvas);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -36,9 +36,8 @@
|
|||||||
*
|
*
|
||||||
* #ClutterChildMeta is available since Clutter 0.8
|
* #ClutterChildMeta is available since Clutter 0.8
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-child-meta.h"
|
#include "clutter-child-meta.h"
|
||||||
#include "clutter-container.h"
|
#include "clutter-container.h"
|
||||||
|
@@ -109,12 +109,12 @@ struct _ClutterChildMetaClass
|
|||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GType clutter_child_meta_get_type (void) G_GNUC_CONST;
|
GType clutter_child_meta_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterContainer * clutter_child_meta_get_container (ClutterChildMeta *data);
|
ClutterContainer * clutter_child_meta_get_container (ClutterChildMeta *data);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_child_meta_get_actor (ClutterChildMeta *data);
|
ClutterActor * clutter_child_meta_get_actor (ClutterChildMeta *data);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -92,9 +92,7 @@
|
|||||||
* #ClutterClickAction is available since Clutter 1.4
|
* #ClutterClickAction is available since Clutter 1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-click-action.h"
|
#include "clutter-click-action.h"
|
||||||
|
|
||||||
|
@@ -97,22 +97,22 @@ struct _ClutterClickActionClass
|
|||||||
void (* _clutter_click_action7) (void);
|
void (* _clutter_click_action7) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_click_action_get_type (void) G_GNUC_CONST;
|
GType clutter_click_action_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterAction * clutter_click_action_new (void);
|
ClutterAction * clutter_click_action_new (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
guint clutter_click_action_get_button (ClutterClickAction *action);
|
guint clutter_click_action_get_button (ClutterClickAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterModifierType clutter_click_action_get_state (ClutterClickAction *action);
|
ClutterModifierType clutter_click_action_get_state (ClutterClickAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_click_action_get_coords (ClutterClickAction *action,
|
void clutter_click_action_get_coords (ClutterClickAction *action,
|
||||||
gfloat *press_x,
|
gfloat *press_x,
|
||||||
gfloat *press_y);
|
gfloat *press_y);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_click_action_release (ClutterClickAction *action);
|
void clutter_click_action_release (ClutterClickAction *action);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -37,9 +37,7 @@
|
|||||||
* #ClutterClone is available since Clutter 1.0
|
* #ClutterClone is available since Clutter 1.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
||||||
#include "clutter-actor-private.h"
|
#include "clutter-actor-private.h"
|
||||||
|
@@ -78,15 +78,15 @@ struct _ClutterCloneClass
|
|||||||
void (*_clutter_actor_clone4) (void);
|
void (*_clutter_actor_clone4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
GType clutter_clone_get_type (void) G_GNUC_CONST;
|
GType clutter_clone_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_clone_new (ClutterActor *source);
|
ClutterActor * clutter_clone_new (ClutterActor *source);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_clone_set_source (ClutterClone *self,
|
void clutter_clone_set_source (ClutterClone *self,
|
||||||
ClutterActor *source);
|
ClutterActor *source);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_clone_get_source (ClutterClone *self);
|
ClutterActor * clutter_clone_get_source (ClutterClone *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -33,9 +33,7 @@
|
|||||||
* The alpha channel is fully opaque at 255 and fully transparent at 0.
|
* The alpha channel is fully opaque at 255 and fully transparent at 0.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@@ -68,76 +68,76 @@ struct _ClutterColor
|
|||||||
*/
|
*/
|
||||||
#define CLUTTER_COLOR_INIT(r,g,b,a) { (r), (g), (b), (a) }
|
#define CLUTTER_COLOR_INIT(r,g,b,a) { (r), (g), (b), (a) }
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GType clutter_color_get_type (void) G_GNUC_CONST;
|
GType clutter_color_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterColor *clutter_color_new (guint8 red,
|
ClutterColor *clutter_color_new (guint8 red,
|
||||||
guint8 green,
|
guint8 green,
|
||||||
guint8 blue,
|
guint8 blue,
|
||||||
guint8 alpha);
|
guint8 alpha);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterColor *clutter_color_alloc (void);
|
ClutterColor *clutter_color_alloc (void);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterColor *clutter_color_init (ClutterColor *color,
|
ClutterColor *clutter_color_init (ClutterColor *color,
|
||||||
guint8 red,
|
guint8 red,
|
||||||
guint8 green,
|
guint8 green,
|
||||||
guint8 blue,
|
guint8 blue,
|
||||||
guint8 alpha);
|
guint8 alpha);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterColor *clutter_color_copy (const ClutterColor *color);
|
ClutterColor *clutter_color_copy (const ClutterColor *color);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_free (ClutterColor *color);
|
void clutter_color_free (ClutterColor *color);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_add (const ClutterColor *a,
|
void clutter_color_add (const ClutterColor *a,
|
||||||
const ClutterColor *b,
|
const ClutterColor *b,
|
||||||
ClutterColor *result);
|
ClutterColor *result);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_subtract (const ClutterColor *a,
|
void clutter_color_subtract (const ClutterColor *a,
|
||||||
const ClutterColor *b,
|
const ClutterColor *b,
|
||||||
ClutterColor *result);
|
ClutterColor *result);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_lighten (const ClutterColor *color,
|
void clutter_color_lighten (const ClutterColor *color,
|
||||||
ClutterColor *result);
|
ClutterColor *result);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_darken (const ClutterColor *color,
|
void clutter_color_darken (const ClutterColor *color,
|
||||||
ClutterColor *result);
|
ClutterColor *result);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_shade (const ClutterColor *color,
|
void clutter_color_shade (const ClutterColor *color,
|
||||||
gdouble factor,
|
gdouble factor,
|
||||||
ClutterColor *result);
|
ClutterColor *result);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gchar * clutter_color_to_string (const ClutterColor *color);
|
gchar * clutter_color_to_string (const ClutterColor *color);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_color_from_string (ClutterColor *color,
|
gboolean clutter_color_from_string (ClutterColor *color,
|
||||||
const gchar *str);
|
const gchar *str);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_to_hls (const ClutterColor *color,
|
void clutter_color_to_hls (const ClutterColor *color,
|
||||||
gfloat *hue,
|
gfloat *hue,
|
||||||
gfloat *luminance,
|
gfloat *luminance,
|
||||||
gfloat *saturation);
|
gfloat *saturation);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_from_hls (ClutterColor *color,
|
void clutter_color_from_hls (ClutterColor *color,
|
||||||
gfloat hue,
|
gfloat hue,
|
||||||
gfloat luminance,
|
gfloat luminance,
|
||||||
gfloat saturation);
|
gfloat saturation);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
guint32 clutter_color_to_pixel (const ClutterColor *color);
|
guint32 clutter_color_to_pixel (const ClutterColor *color);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_color_from_pixel (ClutterColor *color,
|
void clutter_color_from_pixel (ClutterColor *color,
|
||||||
guint32 pixel);
|
guint32 pixel);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
guint clutter_color_hash (gconstpointer v);
|
guint clutter_color_hash (gconstpointer v);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_color_equal (gconstpointer v1,
|
gboolean clutter_color_equal (gconstpointer v1,
|
||||||
gconstpointer v2);
|
gconstpointer v2);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
void clutter_color_interpolate (const ClutterColor *initial,
|
void clutter_color_interpolate (const ClutterColor *initial,
|
||||||
const ClutterColor *final,
|
const ClutterColor *final,
|
||||||
gdouble progress,
|
gdouble progress,
|
||||||
@@ -177,22 +177,22 @@ struct _ClutterParamSpecColor
|
|||||||
ClutterColor *default_value;
|
ClutterColor *default_value;
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
void clutter_value_set_color (GValue *value,
|
void clutter_value_set_color (GValue *value,
|
||||||
const ClutterColor *color);
|
const ClutterColor *color);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
const ClutterColor * clutter_value_get_color (const GValue *value);
|
const ClutterColor * clutter_value_get_color (const GValue *value);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
GType clutter_param_color_get_type (void) G_GNUC_CONST;
|
GType clutter_param_color_get_type (void) G_GNUC_CONST;
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
GParamSpec * clutter_param_spec_color (const gchar *name,
|
GParamSpec * clutter_param_spec_color (const gchar *name,
|
||||||
const gchar *nick,
|
const gchar *nick,
|
||||||
const gchar *blurb,
|
const gchar *blurb,
|
||||||
const ClutterColor *default_value,
|
const ClutterColor *default_value,
|
||||||
GParamFlags flags);
|
GParamFlags flags);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
const ClutterColor *clutter_color_get_static (ClutterStaticColor color);
|
const ClutterColor *clutter_color_get_static (ClutterStaticColor color);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -37,9 +37,7 @@
|
|||||||
#define CLUTTER_IS_COLORIZE_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_COLORIZE_EFFECT))
|
#define CLUTTER_IS_COLORIZE_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_COLORIZE_EFFECT))
|
||||||
#define CLUTTER_COLORIZE_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_COLORIZE_EFFECT, ClutterColorizeEffectClass))
|
#define CLUTTER_COLORIZE_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_COLORIZE_EFFECT, ClutterColorizeEffectClass))
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
||||||
|
|
||||||
|
@@ -49,16 +49,16 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterColorizeEffect ClutterColorizeEffect;
|
typedef struct _ClutterColorizeEffect ClutterColorizeEffect;
|
||||||
typedef struct _ClutterColorizeEffectClass ClutterColorizeEffectClass;
|
typedef struct _ClutterColorizeEffectClass ClutterColorizeEffectClass;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_colorize_effect_get_type (void) G_GNUC_CONST;
|
GType clutter_colorize_effect_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterEffect *clutter_colorize_effect_new (const ClutterColor *tint);
|
ClutterEffect *clutter_colorize_effect_new (const ClutterColor *tint);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_colorize_effect_set_tint (ClutterColorizeEffect *effect,
|
void clutter_colorize_effect_set_tint (ClutterColorizeEffect *effect,
|
||||||
const ClutterColor *tint);
|
const ClutterColor *tint);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_colorize_effect_get_tint (ClutterColorizeEffect *effect,
|
void clutter_colorize_effect_get_tint (ClutterColorizeEffect *effect,
|
||||||
ClutterColor *tint);
|
ClutterColor *tint);
|
||||||
|
|
||||||
|
@@ -128,9 +128,7 @@
|
|||||||
* can be recovered at any point using clutter_actor_meta_get_actor().
|
* can be recovered at any point using clutter_actor_meta_get_actor().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@@ -96,32 +96,32 @@ struct _ClutterConstraintClass
|
|||||||
void (* _clutter_constraint7) (void);
|
void (* _clutter_constraint7) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_constraint_get_type (void) G_GNUC_CONST;
|
GType clutter_constraint_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/* ClutterActor API */
|
/* ClutterActor API */
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_constraint (ClutterActor *self,
|
void clutter_actor_add_constraint (ClutterActor *self,
|
||||||
ClutterConstraint *constraint);
|
ClutterConstraint *constraint);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_constraint_with_name (ClutterActor *self,
|
void clutter_actor_add_constraint_with_name (ClutterActor *self,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
ClutterConstraint *constraint);
|
ClutterConstraint *constraint);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_constraint (ClutterActor *self,
|
void clutter_actor_remove_constraint (ClutterActor *self,
|
||||||
ClutterConstraint *constraint);
|
ClutterConstraint *constraint);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_constraint_by_name (ClutterActor *self,
|
void clutter_actor_remove_constraint_by_name (ClutterActor *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GList * clutter_actor_get_constraints (ClutterActor *self);
|
GList * clutter_actor_get_constraints (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterConstraint *clutter_actor_get_constraint (ClutterActor *self,
|
ClutterConstraint *clutter_actor_get_constraint (ClutterActor *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_clear_constraints (ClutterActor *self);
|
void clutter_actor_clear_constraints (ClutterActor *self);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_constraints (ClutterActor *self);
|
gboolean clutter_actor_has_constraints (ClutterActor *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -26,9 +26,7 @@
|
|||||||
* Author: Emmanuele Bassi <ebassi@openedhand.com>
|
* Author: Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
@@ -141,52 +141,52 @@ struct _ClutterContainerIface
|
|||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GType clutter_container_get_type (void) G_GNUC_CONST;
|
GType clutter_container_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_container_find_child_by_name (ClutterContainer *container,
|
ClutterActor * clutter_container_find_child_by_name (ClutterContainer *container,
|
||||||
const gchar *child_name);
|
const gchar *child_name);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GParamSpec * clutter_container_class_find_child_property (GObjectClass *klass,
|
GParamSpec * clutter_container_class_find_child_property (GObjectClass *klass,
|
||||||
const gchar *property_name);
|
const gchar *property_name);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GParamSpec ** clutter_container_class_list_child_properties (GObjectClass *klass,
|
GParamSpec ** clutter_container_class_list_child_properties (GObjectClass *klass,
|
||||||
guint *n_properties);
|
guint *n_properties);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_container_create_child_meta (ClutterContainer *container,
|
void clutter_container_create_child_meta (ClutterContainer *container,
|
||||||
ClutterActor *actor);
|
ClutterActor *actor);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_container_destroy_child_meta (ClutterContainer *container,
|
void clutter_container_destroy_child_meta (ClutterContainer *container,
|
||||||
ClutterActor *actor);
|
ClutterActor *actor);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterChildMeta * clutter_container_get_child_meta (ClutterContainer *container,
|
ClutterChildMeta * clutter_container_get_child_meta (ClutterContainer *container,
|
||||||
ClutterActor *actor);
|
ClutterActor *actor);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_container_child_set_property (ClutterContainer *container,
|
void clutter_container_child_set_property (ClutterContainer *container,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
const gchar * property,
|
const gchar * property,
|
||||||
const GValue *value);
|
const GValue *value);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_container_child_get_property (ClutterContainer *container,
|
void clutter_container_child_get_property (ClutterContainer *container,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
const gchar *property,
|
const gchar *property,
|
||||||
GValue *value);
|
GValue *value);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_container_child_set (ClutterContainer *container,
|
void clutter_container_child_set (ClutterContainer *container,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
const gchar *first_prop,
|
const gchar *first_prop,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_container_child_get (ClutterContainer *container,
|
void clutter_container_child_get (ClutterContainer *container,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
const gchar *first_prop,
|
const gchar *first_prop,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_container_child_notify (ClutterContainer *container,
|
void clutter_container_child_notify (ClutterContainer *container,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
|
@@ -36,9 +36,7 @@
|
|||||||
* #ClutterContent is available since Clutter 1.10.
|
* #ClutterContent is available since Clutter 1.10.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-content-private.h"
|
#include "clutter-content-private.h"
|
||||||
|
|
||||||
|
@@ -88,14 +88,14 @@ struct _ClutterContentIface
|
|||||||
void (* invalidate) (ClutterContent *content);
|
void (* invalidate) (ClutterContent *content);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
GType clutter_content_get_type (void) G_GNUC_CONST;
|
GType clutter_content_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_content_get_preferred_size (ClutterContent *content,
|
gboolean clutter_content_get_preferred_size (ClutterContent *content,
|
||||||
gfloat *width,
|
gfloat *width,
|
||||||
gfloat *height);
|
gfloat *height);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_content_invalidate (ClutterContent *content);
|
void clutter_content_invalidate (ClutterContent *content);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -51,9 +51,7 @@
|
|||||||
* deformation algorithm.
|
* deformation algorithm.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
||||||
#include "clutter-deform-effect.h"
|
#include "clutter-deform-effect.h"
|
||||||
|
@@ -92,24 +92,24 @@ struct _ClutterDeformEffectClass
|
|||||||
void (*_clutter_deform7) (void);
|
void (*_clutter_deform7) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_deform_effect_get_type (void) G_GNUC_CONST;
|
GType clutter_deform_effect_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_deform_effect_set_back_material (ClutterDeformEffect *effect,
|
void clutter_deform_effect_set_back_material (ClutterDeformEffect *effect,
|
||||||
CoglHandle material);
|
CoglHandle material);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
CoglHandle clutter_deform_effect_get_back_material (ClutterDeformEffect *effect);
|
CoglHandle clutter_deform_effect_get_back_material (ClutterDeformEffect *effect);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_deform_effect_set_n_tiles (ClutterDeformEffect *effect,
|
void clutter_deform_effect_set_n_tiles (ClutterDeformEffect *effect,
|
||||||
guint x_tiles,
|
guint x_tiles,
|
||||||
guint y_tiles);
|
guint y_tiles);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_deform_effect_get_n_tiles (ClutterDeformEffect *effect,
|
void clutter_deform_effect_get_n_tiles (ClutterDeformEffect *effect,
|
||||||
guint *x_tiles,
|
guint *x_tiles,
|
||||||
guint *y_tiles);
|
guint *y_tiles);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_deform_effect_invalidate (ClutterDeformEffect *effect);
|
void clutter_deform_effect_invalidate (ClutterDeformEffect *effect);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -39,9 +39,7 @@
|
|||||||
#define CLUTTER_IS_DESATURATE_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_DESATURATE_EFFECT))
|
#define CLUTTER_IS_DESATURATE_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_DESATURATE_EFFECT))
|
||||||
#define CLUTTER_DESATURATE_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_DESATURATE_EFFECT, ClutterDesaturateEffectClass))
|
#define CLUTTER_DESATURATE_EFFECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_DESATURATE_EFFECT, ClutterDesaturateEffectClass))
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
#define CLUTTER_ENABLE_EXPERIMENTAL_API
|
||||||
|
|
||||||
|
@@ -48,16 +48,16 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterDesaturateEffect ClutterDesaturateEffect;
|
typedef struct _ClutterDesaturateEffect ClutterDesaturateEffect;
|
||||||
typedef struct _ClutterDesaturateEffectClass ClutterDesaturateEffectClass;
|
typedef struct _ClutterDesaturateEffectClass ClutterDesaturateEffectClass;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_desaturate_effect_get_type (void) G_GNUC_CONST;
|
GType clutter_desaturate_effect_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterEffect *clutter_desaturate_effect_new (gdouble factor);
|
ClutterEffect *clutter_desaturate_effect_new (gdouble factor);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_desaturate_effect_set_factor (ClutterDesaturateEffect *effect,
|
void clutter_desaturate_effect_set_factor (ClutterDesaturateEffect *effect,
|
||||||
gdouble factor);
|
gdouble factor);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
gdouble clutter_desaturate_effect_get_factor (ClutterDesaturateEffect *effect);
|
gdouble clutter_desaturate_effect_get_factor (ClutterDesaturateEffect *effect);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -36,9 +36,7 @@
|
|||||||
* #ClutterDeviceManager is available since Clutter 1.2
|
* #ClutterDeviceManager is available since Clutter 1.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-backend-private.h"
|
#include "clutter-backend-private.h"
|
||||||
#include "clutter-debug.h"
|
#include "clutter-debug.h"
|
||||||
|
@@ -125,34 +125,34 @@ struct _ClutterDeviceManagerClass
|
|||||||
gpointer _padding[6];
|
gpointer _padding[6];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
GType clutter_device_manager_get_type (void) G_GNUC_CONST;
|
GType clutter_device_manager_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterDeviceManager *clutter_device_manager_get_default (void);
|
ClutterDeviceManager *clutter_device_manager_get_default (void);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
GSList * clutter_device_manager_list_devices (ClutterDeviceManager *device_manager);
|
GSList * clutter_device_manager_list_devices (ClutterDeviceManager *device_manager);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
const GSList * clutter_device_manager_peek_devices (ClutterDeviceManager *device_manager);
|
const GSList * clutter_device_manager_peek_devices (ClutterDeviceManager *device_manager);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterInputDevice * clutter_device_manager_get_device (ClutterDeviceManager *device_manager,
|
ClutterInputDevice * clutter_device_manager_get_device (ClutterDeviceManager *device_manager,
|
||||||
gint device_id);
|
gint device_id);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterInputDevice * clutter_device_manager_get_core_device (ClutterDeviceManager *device_manager,
|
ClutterInputDevice * clutter_device_manager_get_core_device (ClutterDeviceManager *device_manager,
|
||||||
ClutterInputDeviceType device_type);
|
ClutterInputDeviceType device_type);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterVirtualInputDevice *clutter_device_manager_create_virtual_device (ClutterDeviceManager *device_manager,
|
ClutterVirtualInputDevice *clutter_device_manager_create_virtual_device (ClutterDeviceManager *device_manager,
|
||||||
ClutterInputDeviceType device_type);
|
ClutterInputDeviceType device_type);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterVirtualDeviceType clutter_device_manager_get_supported_virtual_device_types (ClutterDeviceManager *device_manager);
|
ClutterVirtualDeviceType clutter_device_manager_get_supported_virtual_device_types (ClutterDeviceManager *device_manager);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_device_manager_set_kbd_a11y_settings (ClutterDeviceManager *device_manager,
|
void clutter_device_manager_set_kbd_a11y_settings (ClutterDeviceManager *device_manager,
|
||||||
ClutterKbdA11ySettings *settings);
|
ClutterKbdA11ySettings *settings);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_device_manager_get_kbd_a11y_settings (ClutterDeviceManager *device_manager,
|
void clutter_device_manager_get_kbd_a11y_settings (ClutterDeviceManager *device_manager,
|
||||||
ClutterKbdA11ySettings *settings);
|
ClutterKbdA11ySettings *settings);
|
||||||
|
|
||||||
|
@@ -63,9 +63,7 @@
|
|||||||
* #ClutterDragAction is available since Clutter 1.4
|
* #ClutterDragAction is available since Clutter 1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-drag-action.h"
|
#include "clutter-drag-action.h"
|
||||||
|
|
||||||
|
@@ -105,45 +105,45 @@ struct _ClutterDragActionClass
|
|||||||
void (* _clutter_drag_action4) (void);
|
void (* _clutter_drag_action4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_drag_action_get_type (void) G_GNUC_CONST;
|
GType clutter_drag_action_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterAction * clutter_drag_action_new (void);
|
ClutterAction * clutter_drag_action_new (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_drag_action_set_drag_threshold (ClutterDragAction *action,
|
void clutter_drag_action_set_drag_threshold (ClutterDragAction *action,
|
||||||
gint x_threshold,
|
gint x_threshold,
|
||||||
gint y_threshold);
|
gint y_threshold);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_drag_action_get_drag_threshold (ClutterDragAction *action,
|
void clutter_drag_action_get_drag_threshold (ClutterDragAction *action,
|
||||||
guint *x_threshold,
|
guint *x_threshold,
|
||||||
guint *y_threshold);
|
guint *y_threshold);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_drag_action_set_drag_handle (ClutterDragAction *action,
|
void clutter_drag_action_set_drag_handle (ClutterDragAction *action,
|
||||||
ClutterActor *handle);
|
ClutterActor *handle);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_drag_action_get_drag_handle (ClutterDragAction *action);
|
ClutterActor * clutter_drag_action_get_drag_handle (ClutterDragAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_drag_action_set_drag_axis (ClutterDragAction *action,
|
void clutter_drag_action_set_drag_axis (ClutterDragAction *action,
|
||||||
ClutterDragAxis axis);
|
ClutterDragAxis axis);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterDragAxis clutter_drag_action_get_drag_axis (ClutterDragAction *action);
|
ClutterDragAxis clutter_drag_action_get_drag_axis (ClutterDragAction *action);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_drag_action_get_press_coords (ClutterDragAction *action,
|
void clutter_drag_action_get_press_coords (ClutterDragAction *action,
|
||||||
gfloat *press_x,
|
gfloat *press_x,
|
||||||
gfloat *press_y);
|
gfloat *press_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_drag_action_get_motion_coords (ClutterDragAction *action,
|
void clutter_drag_action_get_motion_coords (ClutterDragAction *action,
|
||||||
gfloat *motion_x,
|
gfloat *motion_x,
|
||||||
gfloat *motion_y);
|
gfloat *motion_y);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_drag_action_get_drag_area (ClutterDragAction *action,
|
gboolean clutter_drag_action_get_drag_area (ClutterDragAction *action,
|
||||||
ClutterRect *drag_area);
|
ClutterRect *drag_area);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_drag_action_set_drag_area (ClutterDragAction *action,
|
void clutter_drag_action_set_drag_area (ClutterDragAction *action,
|
||||||
const ClutterRect *drag_area);
|
const ClutterRect *drag_area);
|
||||||
|
|
||||||
|
@@ -58,9 +58,7 @@
|
|||||||
* #ClutterDropAction is available since Clutter 1.8
|
* #ClutterDropAction is available since Clutter 1.8
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-drop-action.h"
|
#include "clutter-drop-action.h"
|
||||||
|
|
||||||
|
@@ -104,10 +104,10 @@ struct _ClutterDropActionClass
|
|||||||
void (*_clutter_drop_action8) (void);
|
void (*_clutter_drop_action8) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
GType clutter_drop_action_get_type (void) G_GNUC_CONST;
|
GType clutter_drop_action_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
ClutterAction * clutter_drop_action_new (void);
|
ClutterAction * clutter_drop_action_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -9,6 +9,7 @@ gboolean _clutter_effect_pre_paint (ClutterEffect
|
|||||||
void _clutter_effect_post_paint (ClutterEffect *effect);
|
void _clutter_effect_post_paint (ClutterEffect *effect);
|
||||||
gboolean _clutter_effect_get_paint_volume (ClutterEffect *effect,
|
gboolean _clutter_effect_get_paint_volume (ClutterEffect *effect,
|
||||||
ClutterPaintVolume *volume);
|
ClutterPaintVolume *volume);
|
||||||
|
gboolean _clutter_effect_has_custom_paint_volume (ClutterEffect *effect);
|
||||||
void _clutter_effect_paint (ClutterEffect *effect,
|
void _clutter_effect_paint (ClutterEffect *effect,
|
||||||
ClutterEffectPaintFlags flags);
|
ClutterEffectPaintFlags flags);
|
||||||
void _clutter_effect_pick (ClutterEffect *effect,
|
void _clutter_effect_pick (ClutterEffect *effect,
|
||||||
|
@@ -160,9 +160,7 @@
|
|||||||
* #ClutterEffect is available since Clutter 1.4
|
* #ClutterEffect is available since Clutter 1.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-effect.h"
|
#include "clutter-effect.h"
|
||||||
|
|
||||||
@@ -308,6 +306,14 @@ _clutter_effect_get_paint_volume (ClutterEffect *effect,
|
|||||||
return CLUTTER_EFFECT_GET_CLASS (effect)->get_paint_volume (effect, volume);
|
return CLUTTER_EFFECT_GET_CLASS (effect)->get_paint_volume (effect, volume);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gboolean
|
||||||
|
_clutter_effect_has_custom_paint_volume (ClutterEffect *effect)
|
||||||
|
{
|
||||||
|
g_return_val_if_fail (CLUTTER_IS_EFFECT (effect), FALSE);
|
||||||
|
|
||||||
|
return CLUTTER_EFFECT_GET_CLASS (effect)->get_paint_volume != clutter_effect_real_get_paint_volume;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_effect_queue_repaint:
|
* clutter_effect_queue_repaint:
|
||||||
* @effect: A #ClutterEffect which needs redrawing
|
* @effect: A #ClutterEffect which needs redrawing
|
||||||
|
@@ -91,38 +91,38 @@ struct _ClutterEffectClass
|
|||||||
void (* _clutter_effect6) (void);
|
void (* _clutter_effect6) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GType clutter_effect_get_type (void) G_GNUC_CONST;
|
GType clutter_effect_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_effect_queue_repaint (ClutterEffect *effect);
|
void clutter_effect_queue_repaint (ClutterEffect *effect);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ClutterActor API
|
* ClutterActor API
|
||||||
*/
|
*/
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_effect (ClutterActor *self,
|
void clutter_actor_add_effect (ClutterActor *self,
|
||||||
ClutterEffect *effect);
|
ClutterEffect *effect);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_add_effect_with_name (ClutterActor *self,
|
void clutter_actor_add_effect_with_name (ClutterActor *self,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
ClutterEffect *effect);
|
ClutterEffect *effect);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_effect (ClutterActor *self,
|
void clutter_actor_remove_effect (ClutterActor *self,
|
||||||
ClutterEffect *effect);
|
ClutterEffect *effect);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_remove_effect_by_name (ClutterActor *self,
|
void clutter_actor_remove_effect_by_name (ClutterActor *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
GList * clutter_actor_get_effects (ClutterActor *self);
|
GList * clutter_actor_get_effects (ClutterActor *self);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
ClutterEffect *clutter_actor_get_effect (ClutterActor *self,
|
ClutterEffect *clutter_actor_get_effect (ClutterActor *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
CLUTTER_AVAILABLE_IN_1_4
|
CLUTTER_EXPORT
|
||||||
void clutter_actor_clear_effects (ClutterActor *self);
|
void clutter_actor_clear_effects (ClutterActor *self);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_actor_has_effects (ClutterActor *self);
|
gboolean clutter_actor_has_effects (ClutterActor *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -17,7 +17,7 @@ G_BEGIN_DECLS
|
|||||||
/*** END file-production ***/
|
/*** END file-production ***/
|
||||||
|
|
||||||
/*** BEGIN value-header ***/
|
/*** BEGIN value-header ***/
|
||||||
CLUTTER_AVAILABLE_IN_ALL GType @enum_name@_get_type (void) G_GNUC_CONST;
|
CLUTTER_EXPORT GType @enum_name@_get_type (void) G_GNUC_CONST;
|
||||||
#define CLUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
|
#define CLUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
|
||||||
|
|
||||||
/*** END value-header ***/
|
/*** END value-header ***/
|
||||||
|
@@ -761,6 +761,7 @@ typedef enum { /*< prefix=CLUTTER_DRAG >*/
|
|||||||
* ClutterEventFlags:
|
* ClutterEventFlags:
|
||||||
* @CLUTTER_EVENT_NONE: No flag set
|
* @CLUTTER_EVENT_NONE: No flag set
|
||||||
* @CLUTTER_EVENT_FLAG_SYNTHETIC: Synthetic event
|
* @CLUTTER_EVENT_FLAG_SYNTHETIC: Synthetic event
|
||||||
|
* @CLUTTER_EVENT_FLAG_REPEATED: Auto-repeated event
|
||||||
*
|
*
|
||||||
* Flags for the #ClutterEvent
|
* Flags for the #ClutterEvent
|
||||||
*
|
*
|
||||||
@@ -769,7 +770,8 @@ typedef enum { /*< prefix=CLUTTER_DRAG >*/
|
|||||||
typedef enum { /*< flags prefix=CLUTTER_EVENT >*/
|
typedef enum { /*< flags prefix=CLUTTER_EVENT >*/
|
||||||
CLUTTER_EVENT_NONE = 0,
|
CLUTTER_EVENT_NONE = 0,
|
||||||
CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0,
|
CLUTTER_EVENT_FLAG_SYNTHETIC = 1 << 0,
|
||||||
CLUTTER_EVENT_FLAG_INPUT_METHOD = 1 << 1
|
CLUTTER_EVENT_FLAG_INPUT_METHOD = 1 << 1,
|
||||||
|
CLUTTER_EVENT_FLAG_REPEATED = 1 << 2
|
||||||
} ClutterEventFlags;
|
} ClutterEventFlags;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -29,7 +29,7 @@ struct _ClutterEventTranslatorIface
|
|||||||
ClutterEvent *translated);
|
ClutterEvent *translated);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_MUTTER
|
CLUTTER_EXPORT
|
||||||
GType _clutter_event_translator_get_type (void) G_GNUC_CONST;
|
GType _clutter_event_translator_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
ClutterTranslateReturn _clutter_event_translator_translate_event (ClutterEventTranslator *translator,
|
ClutterTranslateReturn _clutter_event_translator_translate_event (ClutterEventTranslator *translator,
|
||||||
|
@@ -23,9 +23,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-backend-private.h"
|
#include "clutter-backend-private.h"
|
||||||
#include "clutter-debug.h"
|
#include "clutter-debug.h"
|
||||||
|
@@ -589,185 +589,185 @@ union _ClutterEvent
|
|||||||
typedef gboolean (* ClutterEventFilterFunc) (const ClutterEvent *event,
|
typedef gboolean (* ClutterEventFilterFunc) (const ClutterEvent *event,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
GType clutter_event_get_type (void) G_GNUC_CONST;
|
GType clutter_event_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_20
|
CLUTTER_EXPORT
|
||||||
GType clutter_event_sequence_get_type (void) G_GNUC_CONST;
|
GType clutter_event_sequence_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_events_pending (void);
|
gboolean clutter_events_pending (void);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterEvent * clutter_event_get (void);
|
ClutterEvent * clutter_event_get (void);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterEvent * clutter_event_peek (void);
|
ClutterEvent * clutter_event_peek (void);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_event_put (const ClutterEvent *event);
|
void clutter_event_put (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_18
|
CLUTTER_EXPORT
|
||||||
guint clutter_event_add_filter (ClutterStage *stage,
|
guint clutter_event_add_filter (ClutterStage *stage,
|
||||||
ClutterEventFilterFunc func,
|
ClutterEventFilterFunc func,
|
||||||
GDestroyNotify notify,
|
GDestroyNotify notify,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
CLUTTER_AVAILABLE_IN_1_18
|
CLUTTER_EXPORT
|
||||||
void clutter_event_remove_filter (guint id);
|
void clutter_event_remove_filter (guint id);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterEvent * clutter_event_new (ClutterEventType type);
|
ClutterEvent * clutter_event_new (ClutterEventType type);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterEvent * clutter_event_copy (const ClutterEvent *event);
|
ClutterEvent * clutter_event_copy (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_event_free (ClutterEvent *event);
|
void clutter_event_free (ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterEventType clutter_event_type (const ClutterEvent *event);
|
ClutterEventType clutter_event_type (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_flags (ClutterEvent *event,
|
void clutter_event_set_flags (ClutterEvent *event,
|
||||||
ClutterEventFlags flags);
|
ClutterEventFlags flags);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterEventFlags clutter_event_get_flags (const ClutterEvent *event);
|
ClutterEventFlags clutter_event_get_flags (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_time (ClutterEvent *event,
|
void clutter_event_set_time (ClutterEvent *event,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
guint32 clutter_event_get_time (const ClutterEvent *event);
|
guint32 clutter_event_get_time (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_state (ClutterEvent *event,
|
void clutter_event_set_state (ClutterEvent *event,
|
||||||
ClutterModifierType state);
|
ClutterModifierType state);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterModifierType clutter_event_get_state (const ClutterEvent *event);
|
ClutterModifierType clutter_event_get_state (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_16
|
CLUTTER_EXPORT
|
||||||
void clutter_event_get_state_full (const ClutterEvent *event,
|
void clutter_event_get_state_full (const ClutterEvent *event,
|
||||||
ClutterModifierType *button_state,
|
ClutterModifierType *button_state,
|
||||||
ClutterModifierType *base_state,
|
ClutterModifierType *base_state,
|
||||||
ClutterModifierType *latched_state,
|
ClutterModifierType *latched_state,
|
||||||
ClutterModifierType *locked_state,
|
ClutterModifierType *locked_state,
|
||||||
ClutterModifierType *effective_state);
|
ClutterModifierType *effective_state);
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_device (ClutterEvent *event,
|
void clutter_event_set_device (ClutterEvent *event,
|
||||||
ClutterInputDevice *device);
|
ClutterInputDevice *device);
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
ClutterInputDevice * clutter_event_get_device (const ClutterEvent *event);
|
ClutterInputDevice * clutter_event_get_device (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_source_device (ClutterEvent *event,
|
void clutter_event_set_source_device (ClutterEvent *event,
|
||||||
ClutterInputDevice *device);
|
ClutterInputDevice *device);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
ClutterInputDevice * clutter_event_get_source_device (const ClutterEvent *event);
|
ClutterInputDevice * clutter_event_get_source_device (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_device_tool (ClutterEvent *event,
|
void clutter_event_set_device_tool (ClutterEvent *event,
|
||||||
ClutterInputDeviceTool *tool);
|
ClutterInputDeviceTool *tool);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterInputDeviceTool *clutter_event_get_device_tool (const ClutterEvent *event);
|
ClutterInputDeviceTool *clutter_event_get_device_tool (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_source (ClutterEvent *event,
|
void clutter_event_set_source (ClutterEvent *event,
|
||||||
ClutterActor *actor);
|
ClutterActor *actor);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_event_get_source (const ClutterEvent *event);
|
ClutterActor * clutter_event_get_source (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_stage (ClutterEvent *event,
|
void clutter_event_set_stage (ClutterEvent *event,
|
||||||
ClutterStage *stage);
|
ClutterStage *stage);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterStage * clutter_event_get_stage (const ClutterEvent *event);
|
ClutterStage * clutter_event_get_stage (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gint clutter_event_get_device_id (const ClutterEvent *event);
|
gint clutter_event_get_device_id (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterInputDeviceType clutter_event_get_device_type (const ClutterEvent *event);
|
ClutterInputDeviceType clutter_event_get_device_type (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_coords (ClutterEvent *event,
|
void clutter_event_set_coords (ClutterEvent *event,
|
||||||
gfloat x,
|
gfloat x,
|
||||||
gfloat y);
|
gfloat y);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
void clutter_event_get_coords (const ClutterEvent *event,
|
void clutter_event_get_coords (const ClutterEvent *event,
|
||||||
gfloat *x,
|
gfloat *x,
|
||||||
gfloat *y);
|
gfloat *y);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_event_get_position (const ClutterEvent *event,
|
void clutter_event_get_position (const ClutterEvent *event,
|
||||||
ClutterPoint *position);
|
ClutterPoint *position);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
float clutter_event_get_distance (const ClutterEvent *source,
|
float clutter_event_get_distance (const ClutterEvent *source,
|
||||||
const ClutterEvent *target);
|
const ClutterEvent *target);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
double clutter_event_get_angle (const ClutterEvent *source,
|
double clutter_event_get_angle (const ClutterEvent *source,
|
||||||
const ClutterEvent *target);
|
const ClutterEvent *target);
|
||||||
CLUTTER_AVAILABLE_IN_1_6
|
CLUTTER_EXPORT
|
||||||
gdouble * clutter_event_get_axes (const ClutterEvent *event,
|
gdouble * clutter_event_get_axes (const ClutterEvent *event,
|
||||||
guint *n_axes);
|
guint *n_axes);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_event_has_shift_modifier (const ClutterEvent *event);
|
gboolean clutter_event_has_shift_modifier (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_event_has_control_modifier (const ClutterEvent *event);
|
gboolean clutter_event_has_control_modifier (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_event_is_pointer_emulated (const ClutterEvent *event);
|
gboolean clutter_event_is_pointer_emulated (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_key_symbol (ClutterEvent *event,
|
void clutter_event_set_key_symbol (ClutterEvent *event,
|
||||||
guint key_sym);
|
guint key_sym);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
guint clutter_event_get_key_symbol (const ClutterEvent *event);
|
guint clutter_event_get_key_symbol (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_key_code (ClutterEvent *event,
|
void clutter_event_set_key_code (ClutterEvent *event,
|
||||||
guint16 key_code);
|
guint16 key_code);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
guint16 clutter_event_get_key_code (const ClutterEvent *event);
|
guint16 clutter_event_get_key_code (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_key_unicode (ClutterEvent *event,
|
void clutter_event_set_key_unicode (ClutterEvent *event,
|
||||||
gunichar key_unicode);
|
gunichar key_unicode);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
gunichar clutter_event_get_key_unicode (const ClutterEvent *event);
|
gunichar clutter_event_get_key_unicode (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_button (ClutterEvent *event,
|
void clutter_event_set_button (ClutterEvent *event,
|
||||||
guint32 button);
|
guint32 button);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
guint32 clutter_event_get_button (const ClutterEvent *event);
|
guint32 clutter_event_get_button (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
guint clutter_event_get_click_count (const ClutterEvent *event);
|
guint clutter_event_get_click_count (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_related (ClutterEvent *event,
|
void clutter_event_set_related (ClutterEvent *event,
|
||||||
ClutterActor *actor);
|
ClutterActor *actor);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_event_get_related (const ClutterEvent *event);
|
ClutterActor * clutter_event_get_related (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_scroll_direction (ClutterEvent *event,
|
void clutter_event_set_scroll_direction (ClutterEvent *event,
|
||||||
ClutterScrollDirection direction);
|
ClutterScrollDirection direction);
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
ClutterScrollDirection clutter_event_get_scroll_direction (const ClutterEvent *event);
|
ClutterScrollDirection clutter_event_get_scroll_direction (const ClutterEvent *event);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_event_set_scroll_delta (ClutterEvent *event,
|
void clutter_event_set_scroll_delta (ClutterEvent *event,
|
||||||
gdouble dx,
|
gdouble dx,
|
||||||
gdouble dy);
|
gdouble dy);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
void clutter_event_get_scroll_delta (const ClutterEvent *event,
|
void clutter_event_get_scroll_delta (const ClutterEvent *event,
|
||||||
gdouble *dx,
|
gdouble *dx,
|
||||||
gdouble *dy);
|
gdouble *dy);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
ClutterEventSequence * clutter_event_get_event_sequence (const ClutterEvent *event);
|
ClutterEventSequence * clutter_event_get_event_sequence (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
guint32 clutter_keysym_to_unicode (guint keyval);
|
guint32 clutter_keysym_to_unicode (guint keyval);
|
||||||
CLUTTER_AVAILABLE_IN_1_10
|
CLUTTER_EXPORT
|
||||||
guint clutter_unicode_to_keysym (guint32 wc);
|
guint clutter_unicode_to_keysym (guint32 wc);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_0
|
CLUTTER_EXPORT
|
||||||
guint32 clutter_get_current_event_time (void);
|
guint32 clutter_get_current_event_time (void);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
const ClutterEvent * clutter_get_current_event (void);
|
const ClutterEvent * clutter_get_current_event (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
guint clutter_event_get_touchpad_gesture_finger_count (const ClutterEvent *event);
|
guint clutter_event_get_touchpad_gesture_finger_count (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
gdouble clutter_event_get_gesture_pinch_angle_delta (const ClutterEvent *event);
|
gdouble clutter_event_get_gesture_pinch_angle_delta (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
gdouble clutter_event_get_gesture_pinch_scale (const ClutterEvent *event);
|
gdouble clutter_event_get_gesture_pinch_scale (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
ClutterTouchpadGesturePhase clutter_event_get_gesture_phase (const ClutterEvent *event);
|
ClutterTouchpadGesturePhase clutter_event_get_gesture_phase (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_24
|
CLUTTER_EXPORT
|
||||||
void clutter_event_get_gesture_motion_delta (const ClutterEvent *event,
|
void clutter_event_get_gesture_motion_delta (const ClutterEvent *event,
|
||||||
gdouble *dx,
|
gdouble *dx,
|
||||||
gdouble *dy);
|
gdouble *dy);
|
||||||
@@ -775,10 +775,10 @@ void clutter_event_get_gesture_motion_delta (const Clut
|
|||||||
ClutterScrollSource clutter_event_get_scroll_source (const ClutterEvent *event);
|
ClutterScrollSource clutter_event_get_scroll_source (const ClutterEvent *event);
|
||||||
ClutterScrollFinishFlags clutter_event_get_scroll_finish_flags (const ClutterEvent *event);
|
ClutterScrollFinishFlags clutter_event_get_scroll_finish_flags (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
guint clutter_event_get_mode_group (const ClutterEvent *event);
|
guint clutter_event_get_mode_group (const ClutterEvent *event);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_MUTTER
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_event_get_pad_event_details (const ClutterEvent *event,
|
gboolean clutter_event_get_pad_event_details (const ClutterEvent *event,
|
||||||
guint *number,
|
guint *number,
|
||||||
guint *mode,
|
guint *mode,
|
||||||
|
@@ -37,9 +37,7 @@
|
|||||||
* See also cogl_get_features() and #CoglFeatureFlags
|
* See also cogl_get_features() and #CoglFeatureFlags
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@@ -32,9 +32,9 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_feature_available (ClutterFeatureFlags feature);
|
gboolean clutter_feature_available (ClutterFeatureFlags feature);
|
||||||
CLUTTER_AVAILABLE_IN_ALL
|
CLUTTER_EXPORT
|
||||||
ClutterFeatureFlags clutter_feature_get_all (void);
|
ClutterFeatureFlags clutter_feature_get_all (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -34,9 +34,7 @@
|
|||||||
* #ClutterFixedLayout is available since Clutter 1.2
|
* #ClutterFixedLayout is available since Clutter 1.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-debug.h"
|
#include "clutter-debug.h"
|
||||||
#include "clutter-fixed-layout.h"
|
#include "clutter-fixed-layout.h"
|
||||||
|
@@ -71,10 +71,10 @@ struct _ClutterFixedLayoutClass
|
|||||||
ClutterLayoutManagerClass parent_class;
|
ClutterLayoutManagerClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
GType clutter_fixed_layout_get_type (void) G_GNUC_CONST;
|
GType clutter_fixed_layout_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterLayoutManager *clutter_fixed_layout_new (void);
|
ClutterLayoutManager *clutter_fixed_layout_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -27,9 +27,7 @@
|
|||||||
need to do anything on top of the ClutterOffscreenEffect class so
|
need to do anything on top of the ClutterOffscreenEffect class so
|
||||||
it only exists because that class is abstract */
|
it only exists because that class is abstract */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-flatten-effect.h"
|
#include "clutter-flatten-effect.h"
|
||||||
#include "clutter-private.h"
|
#include "clutter-private.h"
|
||||||
|
@@ -52,9 +52,7 @@
|
|||||||
* #ClutterFlowLayout is available since Clutter 1.2
|
* #ClutterFlowLayout is available since Clutter 1.2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@@ -74,54 +74,54 @@ struct _ClutterFlowLayoutClass
|
|||||||
ClutterLayoutManagerClass parent_class;
|
ClutterLayoutManagerClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
GType clutter_flow_layout_get_type (void) G_GNUC_CONST;
|
GType clutter_flow_layout_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterLayoutManager * clutter_flow_layout_new (ClutterFlowOrientation orientation);
|
ClutterLayoutManager * clutter_flow_layout_new (ClutterFlowOrientation orientation);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_set_orientation (ClutterFlowLayout *layout,
|
void clutter_flow_layout_set_orientation (ClutterFlowLayout *layout,
|
||||||
ClutterFlowOrientation orientation);
|
ClutterFlowOrientation orientation);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
ClutterFlowOrientation clutter_flow_layout_get_orientation (ClutterFlowLayout *layout);
|
ClutterFlowOrientation clutter_flow_layout_get_orientation (ClutterFlowLayout *layout);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_set_homogeneous (ClutterFlowLayout *layout,
|
void clutter_flow_layout_set_homogeneous (ClutterFlowLayout *layout,
|
||||||
gboolean homogeneous);
|
gboolean homogeneous);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_flow_layout_get_homogeneous (ClutterFlowLayout *layout);
|
gboolean clutter_flow_layout_get_homogeneous (ClutterFlowLayout *layout);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_set_column_spacing (ClutterFlowLayout *layout,
|
void clutter_flow_layout_set_column_spacing (ClutterFlowLayout *layout,
|
||||||
gfloat spacing);
|
gfloat spacing);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_flow_layout_get_column_spacing (ClutterFlowLayout *layout);
|
gfloat clutter_flow_layout_get_column_spacing (ClutterFlowLayout *layout);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_set_row_spacing (ClutterFlowLayout *layout,
|
void clutter_flow_layout_set_row_spacing (ClutterFlowLayout *layout,
|
||||||
gfloat spacing);
|
gfloat spacing);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_flow_layout_get_row_spacing (ClutterFlowLayout *layout);
|
gfloat clutter_flow_layout_get_row_spacing (ClutterFlowLayout *layout);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_set_column_width (ClutterFlowLayout *layout,
|
void clutter_flow_layout_set_column_width (ClutterFlowLayout *layout,
|
||||||
gfloat min_width,
|
gfloat min_width,
|
||||||
gfloat max_width);
|
gfloat max_width);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_get_column_width (ClutterFlowLayout *layout,
|
void clutter_flow_layout_get_column_width (ClutterFlowLayout *layout,
|
||||||
gfloat *min_width,
|
gfloat *min_width,
|
||||||
gfloat *max_width);
|
gfloat *max_width);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_set_row_height (ClutterFlowLayout *layout,
|
void clutter_flow_layout_set_row_height (ClutterFlowLayout *layout,
|
||||||
gfloat min_height,
|
gfloat min_height,
|
||||||
gfloat max_height);
|
gfloat max_height);
|
||||||
CLUTTER_AVAILABLE_IN_1_2
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_get_row_height (ClutterFlowLayout *layout,
|
void clutter_flow_layout_get_row_height (ClutterFlowLayout *layout,
|
||||||
gfloat *min_height,
|
gfloat *min_height,
|
||||||
gfloat *max_height);
|
gfloat *max_height);
|
||||||
CLUTTER_AVAILABLE_IN_1_16
|
CLUTTER_EXPORT
|
||||||
void clutter_flow_layout_set_snap_to_grid (ClutterFlowLayout *layout,
|
void clutter_flow_layout_set_snap_to_grid (ClutterFlowLayout *layout,
|
||||||
gboolean snap_to_grid);
|
gboolean snap_to_grid);
|
||||||
CLUTTER_AVAILABLE_IN_1_16
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_flow_layout_get_snap_to_grid (ClutterFlowLayout *layout);
|
gboolean clutter_flow_layout_get_snap_to_grid (ClutterFlowLayout *layout);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@@ -83,9 +83,7 @@
|
|||||||
* Since: 1.8
|
* Since: 1.8
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "clutter-gesture-action-private.h"
|
#include "clutter-gesture-action-private.h"
|
||||||
|
|
||||||
|
@@ -101,75 +101,75 @@ struct _ClutterGestureActionClass
|
|||||||
void (* _clutter_gesture_action6) (void);
|
void (* _clutter_gesture_action6) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
GType clutter_gesture_action_get_type (void) G_GNUC_CONST;
|
GType clutter_gesture_action_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
ClutterAction * clutter_gesture_action_new (void);
|
ClutterAction * clutter_gesture_action_new (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
gint clutter_gesture_action_get_n_touch_points (ClutterGestureAction *action);
|
gint clutter_gesture_action_get_n_touch_points (ClutterGestureAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_set_n_touch_points (ClutterGestureAction *action,
|
void clutter_gesture_action_set_n_touch_points (ClutterGestureAction *action,
|
||||||
gint nb_points);
|
gint nb_points);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_get_press_coords (ClutterGestureAction *action,
|
void clutter_gesture_action_get_press_coords (ClutterGestureAction *action,
|
||||||
guint point,
|
guint point,
|
||||||
gfloat *press_x,
|
gfloat *press_x,
|
||||||
gfloat *press_y);
|
gfloat *press_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_get_motion_coords (ClutterGestureAction *action,
|
void clutter_gesture_action_get_motion_coords (ClutterGestureAction *action,
|
||||||
guint point,
|
guint point,
|
||||||
gfloat *motion_x,
|
gfloat *motion_x,
|
||||||
gfloat *motion_y);
|
gfloat *motion_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_gesture_action_get_motion_delta (ClutterGestureAction *action,
|
gfloat clutter_gesture_action_get_motion_delta (ClutterGestureAction *action,
|
||||||
guint point,
|
guint point,
|
||||||
gfloat *delta_x,
|
gfloat *delta_x,
|
||||||
gfloat *delta_y);
|
gfloat *delta_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_8
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_get_release_coords (ClutterGestureAction *action,
|
void clutter_gesture_action_get_release_coords (ClutterGestureAction *action,
|
||||||
guint point,
|
guint point,
|
||||||
gfloat *release_x,
|
gfloat *release_x,
|
||||||
gfloat *release_y);
|
gfloat *release_y);
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gfloat clutter_gesture_action_get_velocity (ClutterGestureAction *action,
|
gfloat clutter_gesture_action_get_velocity (ClutterGestureAction *action,
|
||||||
guint point,
|
guint point,
|
||||||
gfloat *velocity_x,
|
gfloat *velocity_x,
|
||||||
gfloat *velocity_y);
|
gfloat *velocity_y);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
guint clutter_gesture_action_get_n_current_points (ClutterGestureAction *action);
|
guint clutter_gesture_action_get_n_current_points (ClutterGestureAction *action);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterEventSequence * clutter_gesture_action_get_sequence (ClutterGestureAction *action,
|
ClutterEventSequence * clutter_gesture_action_get_sequence (ClutterGestureAction *action,
|
||||||
guint point);
|
guint point);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterInputDevice * clutter_gesture_action_get_device (ClutterGestureAction *action,
|
ClutterInputDevice * clutter_gesture_action_get_device (ClutterGestureAction *action,
|
||||||
guint point);
|
guint point);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_14
|
CLUTTER_EXPORT
|
||||||
const ClutterEvent * clutter_gesture_action_get_last_event (ClutterGestureAction *action,
|
const ClutterEvent * clutter_gesture_action_get_last_event (ClutterGestureAction *action,
|
||||||
guint point);
|
guint point);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_cancel (ClutterGestureAction *action);
|
void clutter_gesture_action_cancel (ClutterGestureAction *action);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_18
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action,
|
void clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action,
|
||||||
ClutterGestureTriggerEdge edge);
|
ClutterGestureTriggerEdge edge);
|
||||||
CLUTTER_DEPRECATED_IN_1_20_FOR(clutter_gesture_action_get_threshold_trigger_edge)
|
CLUTTER_DEPRECATED_FOR(clutter_gesture_action_get_threshold_trigger_edge)
|
||||||
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action);
|
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action);
|
||||||
CLUTTER_AVAILABLE_IN_1_20
|
CLUTTER_EXPORT
|
||||||
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action);
|
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_18
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_set_threshold_trigger_distance (ClutterGestureAction *action,
|
void clutter_gesture_action_set_threshold_trigger_distance (ClutterGestureAction *action,
|
||||||
float x,
|
float x,
|
||||||
float y);
|
float y);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_18
|
CLUTTER_EXPORT
|
||||||
void clutter_gesture_action_get_threshold_trigger_distance (ClutterGestureAction *action,
|
void clutter_gesture_action_get_threshold_trigger_distance (ClutterGestureAction *action,
|
||||||
float *x,
|
float *x,
|
||||||
float *y);
|
float *y);
|
||||||
|
@@ -26,9 +26,7 @@
|
|||||||
* Matthias Clasen
|
* Matthias Clasen
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "clutter-build-config.h"
|
#include "clutter-build-config.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@@ -80,13 +80,13 @@ struct _ClutterGridLayoutClass
|
|||||||
gpointer _padding[8];
|
gpointer _padding[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
GType clutter_grid_layout_get_type (void) G_GNUC_CONST;
|
GType clutter_grid_layout_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterLayoutManager * clutter_grid_layout_new (void);
|
ClutterLayoutManager * clutter_grid_layout_new (void);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_attach (ClutterGridLayout *layout,
|
void clutter_grid_layout_attach (ClutterGridLayout *layout,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
gint left,
|
gint left,
|
||||||
@@ -94,7 +94,7 @@ void clutter_grid_layout_attach (ClutterGrid
|
|||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_attach_next_to (ClutterGridLayout *layout,
|
void clutter_grid_layout_attach_next_to (ClutterGridLayout *layout,
|
||||||
ClutterActor *child,
|
ClutterActor *child,
|
||||||
ClutterActor *sibling,
|
ClutterActor *sibling,
|
||||||
@@ -102,58 +102,58 @@ void clutter_grid_layout_attach_next_to (ClutterGrid
|
|||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterActor * clutter_grid_layout_get_child_at (ClutterGridLayout *layout,
|
ClutterActor * clutter_grid_layout_get_child_at (ClutterGridLayout *layout,
|
||||||
gint left,
|
gint left,
|
||||||
gint top);
|
gint top);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_insert_row (ClutterGridLayout *layout,
|
void clutter_grid_layout_insert_row (ClutterGridLayout *layout,
|
||||||
gint position);
|
gint position);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_insert_column (ClutterGridLayout *layout,
|
void clutter_grid_layout_insert_column (ClutterGridLayout *layout,
|
||||||
gint position);
|
gint position);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_insert_next_to (ClutterGridLayout *layout,
|
void clutter_grid_layout_insert_next_to (ClutterGridLayout *layout,
|
||||||
ClutterActor *sibling,
|
ClutterActor *sibling,
|
||||||
ClutterGridPosition side);
|
ClutterGridPosition side);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_set_orientation (ClutterGridLayout *layout,
|
void clutter_grid_layout_set_orientation (ClutterGridLayout *layout,
|
||||||
ClutterOrientation orientation);
|
ClutterOrientation orientation);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
ClutterOrientation clutter_grid_layout_get_orientation (ClutterGridLayout *layout);
|
ClutterOrientation clutter_grid_layout_get_orientation (ClutterGridLayout *layout);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_set_column_spacing (ClutterGridLayout *layout,
|
void clutter_grid_layout_set_column_spacing (ClutterGridLayout *layout,
|
||||||
guint spacing);
|
guint spacing);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
guint clutter_grid_layout_get_column_spacing (ClutterGridLayout *layout);
|
guint clutter_grid_layout_get_column_spacing (ClutterGridLayout *layout);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_set_row_spacing (ClutterGridLayout *layout,
|
void clutter_grid_layout_set_row_spacing (ClutterGridLayout *layout,
|
||||||
guint spacing);
|
guint spacing);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
guint clutter_grid_layout_get_row_spacing (ClutterGridLayout *layout);
|
guint clutter_grid_layout_get_row_spacing (ClutterGridLayout *layout);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_set_column_homogeneous (ClutterGridLayout *layout,
|
void clutter_grid_layout_set_column_homogeneous (ClutterGridLayout *layout,
|
||||||
gboolean homogeneous);
|
gboolean homogeneous);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_grid_layout_get_column_homogeneous (ClutterGridLayout *layout);
|
gboolean clutter_grid_layout_get_column_homogeneous (ClutterGridLayout *layout);
|
||||||
|
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
void clutter_grid_layout_set_row_homogeneous (ClutterGridLayout *layout,
|
void clutter_grid_layout_set_row_homogeneous (ClutterGridLayout *layout,
|
||||||
gboolean homogeneous);
|
gboolean homogeneous);
|
||||||
|
|
||||||
CLUTTER_AVAILABLE_IN_1_12
|
CLUTTER_EXPORT
|
||||||
gboolean clutter_grid_layout_get_row_homogeneous (ClutterGridLayout *layout);
|
gboolean clutter_grid_layout_get_row_homogeneous (ClutterGridLayout *layout);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user