clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -5
- data/lib/clutter.rb +1 -2
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
- data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
- data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
- data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
- data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
- data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
- data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
- data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
- data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl.h +61 -22
- data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +4 -4
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +5 -5
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
- data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +15 -6
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/cogl/COPYING +107 -502
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
- data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
- metadata +66 -27
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -8,19 +8,16 @@
|
|
8
8
|
<link rel="up" href="ch03.html" title="Layout managers">
|
9
9
|
<link rel="prev" href="ClutterFixedLayout.html" title="ClutterFixedLayout">
|
10
10
|
<link rel="next" href="ClutterFlowLayout.html" title="ClutterFlowLayout">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<td width="100%" align="left">
|
17
|
-
<a href="#" class="shortcut">Top</a>
|
18
|
-
|
19
|
-
<a href="#ClutterBinLayout.
|
20
|
-
|
21
|
-
<a href="#ClutterBinLayout.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
22
|
-
|
|
23
|
-
<a href="#ClutterBinLayout.properties" class="shortcut">Properties</a>
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#ClutterBinLayout.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#ClutterBinLayout.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#ClutterBinLayout.properties" class="shortcut">Properties</a></span>
|
24
21
|
</td>
|
25
22
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
23
|
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -34,1013 +31,444 @@
|
|
34
31
|
<h2><span class="refentrytitle"><a name="ClutterBinLayout.top_of_page"></a>ClutterBinLayout</span></h2>
|
35
32
|
<p>ClutterBinLayout — A simple layout manager</p>
|
36
33
|
</td>
|
37
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
35
|
</tr></table></div>
|
39
|
-
<div class="refsynopsisdiv">
|
40
|
-
<a name="ClutterBinLayout.synopsis"></a><h2>Synopsis</h2>
|
41
|
-
<pre class="synopsis">enum <a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment">ClutterBinAlignment</a>;
|
42
|
-
struct <a class="link" href="ClutterBinLayout.html#ClutterBinLayout-struct" title="struct ClutterBinLayout">ClutterBinLayout</a>;
|
43
|
-
struct <a class="link" href="ClutterBinLayout.html#ClutterBinLayoutClass" title="struct ClutterBinLayoutClass">ClutterBinLayoutClass</a>;
|
44
|
-
<a class="link" href="ClutterLayoutManager.html" title="ClutterLayoutManager"><span class="returnvalue">ClutterLayoutManager</span></a> * <a class="link" href="ClutterBinLayout.html#clutter-bin-layout-new" title="clutter_bin_layout_new ()">clutter_bin_layout_new</a> (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> x_align</code></em>,
|
45
|
-
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> y_align</code></em>);
|
46
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterBinLayout.html#clutter-bin-layout-set-alignment" title="clutter_bin_layout_set_alignment ()">clutter_bin_layout_set_alignment</a> (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> *self</code></em>,
|
47
|
-
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *child</code></em>,
|
48
|
-
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> x_align</code></em>,
|
49
|
-
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> y_align</code></em>);
|
50
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterBinLayout.html#clutter-bin-layout-get-alignment" title="clutter_bin_layout_get_alignment ()">clutter_bin_layout_get_alignment</a> (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> *self</code></em>,
|
51
|
-
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *child</code></em>,
|
52
|
-
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> *x_align</code></em>,
|
53
|
-
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> *y_align</code></em>);
|
54
|
-
<span class="returnvalue">void</span> <a class="link" href="ClutterBinLayout.html#clutter-bin-layout-add" title="clutter_bin_layout_add ()">clutter_bin_layout_add</a> (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> *self</code></em>,
|
55
|
-
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *child</code></em>,
|
56
|
-
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> x_align</code></em>,
|
57
|
-
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> y_align</code></em>);
|
58
|
-
</pre>
|
59
|
-
</div>
|
60
|
-
<div class="refsect1">
|
61
|
-
<a name="ClutterBinLayout.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
62
|
-
<pre class="synopsis">
|
63
|
-
GObject
|
64
|
-
+----GInitiallyUnowned
|
65
|
-
+----<a class="link" href="ClutterLayoutManager.html" title="ClutterLayoutManager">ClutterLayoutManager</a>
|
66
|
-
+----ClutterBinLayout
|
67
|
-
</pre>
|
68
|
-
</div>
|
69
|
-
<div class="refsect1">
|
70
|
-
<a name="ClutterBinLayout.properties"></a><h2>Properties</h2>
|
71
|
-
<pre class="synopsis">
|
72
|
-
"<a class="link" href="ClutterBinLayout.html#ClutterBinLayout--x-align" title='The "x-align" property'>x-align</a>" <a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> : Read / Write
|
73
|
-
"<a class="link" href="ClutterBinLayout.html#ClutterBinLayout--y-align" title='The "y-align" property'>y-align</a>" <a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> : Read / Write
|
74
|
-
</pre>
|
75
|
-
</div>
|
76
36
|
<div class="refsect1">
|
77
|
-
<a name="ClutterBinLayout.
|
78
|
-
<
|
79
|
-
<a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> is a layout manager which implements the following
|
80
|
-
policy:
|
81
|
-
</p>
|
82
|
-
<p>
|
83
|
-
</p>
|
84
|
-
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
85
|
-
<li class="listitem">the preferred size is the maximum preferred size
|
86
|
-
between all the children of the container using the
|
87
|
-
layout;</li>
|
88
|
-
<li class="listitem">each child is allocated in "layers", on on top
|
89
|
-
of the other;</li>
|
90
|
-
<li class="listitem">for each layer there are horizontal and vertical
|
91
|
-
alignment policies.</li>
|
92
|
-
</ul></div>
|
93
|
-
<p>
|
94
|
-
</p>
|
95
|
-
<p>
|
96
|
-
</p>
|
97
|
-
<div class="figure">
|
98
|
-
<a name="bin-layout"></a><p class="title"><b>Figure 4. Bin layout</b></p>
|
99
|
-
<div class="figure-contents">
|
100
|
-
<p>The image shows a <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> with three layers:
|
101
|
-
a background <a class="link" href="ClutterCairoTexture.html" title="ClutterCairoTexture"><span class="type">ClutterCairoTexture</span></a>, set to fill on both the X
|
102
|
-
and Y axis; a <a class="link" href="ClutterTexture.html" title="ClutterTexture"><span class="type">ClutterTexture</span></a>, set to center on both the X and
|
103
|
-
Y axis; and a <a class="link" href="ClutterRectangle.html" title="ClutterRectangle"><span class="type">ClutterRectangle</span></a>, set to <a class="link" href="ClutterBinLayout.html#CLUTTER-BIN-ALIGNMENT-END:CAPS"><code class="literal">CLUTTER_BIN_ALIGNMENT_END</code></a>
|
104
|
-
on both the X and Y axis.</p>
|
105
|
-
<div><img src="bin-layout.png" alt="Bin layout"></div>
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
<p><br class="figure-break">
|
109
|
-
</p>
|
110
|
-
<p>
|
111
|
-
</p>
|
112
|
-
<div class="example">
|
113
|
-
<a name="example-clutter-bin-layout"></a><p class="title"><b>Example 4. How to pack actors inside a BinLayout</b></p>
|
114
|
-
<div class="example-contents">
|
115
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
116
|
-
<tbody>
|
117
|
-
<tr>
|
118
|
-
<td class="listing_lines" align="right"><pre>1
|
119
|
-
2
|
120
|
-
3
|
121
|
-
4
|
122
|
-
5
|
123
|
-
6
|
124
|
-
7
|
125
|
-
8
|
126
|
-
9
|
127
|
-
10
|
128
|
-
11
|
129
|
-
12
|
130
|
-
13
|
131
|
-
14
|
132
|
-
15
|
133
|
-
16
|
134
|
-
17
|
135
|
-
18
|
136
|
-
19
|
137
|
-
20
|
138
|
-
21
|
139
|
-
22
|
140
|
-
23
|
141
|
-
24
|
142
|
-
25
|
143
|
-
26
|
144
|
-
27
|
145
|
-
28
|
146
|
-
29
|
147
|
-
30
|
148
|
-
31
|
149
|
-
32
|
150
|
-
33
|
151
|
-
34
|
152
|
-
35
|
153
|
-
36
|
154
|
-
37
|
155
|
-
38
|
156
|
-
39
|
157
|
-
40
|
158
|
-
41
|
159
|
-
42
|
160
|
-
43
|
161
|
-
44
|
162
|
-
45
|
163
|
-
46
|
164
|
-
47
|
165
|
-
48
|
166
|
-
49
|
167
|
-
50
|
168
|
-
51
|
169
|
-
52
|
170
|
-
53
|
171
|
-
54
|
172
|
-
55
|
173
|
-
56
|
174
|
-
57
|
175
|
-
58
|
176
|
-
59
|
177
|
-
60
|
178
|
-
61
|
179
|
-
62
|
180
|
-
63
|
181
|
-
64
|
182
|
-
65
|
183
|
-
66
|
184
|
-
67
|
185
|
-
68
|
186
|
-
69
|
187
|
-
70
|
188
|
-
71
|
189
|
-
72
|
190
|
-
73
|
191
|
-
74
|
192
|
-
75
|
193
|
-
76
|
194
|
-
77
|
195
|
-
78
|
196
|
-
79
|
197
|
-
80
|
198
|
-
81
|
199
|
-
82
|
200
|
-
83
|
201
|
-
84
|
202
|
-
85
|
203
|
-
86
|
204
|
-
87
|
205
|
-
88
|
206
|
-
89
|
207
|
-
90
|
208
|
-
91
|
209
|
-
92
|
210
|
-
93
|
211
|
-
94
|
212
|
-
95
|
213
|
-
96
|
214
|
-
97
|
215
|
-
98
|
216
|
-
99
|
217
|
-
100
|
218
|
-
101
|
219
|
-
102
|
220
|
-
103
|
221
|
-
104
|
222
|
-
105
|
223
|
-
106
|
224
|
-
107
|
225
|
-
108
|
226
|
-
109
|
227
|
-
110
|
228
|
-
111
|
229
|
-
112
|
230
|
-
113
|
231
|
-
114
|
232
|
-
115
|
233
|
-
116
|
234
|
-
117
|
235
|
-
118
|
236
|
-
119
|
237
|
-
120
|
238
|
-
121
|
239
|
-
122
|
240
|
-
123
|
241
|
-
124
|
242
|
-
125
|
243
|
-
126
|
244
|
-
127
|
245
|
-
128
|
246
|
-
129
|
247
|
-
130
|
248
|
-
131
|
249
|
-
132
|
250
|
-
133
|
251
|
-
134
|
252
|
-
135
|
253
|
-
136
|
254
|
-
137
|
255
|
-
138
|
256
|
-
139
|
257
|
-
140
|
258
|
-
141
|
259
|
-
142
|
260
|
-
143
|
261
|
-
144
|
262
|
-
145
|
263
|
-
146
|
264
|
-
147
|
265
|
-
148
|
266
|
-
149
|
267
|
-
150
|
268
|
-
151
|
269
|
-
152
|
270
|
-
153
|
271
|
-
154
|
272
|
-
155
|
273
|
-
156
|
274
|
-
157
|
275
|
-
158
|
276
|
-
159
|
277
|
-
160
|
278
|
-
161
|
279
|
-
162
|
280
|
-
163
|
281
|
-
164
|
282
|
-
165
|
283
|
-
166
|
284
|
-
167
|
285
|
-
168
|
286
|
-
169
|
287
|
-
170
|
288
|
-
171
|
289
|
-
172
|
290
|
-
173
|
291
|
-
174
|
292
|
-
175
|
293
|
-
176
|
294
|
-
177
|
295
|
-
178
|
296
|
-
179
|
297
|
-
180
|
298
|
-
181
|
299
|
-
182
|
300
|
-
183
|
301
|
-
184
|
302
|
-
185
|
303
|
-
186
|
304
|
-
187
|
305
|
-
188
|
306
|
-
189
|
307
|
-
190
|
308
|
-
191
|
309
|
-
192
|
310
|
-
193
|
311
|
-
194
|
312
|
-
195
|
313
|
-
196
|
314
|
-
197
|
315
|
-
198
|
316
|
-
199
|
317
|
-
200
|
318
|
-
201
|
319
|
-
202
|
320
|
-
203
|
321
|
-
204
|
322
|
-
205
|
323
|
-
206
|
324
|
-
207
|
325
|
-
208
|
326
|
-
209
|
327
|
-
210
|
328
|
-
211
|
329
|
-
212
|
330
|
-
213
|
331
|
-
214
|
332
|
-
215
|
333
|
-
216
|
334
|
-
217
|
335
|
-
218
|
336
|
-
219
|
337
|
-
220
|
338
|
-
221
|
339
|
-
222
|
340
|
-
223
|
341
|
-
224
|
342
|
-
225
|
343
|
-
226
|
344
|
-
227
|
345
|
-
228
|
346
|
-
229
|
347
|
-
230
|
348
|
-
231
|
349
|
-
232
|
350
|
-
233
|
351
|
-
234
|
352
|
-
235
|
353
|
-
236
|
354
|
-
237
|
355
|
-
238
|
356
|
-
239
|
357
|
-
240
|
358
|
-
241
|
359
|
-
242
|
360
|
-
243
|
361
|
-
244
|
362
|
-
245
|
363
|
-
246
|
364
|
-
247
|
365
|
-
248
|
366
|
-
249
|
367
|
-
250
|
368
|
-
251
|
369
|
-
252
|
370
|
-
253
|
371
|
-
254
|
372
|
-
255
|
373
|
-
256
|
374
|
-
257
|
375
|
-
258
|
376
|
-
259
|
377
|
-
260
|
378
|
-
261
|
379
|
-
262
|
380
|
-
263
|
381
|
-
264
|
382
|
-
265
|
383
|
-
266
|
384
|
-
267
|
385
|
-
268
|
386
|
-
269
|
387
|
-
270
|
388
|
-
271
|
389
|
-
272
|
390
|
-
273
|
391
|
-
274
|
392
|
-
275
|
393
|
-
276
|
394
|
-
277
|
395
|
-
278
|
396
|
-
279
|
397
|
-
280
|
398
|
-
281
|
399
|
-
282
|
400
|
-
283
|
401
|
-
284
|
402
|
-
285
|
403
|
-
286
|
404
|
-
287
|
405
|
-
288
|
406
|
-
289
|
407
|
-
290
|
408
|
-
291
|
409
|
-
292
|
410
|
-
293
|
411
|
-
294
|
412
|
-
295
|
413
|
-
296
|
414
|
-
297
|
415
|
-
298
|
416
|
-
299
|
417
|
-
300
|
418
|
-
301
|
419
|
-
302
|
420
|
-
303
|
421
|
-
304
|
422
|
-
305
|
423
|
-
306
|
424
|
-
307</pre></td>
|
425
|
-
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><stdlib.h></span>
|
426
|
-
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><cairo.h></span>
|
427
|
-
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><gdk-pixbuf/gdk-pixbuf.h></span>
|
428
|
-
<span class="preproc">#include</span><span class="normal"> </span><span class="string"><clutter/clutter.h></span>
|
429
|
-
|
430
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">ClutterColor</span><span class="normal"> bg_color </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="number">0xcc</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0xcc</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0xcc</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0x99</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">;</span>
|
431
|
-
|
432
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> is_expanded </span><span class="symbol">=</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
433
|
-
|
434
|
-
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
435
|
-
<span class="function">on_canvas_draw</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterCanvas</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">canvas</span><span class="symbol">,</span>
|
436
|
-
<span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">,</span>
|
437
|
-
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> width</span><span class="symbol">,</span>
|
438
|
-
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> height</span><span class="symbol">)</span>
|
439
|
-
<span class="cbracket">{</span>
|
440
|
-
<span class="normal"> </span><span class="usertype">cairo_pattern_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pat</span><span class="symbol">;</span>
|
441
|
-
<span class="normal"> </span><span class="usertype">gfloat</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">;</span>
|
442
|
-
|
443
|
-
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">G_STRLOC </span><span class="string">": Painting at %d x %d</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
444
|
-
|
445
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-save">cairo_save</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
446
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-operator">cairo_set_operator</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#CAIRO-OPERATOR-CLEAR:CAPS">CAIRO_OPERATOR_CLEAR</a></span><span class="symbol">);</span>
|
447
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-paint">cairo_paint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
448
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-restore">cairo_restore</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
449
|
-
|
450
|
-
<span class="preproc">#define</span><span class="normal"> BG_ROUND_RADIUS </span><span class="number">12</span>
|
451
|
-
|
452
|
-
<span class="normal"> x </span><span class="symbol">=</span><span class="normal"> y </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
453
|
-
|
454
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
455
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
456
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
457
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
458
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
459
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
460
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> height </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
461
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
462
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
463
|
-
|
464
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-close-path">cairo_close_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
465
|
-
|
466
|
-
<span class="normal"> </span><span class="function">clutter_cairo_set_source_color</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">bg_color</span><span class="symbol">);</span>
|
467
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-stroke">cairo_stroke</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
468
|
-
|
469
|
-
<span class="normal"> x </span><span class="symbol">+=</span><span class="normal"> </span><span class="number">4</span><span class="symbol">;</span>
|
470
|
-
<span class="normal"> y </span><span class="symbol">+=</span><span class="normal"> </span><span class="number">4</span><span class="symbol">;</span>
|
471
|
-
<span class="normal"> width </span><span class="symbol">-=</span><span class="normal"> </span><span class="number">4</span><span class="symbol">;</span>
|
472
|
-
<span class="normal"> height </span><span class="symbol">-=</span><span class="normal"> </span><span class="number">4</span><span class="symbol">;</span>
|
473
|
-
|
474
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-move-to">cairo_move_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
475
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
476
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
477
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
478
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> width</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> width </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
479
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
480
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> height </span><span class="symbol">-</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
481
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-line-to">cairo_line_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">);</span>
|
482
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-curve-to">cairo_curve_to</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">,</span><span class="normal"> BG_ROUND_RADIUS</span><span class="symbol">,</span><span class="normal"> y</span><span class="symbol">);</span>
|
483
|
-
|
484
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-close-path">cairo_close_path</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
485
|
-
|
486
|
-
<span class="normal"> pat </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-create-linear">cairo_pattern_create_linear</a></span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> height</span><span class="symbol">);</span>
|
487
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba">cairo_pattern_add_color_stop_rgba</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pat</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">85</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">85</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">85</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
488
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba">cairo_pattern_add_color_stop_rgba</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pat</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">95</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
489
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba">cairo_pattern_add_color_stop_rgba</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pat</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">05</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
490
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-add-color-stop-rgba">cairo_pattern_add_color_stop_rgba</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pat</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">85</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">85</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">.</span><span class="number">85</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
|
491
|
-
|
492
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source">cairo_set_source</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> pat</span><span class="symbol">);</span>
|
493
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill">cairo_fill</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
|
494
|
-
|
495
|
-
<span class="normal"> </span><span class="function"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html#cairo-pattern-destroy">cairo_pattern_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pat</span><span class="symbol">);</span>
|
496
|
-
|
497
|
-
<span class="preproc">#undef</span><span class="normal"> BG_ROUND_RADIUS</span>
|
498
|
-
|
499
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
500
|
-
<span class="cbracket">}</span>
|
501
|
-
|
502
|
-
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
503
|
-
<span class="function">on_box_enter</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">box</span><span class="symbol">,</span>
|
504
|
-
<span class="normal"> </span><span class="usertype">ClutterEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
505
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">emblem</span><span class="symbol">)</span>
|
506
|
-
<span class="cbracket">{</span>
|
507
|
-
<span class="normal"> </span><span class="comment">/* we ease the opacity linearly */</span>
|
508
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">);</span>
|
509
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
510
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">);</span>
|
511
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">);</span>
|
512
|
-
|
513
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="clutter-Events.html#CLUTTER-EVENT-STOP:CAPS">CLUTTER_EVENT_STOP</a></span><span class="symbol">;</span>
|
514
|
-
<span class="cbracket">}</span>
|
515
|
-
|
516
|
-
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
517
|
-
<span class="function">on_box_leave</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">box</span><span class="symbol">,</span>
|
518
|
-
<span class="normal"> </span><span class="usertype">ClutterEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
|
519
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">emblem</span><span class="symbol">)</span>
|
520
|
-
<span class="cbracket">{</span>
|
521
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">);</span>
|
522
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-LINEAR:CAPS">CLUTTER_LINEAR</a></span><span class="symbol">);</span>
|
523
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
524
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">);</span>
|
525
|
-
|
526
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="clutter-Events.html#CLUTTER-EVENT-STOP:CAPS">CLUTTER_EVENT_STOP</a></span><span class="symbol">;</span>
|
527
|
-
<span class="cbracket">}</span>
|
528
|
-
|
529
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
530
|
-
<span class="function">on_emblem_clicked</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterClickAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
531
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">emblem</span><span class="symbol">,</span>
|
532
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">box</span><span class="symbol">)</span>
|
533
|
-
<span class="cbracket">{</span>
|
534
|
-
<span class="normal"> </span><span class="comment">/* we add a little bounce to the resizing of the box */</span>
|
535
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-save-easing-state">clutter_actor_save_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">);</span>
|
536
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-mode">clutter_actor_set_easing_mode</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> <a href="ClutterTimeline.html#CLUTTER-EASE-OUT-BOUNCE:CAPS">CLUTTER_EASE_OUT_BOUNCE</a></span><span class="symbol">);</span>
|
537
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-easing-duration">clutter_actor_set_easing_duration</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="number">500</span><span class="symbol">);</span>
|
538
|
-
|
539
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">is_expanded</span><span class="symbol">)</span>
|
540
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="number">400</span><span class="symbol">,</span><span class="normal"> </span><span class="number">400</span><span class="symbol">);</span>
|
541
|
-
<span class="normal"> </span><span class="keyword">else</span>
|
542
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">);</span>
|
543
|
-
|
544
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-restore-easing-state">clutter_actor_restore_easing_state</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">);</span>
|
545
|
-
|
546
|
-
<span class="normal"> is_expanded </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">!</span><span class="normal">is_expanded</span><span class="symbol">;</span>
|
547
|
-
<span class="cbracket">}</span>
|
548
|
-
|
549
|
-
<span class="keyword">static</span><span class="normal"> gboolean</span>
|
550
|
-
<span class="function">on_emblem_long_press</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterClickAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">,</span>
|
551
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">emblem</span><span class="symbol">,</span>
|
552
|
-
<span class="normal"> </span><span class="usertype">ClutterLongPressState</span><span class="normal"> state</span><span class="symbol">,</span>
|
553
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">box</span><span class="symbol">)</span>
|
554
|
-
<span class="cbracket">{</span>
|
555
|
-
<span class="normal"> </span><span class="keyword">switch</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">state</span><span class="symbol">)</span>
|
556
|
-
<span class="normal"> </span><span class="cbracket">{</span>
|
557
|
-
<span class="normal"> </span><span class="keyword">case</span><span class="normal"> <a href="ClutterClickAction.html#CLUTTER-LONG-PRESS-QUERY:CAPS">CLUTTER_LONG_PRESS_QUERY</a></span><span class="symbol">:</span>
|
558
|
-
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"*** long press: query ***</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
559
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> is_expanded</span><span class="symbol">;</span>
|
560
|
-
|
561
|
-
<span class="normal"> </span><span class="keyword">case</span><span class="normal"> <a href="ClutterClickAction.html#CLUTTER-LONG-PRESS-CANCEL:CAPS">CLUTTER_LONG_PRESS_CANCEL</a></span><span class="symbol">:</span>
|
562
|
-
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"*** long press: cancel ***</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
563
|
-
<span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
|
564
|
-
|
565
|
-
<span class="normal"> </span><span class="keyword">case</span><span class="normal"> <a href="ClutterClickAction.html#CLUTTER-LONG-PRESS-ACTIVATE:CAPS">CLUTTER_LONG_PRESS_ACTIVATE</a></span><span class="symbol">:</span>
|
566
|
-
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"*** long press: activate ***</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
567
|
-
<span class="normal"> </span><span class="keyword">break</span><span class="symbol">;</span>
|
568
|
-
<span class="normal"> </span><span class="cbracket">}</span>
|
569
|
-
|
570
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
|
571
|
-
<span class="cbracket">}</span>
|
572
|
-
|
573
|
-
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
574
|
-
<span class="function">redraw_canvas</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">actor</span><span class="symbol">,</span>
|
575
|
-
<span class="normal"> </span><span class="usertype">ClutterCanvas</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">canvas</span><span class="symbol">)</span>
|
576
|
-
<span class="cbracket">{</span>
|
577
|
-
<span class="normal"> </span><span class="comment">/* we want to invalidate the canvas and redraw its contents</span>
|
578
|
-
<span class="comment"> * only when the size changes at the end of the animation,</span>
|
579
|
-
<span class="comment"> * to avoid drawing all the states inbetween</span>
|
580
|
-
<span class="comment"> */</span>
|
581
|
-
<span class="normal"> </span><span class="function"><a href="ClutterCanvas.html#clutter-canvas-set-size">clutter_canvas_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">,</span>
|
582
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-width">clutter_actor_get_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">),</span>
|
583
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-get-height">clutter_actor_get_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">actor</span><span class="symbol">));</span>
|
584
|
-
<span class="cbracket">}</span>
|
585
|
-
|
586
|
-
<span class="type">int</span>
|
587
|
-
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
588
|
-
<span class="cbracket">{</span>
|
589
|
-
<span class="normal"> </span><span class="usertype">ClutterActor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label</span><span class="symbol">;</span>
|
590
|
-
<span class="normal"> </span><span class="usertype">ClutterLayoutManager</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">layout</span><span class="symbol">;</span>
|
591
|
-
<span class="normal"> </span><span class="usertype">ClutterContent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">canvas</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">image</span><span class="symbol">;</span>
|
592
|
-
<span class="normal"> </span><span class="usertype">ClutterColor</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">color</span><span class="symbol">;</span>
|
593
|
-
<span class="normal"> </span><span class="usertype">ClutterAction</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">action</span><span class="symbol">;</span>
|
594
|
-
<span class="normal"> </span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf</span><span class="symbol">;</span>
|
595
|
-
|
596
|
-
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="clutter-General.html#clutter-init">clutter_init</a></span><span class="normal"> </span><span class="symbol">(&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> <a href="clutter-General.html#CLUTTER-INIT-SUCCESS:CAPS">CLUTTER_INIT_SUCCESS</a></span><span class="symbol">)</span>
|
597
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
|
598
|
-
|
599
|
-
<span class="normal"> </span><span class="comment">/* prepare the stage */</span>
|
600
|
-
<span class="normal"> stage </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-new">clutter_stage_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
601
|
-
<span class="normal"> </span><span class="function"><a href="ClutterStage.html#clutter-stage-set-title">clutter_stage_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_STAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"BinLayout"</span><span class="symbol">);</span>
|
602
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> CLUTTER_COLOR_Aluminium2</span><span class="symbol">);</span>
|
603
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="number">640</span><span class="symbol">,</span><span class="normal"> </span><span class="number">480</span><span class="symbol">);</span>
|
604
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-show">clutter_actor_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">);</span>
|
605
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="clutter-General.html#clutter-main-quit">clutter_main_quit</a></span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
606
|
-
|
607
|
-
<span class="normal"> </span><span class="comment">/* this is our BinLayout, with its default alignments */</span>
|
608
|
-
<span class="normal"> layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterBinLayout.html#clutter-bin-layout-new">clutter_bin_layout_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="ClutterBinLayout.html#CLUTTER-BIN-ALIGNMENT-CENTER:CAPS">CLUTTER_BIN_ALIGNMENT_CENTER</a></span><span class="symbol">,</span>
|
609
|
-
<span class="normal"> <a href="ClutterBinLayout.html#CLUTTER-BIN-ALIGNMENT-CENTER:CAPS">CLUTTER_BIN_ALIGNMENT_CENTER</a></span><span class="symbol">);</span>
|
610
|
-
|
611
|
-
<span class="normal"> </span><span class="comment">/* the main container; this actor will use the BinLayout to lay</span>
|
612
|
-
<span class="comment"> * out its children; we use the anchor point to keep it centered</span>
|
613
|
-
<span class="comment"> * on the same position even when we change its size</span>
|
614
|
-
<span class="comment"> */</span>
|
615
|
-
<span class="normal"> box </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
616
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-layout-manager">clutter_actor_set_layout_manager</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
|
617
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-constraint">clutter_actor_add_constraint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="ClutterAlignConstraint.html#clutter-align-constraint-new">clutter_align_constraint_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> <a href="ClutterAlignConstraint.html#CLUTTER-ALIGN-BOTH:CAPS">CLUTTER_ALIGN_BOTH</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.5</span><span class="symbol">));</span>
|
618
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-position">clutter_actor_set_position</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="number">320</span><span class="symbol">,</span><span class="normal"> </span><span class="number">240</span><span class="symbol">);</span>
|
619
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-reactive">clutter_actor_set_reactive</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
620
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"box"</span><span class="symbol">);</span>
|
621
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stage</span><span class="symbol">,</span><span class="normal"> box</span><span class="symbol">);</span>
|
622
|
-
|
623
|
-
<span class="normal"> </span><span class="comment">/* the background is drawn using a canvas content */</span>
|
624
|
-
<span class="normal"> canvas </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterCanvas.html#clutter-canvas-new">clutter_canvas_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
625
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_canvas_draw</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
626
|
-
<span class="normal"> </span><span class="function"><a href="ClutterCanvas.html#clutter-canvas-set-size">clutter_canvas_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_CANVAS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">canvas</span><span class="symbol">),</span><span class="normal"> </span><span class="number">200</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">);</span>
|
627
|
-
|
628
|
-
<span class="normal"> </span><span class="comment">/* this is the background actor; we want it to fill the whole</span>
|
629
|
-
<span class="comment"> * of the allocation given to it by its parent</span>
|
630
|
-
<span class="comment"> */</span>
|
631
|
-
<span class="normal"> bg </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
632
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"background"</span><span class="symbol">);</span>
|
633
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">);</span>
|
634
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content">clutter_actor_set_content</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> canvas</span><span class="symbol">);</span>
|
635
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-expand">clutter_actor_set_x_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
636
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-expand">clutter_actor_set_y_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
637
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-align">clutter_actor_set_x_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-FILL:CAPS">CLUTTER_ACTOR_ALIGN_FILL</a></span><span class="symbol">);</span>
|
638
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-align">clutter_actor_set_y_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">bg</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-FILL:CAPS">CLUTTER_ACTOR_ALIGN_FILL</a></span><span class="symbol">);</span>
|
639
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> bg</span><span class="symbol">);</span>
|
640
|
-
<span class="normal"> </span><span class="comment">/* we use the ::transitions-completed signal to get notification</span>
|
641
|
-
<span class="comment"> * of the end of the sizing animation; this allows us to redraw</span>
|
642
|
-
<span class="comment"> * the canvas only once the animation has stopped</span>
|
643
|
-
<span class="comment"> */</span>
|
644
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"transitions-completed"</span><span class="symbol">,</span>
|
645
|
-
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">redraw_canvas</span><span class="symbol">),</span>
|
646
|
-
<span class="normal"> canvas</span><span class="symbol">);</span>
|
647
|
-
|
648
|
-
<span class="normal"> </span><span class="comment">/* we use GdkPixbuf to load an image from our data directory */</span>
|
649
|
-
<span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gdk_pixbuf_new_from_file</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">TESTS_DATADIR</span><span class="normal"> G_DIR_SEPARATOR_S </span><span class="string">"redhand.png"</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
650
|
-
<span class="normal"> image </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterImage.html#clutter-image-new">clutter_image_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
651
|
-
<span class="normal"> </span><span class="function"><a href="ClutterImage.html#clutter-image-set-data">clutter_image_set_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_IMAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">image</span><span class="symbol">),</span>
|
652
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_pixels</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
653
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_has_alpha</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span>
|
654
|
-
<span class="normal"> </span><span class="symbol">?</span><span class="normal"> COGL_PIXEL_FORMAT_RGBA_8888</span>
|
655
|
-
<span class="normal"> </span><span class="symbol">:</span><span class="normal"> COGL_PIXEL_FORMAT_RGB_888</span><span class="symbol">,</span>
|
656
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_width</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
657
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_height</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
658
|
-
<span class="normal"> </span><span class="function">gdk_pixbuf_get_rowstride</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">),</span>
|
659
|
-
<span class="normal"> NULL</span><span class="symbol">);</span>
|
660
|
-
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
661
|
-
|
662
|
-
<span class="normal"> </span><span class="comment">/* this is the icon; it's going to be centered inside the box actor.</span>
|
663
|
-
<span class="comment"> * we use the content gravity to keep the aspect ratio of the image,</span>
|
664
|
-
<span class="comment"> * and the scaling filters to get a better result when scaling the</span>
|
665
|
-
<span class="comment"> * image down.</span>
|
666
|
-
<span class="comment"> */</span>
|
667
|
-
<span class="normal"> icon </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
668
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"icon"</span><span class="symbol">);</span>
|
669
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> </span><span class="number">196</span><span class="symbol">,</span><span class="normal"> </span><span class="number">196</span><span class="symbol">);</span>
|
670
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-expand">clutter_actor_set_x_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
671
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-expand">clutter_actor_set_y_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
672
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-align">clutter_actor_set_x_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-CENTER:CAPS">CLUTTER_ACTOR_ALIGN_CENTER</a></span><span class="symbol">);</span>
|
673
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-align">clutter_actor_set_y_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-CENTER:CAPS">CLUTTER_ACTOR_ALIGN_CENTER</a></span><span class="symbol">);</span>
|
674
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content-gravity">clutter_actor_set_content_gravity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-CONTENT-GRAVITY-RESIZE-ASPECT:CAPS">CLUTTER_CONTENT_GRAVITY_RESIZE_ASPECT</a></span><span class="symbol">);</span>
|
675
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content-scaling-filters">clutter_actor_set_content_scaling_filters</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span>
|
676
|
-
<span class="normal"> <a href="ClutterActor.html#CLUTTER-SCALING-FILTER-TRILINEAR:CAPS">CLUTTER_SCALING_FILTER_TRILINEAR</a></span><span class="symbol">,</span>
|
677
|
-
<span class="normal"> <a href="ClutterActor.html#CLUTTER-SCALING-FILTER-LINEAR:CAPS">CLUTTER_SCALING_FILTER_LINEAR</a></span><span class="symbol">);</span>
|
678
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-content">clutter_actor_set_content</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">icon</span><span class="symbol">,</span><span class="normal"> image</span><span class="symbol">);</span>
|
679
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> icon</span><span class="symbol">);</span>
|
680
|
-
|
681
|
-
<span class="normal"> color </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="clutter-Colors.html#clutter-color-new">clutter_color_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_random_int_range</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">),</span>
|
682
|
-
<span class="normal"> </span><span class="function">g_random_int_range</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">),</span>
|
683
|
-
<span class="normal"> </span><span class="function">g_random_int_range</span><span class="normal"> </span><span class="symbol">(</span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">255</span><span class="symbol">),</span>
|
684
|
-
<span class="normal"> </span><span class="number">224</span><span class="symbol">);</span>
|
685
|
-
|
686
|
-
<span class="normal"> </span><span class="comment">/* this is the emblem: a small rectangle with a random color, that we</span>
|
687
|
-
<span class="comment"> * want to put in the bottom right corner</span>
|
688
|
-
<span class="comment"> */</span>
|
689
|
-
<span class="normal"> emblem </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-new">clutter_actor_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
690
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"emblem"</span><span class="symbol">);</span>
|
691
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-size">clutter_actor_set_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> </span><span class="number">48</span><span class="symbol">,</span><span class="normal"> </span><span class="number">48</span><span class="symbol">);</span>
|
692
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-background-color">clutter_actor_set_background_color</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> color</span><span class="symbol">);</span>
|
693
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-expand">clutter_actor_set_x_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
694
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-expand">clutter_actor_set_y_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
695
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-align">clutter_actor_set_x_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-END:CAPS">CLUTTER_ACTOR_ALIGN_END</a></span><span class="symbol">);</span>
|
696
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-align">clutter_actor_set_y_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-END:CAPS">CLUTTER_ACTOR_ALIGN_END</a></span><span class="symbol">);</span>
|
697
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-reactive">clutter_actor_set_reactive</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
698
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-opacity">clutter_actor_set_opacity</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
|
699
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> emblem</span><span class="symbol">);</span>
|
700
|
-
<span class="normal"> </span><span class="function"><a href="clutter-Colors.html#clutter-color-free">clutter_color_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">color</span><span class="symbol">);</span>
|
701
|
-
|
702
|
-
<span class="normal"> </span><span class="comment">/* when clicking on the emblem, we want to perform an action */</span>
|
703
|
-
<span class="normal"> action </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterClickAction.html#clutter-click-action-new">clutter_click_action_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
704
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-action">clutter_actor_add_action</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">emblem</span><span class="symbol">,</span><span class="normal"> action</span><span class="symbol">);</span>
|
705
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_emblem_clicked</span><span class="symbol">),</span><span class="normal"> box</span><span class="symbol">);</span>
|
706
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">action</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"long-press"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_emblem_long_press</span><span class="symbol">),</span><span class="normal"> box</span><span class="symbol">);</span>
|
707
|
-
|
708
|
-
<span class="normal"> </span><span class="comment">/* whenever the pointer enters the box, we show the emblem; we hide</span>
|
709
|
-
<span class="comment"> * the emblem when the pointer leaves the box</span>
|
710
|
-
<span class="comment"> */</span>
|
711
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span>
|
712
|
-
<span class="normal"> </span><span class="string">"enter-event"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_box_enter</span><span class="symbol">),</span>
|
713
|
-
<span class="normal"> emblem</span><span class="symbol">);</span>
|
714
|
-
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span>
|
715
|
-
<span class="normal"> </span><span class="string">"leave-event"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_box_leave</span><span class="symbol">),</span>
|
716
|
-
<span class="normal"> emblem</span><span class="symbol">);</span>
|
717
|
-
|
718
|
-
<span class="normal"> </span><span class="comment">/* a label, that we want to position at the top and center of the box */</span>
|
719
|
-
<span class="normal"> label </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-new">clutter_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
720
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-name">clutter_actor_set_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">);</span>
|
721
|
-
<span class="normal"> </span><span class="function"><a href="ClutterText.html#clutter-text-set-text">clutter_text_set_text</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">CLUTTER_TEXT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"A simple test"</span><span class="symbol">);</span>
|
722
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-expand">clutter_actor_set_x_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
723
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-x-align">clutter_actor_set_x_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-CENTER:CAPS">CLUTTER_ACTOR_ALIGN_CENTER</a></span><span class="symbol">);</span>
|
724
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-expand">clutter_actor_set_y_expand</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
|
725
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-set-y-align">clutter_actor_set_y_align</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> <a href="ClutterActor.html#CLUTTER-ACTOR-ALIGN-START:CAPS">CLUTTER_ACTOR_ALIGN_START</a></span><span class="symbol">);</span>
|
726
|
-
<span class="normal"> </span><span class="function"><a href="ClutterActor.html#clutter-actor-add-child">clutter_actor_add_child</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">,</span><span class="normal"> label</span><span class="symbol">);</span>
|
727
|
-
|
728
|
-
<span class="normal"> </span><span class="function"><a href="clutter-General.html#clutter-main">clutter_main</a></span><span class="normal"> </span><span class="symbol">();</span>
|
729
|
-
|
730
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> EXIT_SUCCESS</span><span class="symbol">;</span>
|
731
|
-
<span class="cbracket">}</span></pre></td>
|
732
|
-
</tr>
|
733
|
-
</tbody>
|
734
|
-
</table>
|
735
|
-
</div>
|
736
|
-
|
737
|
-
</div>
|
738
|
-
<p><br class="example-break">
|
739
|
-
</p>
|
740
|
-
<p>
|
741
|
-
<a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> is available since Clutter 1.2
|
742
|
-
</p>
|
743
|
-
</div>
|
744
|
-
<div class="refsect1">
|
745
|
-
<a name="ClutterBinLayout.details"></a><h2>Details</h2>
|
746
|
-
<div class="refsect2">
|
747
|
-
<a name="ClutterBinAlignment"></a><h3>enum ClutterBinAlignment</h3>
|
748
|
-
<pre class="programlisting">typedef enum {
|
749
|
-
CLUTTER_BIN_ALIGNMENT_FIXED,
|
750
|
-
CLUTTER_BIN_ALIGNMENT_FILL,
|
751
|
-
CLUTTER_BIN_ALIGNMENT_START,
|
752
|
-
CLUTTER_BIN_ALIGNMENT_END,
|
753
|
-
CLUTTER_BIN_ALIGNMENT_CENTER
|
754
|
-
} ClutterBinAlignment;
|
755
|
-
</pre>
|
756
|
-
<div class="warning">
|
757
|
-
<h3 class="title">Warning</h3>
|
758
|
-
<p><code class="literal">ClutterBinAlignment</code> has been deprecated since version 1.12 and should not be used in newly-written code. Use <a class="link" href="ClutterActor.html#ClutterActorAlign" title="enum ClutterActorAlign"><span class="type">ClutterActorAlign</span></a> and the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
759
|
-
API instead</p>
|
760
|
-
</div>
|
761
|
-
<p>
|
762
|
-
The alignment policies available on each axis for <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a>
|
763
|
-
</p>
|
764
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
37
|
+
<a name="ClutterBinLayout.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
765
39
|
<colgroup>
|
766
|
-
<col
|
767
|
-
<col>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
768
42
|
</colgroup>
|
769
43
|
<tbody>
|
770
44
|
<tr>
|
771
|
-
<td
|
772
|
-
<
|
773
|
-
|
774
|
-
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="ClutterLayoutManager.html" title="ClutterLayoutManager"><span class="returnvalue">ClutterLayoutManager</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="ClutterBinLayout.html#clutter-bin-layout-new" title="clutter_bin_layout_new ()">clutter_bin_layout_new</a> <span class="c_punctuation">()</span>
|
775
50
|
</td>
|
776
51
|
</tr>
|
777
52
|
<tr>
|
778
|
-
<td
|
779
|
-
<
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">void</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="ClutterBinLayout.html#clutter-bin-layout-set-alignment" title="clutter_bin_layout_set_alignment ()">clutter_bin_layout_set_alignment</a> <span class="c_punctuation">()</span>
|
780
58
|
</td>
|
781
59
|
</tr>
|
782
60
|
<tr>
|
783
|
-
<td
|
784
|
-
<
|
785
|
-
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">void</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="ClutterBinLayout.html#clutter-bin-layout-get-alignment" title="clutter_bin_layout_get_alignment ()">clutter_bin_layout_get_alignment</a> <span class="c_punctuation">()</span>
|
786
66
|
</td>
|
787
67
|
</tr>
|
788
68
|
<tr>
|
789
|
-
<td
|
790
|
-
<
|
791
|
-
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="ClutterBinLayout.html#clutter-bin-layout-add" title="clutter_bin_layout_add ()">clutter_bin_layout_add</a> <span class="c_punctuation">()</span>
|
792
74
|
</td>
|
793
75
|
</tr>
|
76
|
+
</tbody>
|
77
|
+
</table></div>
|
78
|
+
</div>
|
79
|
+
<div class="refsect1">
|
80
|
+
<a name="ClutterBinLayout.properties"></a><h2>Properties</h2>
|
81
|
+
<div class="informaltable"><table border="0">
|
82
|
+
<colgroup>
|
83
|
+
<col width="150px" class="properties_type">
|
84
|
+
<col width="300px" class="properties_name">
|
85
|
+
<col width="200px" class="properties_flags">
|
86
|
+
</colgroup>
|
87
|
+
<tbody>
|
794
88
|
<tr>
|
795
|
-
<td
|
796
|
-
<td
|
797
|
-
|
798
|
-
</
|
89
|
+
<td class="property_type"><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a></td>
|
90
|
+
<td class="property_name"><a class="link" href="ClutterBinLayout.html#ClutterBinLayout--x-align" title="The “x-align” property">x-align</a></td>
|
91
|
+
<td class="property_flags">Read / Write</td>
|
92
|
+
</tr>
|
93
|
+
<tr>
|
94
|
+
<td class="property_type"><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a></td>
|
95
|
+
<td class="property_name"><a class="link" href="ClutterBinLayout.html#ClutterBinLayout--y-align" title="The “y-align” property">y-align</a></td>
|
96
|
+
<td class="property_flags">Read / Write</td>
|
799
97
|
</tr>
|
800
98
|
</tbody>
|
801
99
|
</table></div>
|
802
|
-
<p class="since">Since 1.2</p>
|
803
100
|
</div>
|
804
|
-
<
|
805
|
-
<
|
806
|
-
<
|
807
|
-
<
|
808
|
-
<
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
<
|
101
|
+
<div class="refsect1">
|
102
|
+
<a name="ClutterBinLayout.other"></a><h2>Types and Values</h2>
|
103
|
+
<div class="informaltable"><table width="100%" border="0">
|
104
|
+
<colgroup>
|
105
|
+
<col width="150px" class="name">
|
106
|
+
<col class="description">
|
107
|
+
</colgroup>
|
108
|
+
<tbody>
|
109
|
+
<tr>
|
110
|
+
<td class="datatype_keyword">enum</td>
|
111
|
+
<td class="function_name"><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment">ClutterBinAlignment</a></td>
|
112
|
+
</tr>
|
113
|
+
<tr>
|
114
|
+
<td class="datatype_keyword">struct</td>
|
115
|
+
<td class="function_name"><a class="link" href="ClutterBinLayout.html#ClutterBinLayout-struct" title="struct ClutterBinLayout">ClutterBinLayout</a></td>
|
116
|
+
</tr>
|
117
|
+
<tr>
|
118
|
+
<td class="datatype_keyword">struct</td>
|
119
|
+
<td class="function_name"><a class="link" href="ClutterBinLayout.html#ClutterBinLayoutClass" title="struct ClutterBinLayoutClass">ClutterBinLayoutClass</a></td>
|
120
|
+
</tr>
|
121
|
+
</tbody>
|
122
|
+
</table></div>
|
813
123
|
</div>
|
814
|
-
<
|
815
|
-
<
|
816
|
-
<
|
817
|
-
<
|
818
|
-
|
124
|
+
<div class="refsect1">
|
125
|
+
<a name="ClutterBinLayout.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
126
|
+
<pre class="screen"> GObject
|
127
|
+
<span class="lineart">╰──</span> GInitiallyUnowned
|
128
|
+
<span class="lineart">╰──</span> <a class="link" href="ClutterLayoutManager.html" title="ClutterLayoutManager">ClutterLayoutManager</a>
|
129
|
+
<span class="lineart">╰──</span> ClutterBinLayout
|
819
130
|
</pre>
|
820
|
-
<p>
|
821
|
-
The <a class="link" href="ClutterBinLayout.html#ClutterBinLayoutClass" title="struct ClutterBinLayoutClass"><span class="type">ClutterBinLayoutClass</span></a> structure contains only private
|
822
|
-
data and should be accessed using the provided API
|
823
|
-
</p>
|
824
|
-
<p class="since">Since 1.2</p>
|
825
131
|
</div>
|
826
|
-
<
|
132
|
+
<div class="refsect1">
|
133
|
+
<a name="ClutterBinLayout.description"></a><h2>Description</h2>
|
134
|
+
<p><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> is a layout manager which implements the following
|
135
|
+
policy:</p>
|
136
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
137
|
+
<li class="listitem"><p>the preferred size is the maximum preferred size
|
138
|
+
between all the children of the container using the
|
139
|
+
layout;</p></li>
|
140
|
+
<li class="listitem"><p>each child is allocated in "layers", on on top
|
141
|
+
of the other;</p></li>
|
142
|
+
<li class="listitem"><p>for each layer there are horizontal and vertical
|
143
|
+
alignment policies.</p></li>
|
144
|
+
</ul></div>
|
145
|
+
<p>The <a class="ulink" href="https://git.gnome.org/browse/clutter/tree/examples/bin-layout.c?h=clutter-1.18" target="_top">bin-layout example</a>
|
146
|
+
shows how to pack actors inside a <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a>.</p>
|
147
|
+
<p><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> is available since Clutter 1.2</p>
|
148
|
+
</div>
|
149
|
+
<div class="refsect1">
|
150
|
+
<a name="ClutterBinLayout.functions_details"></a><h2>Functions</h2>
|
827
151
|
<div class="refsect2">
|
828
|
-
<a name="clutter-bin-layout-new"></a><h3>clutter_bin_layout_new
|
829
|
-
<pre class="programlisting"><a class="link" href="ClutterLayoutManager.html" title="ClutterLayoutManager"><span class="returnvalue">ClutterLayoutManager</span></a>
|
830
|
-
|
831
|
-
<
|
832
|
-
Creates a new <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> layout manager
|
833
|
-
|
834
|
-
<
|
152
|
+
<a name="clutter-bin-layout-new"></a><h3>clutter_bin_layout_new ()</h3>
|
153
|
+
<pre class="programlisting"><a class="link" href="ClutterLayoutManager.html" title="ClutterLayoutManager"><span class="returnvalue">ClutterLayoutManager</span></a> *
|
154
|
+
clutter_bin_layout_new (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> x_align</code></em>,
|
155
|
+
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> y_align</code></em>);</pre>
|
156
|
+
<p>Creates a new <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> layout manager</p>
|
157
|
+
<div class="refsect3">
|
158
|
+
<a name="id-1.5.4.3.8.2.5"></a><h4>Parameters</h4>
|
159
|
+
<div class="informaltable"><table width="100%" border="0">
|
835
160
|
<colgroup>
|
836
|
-
<col
|
837
|
-
<col>
|
161
|
+
<col width="150px" class="parameters_name">
|
162
|
+
<col class="parameters_description">
|
163
|
+
<col width="200px" class="parameters_annotations">
|
838
164
|
</colgroup>
|
839
165
|
<tbody>
|
840
166
|
<tr>
|
841
|
-
<td
|
842
|
-
<td>the default alignment policy to be used on the
|
843
|
-
horizontal axis</td>
|
167
|
+
<td class="parameter_name"><p>x_align</p></td>
|
168
|
+
<td class="parameter_description"><p>the default alignment policy to be used on the
|
169
|
+
horizontal axis</p></td>
|
170
|
+
<td class="parameter_annotations"> </td>
|
844
171
|
</tr>
|
845
172
|
<tr>
|
846
|
-
<td
|
847
|
-
<td>the default alignment policy to be used on the
|
848
|
-
vertical axis</td>
|
849
|
-
</
|
850
|
-
<tr>
|
851
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
852
|
-
<td>the newly created layout manager</td>
|
173
|
+
<td class="parameter_name"><p>y_align</p></td>
|
174
|
+
<td class="parameter_description"><p>the default alignment policy to be used on the
|
175
|
+
vertical axis</p></td>
|
176
|
+
<td class="parameter_annotations"> </td>
|
853
177
|
</tr>
|
854
178
|
</tbody>
|
855
179
|
</table></div>
|
180
|
+
</div>
|
181
|
+
<div class="refsect3">
|
182
|
+
<a name="id-1.5.4.3.8.2.6"></a><h4>Returns</h4>
|
183
|
+
<p> the newly created layout manager</p>
|
184
|
+
<p></p>
|
185
|
+
</div>
|
856
186
|
<p class="since">Since 1.2</p>
|
857
187
|
</div>
|
858
188
|
<hr>
|
859
189
|
<div class="refsect2">
|
860
|
-
<a name="clutter-bin-layout-set-alignment"></a><h3>clutter_bin_layout_set_alignment
|
861
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
862
|
-
|
863
|
-
|
864
|
-
|
190
|
+
<a name="clutter-bin-layout-set-alignment"></a><h3>clutter_bin_layout_set_alignment ()</h3>
|
191
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
192
|
+
clutter_bin_layout_set_alignment (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> *self</code></em>,
|
193
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *child</code></em>,
|
194
|
+
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> x_align</code></em>,
|
195
|
+
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> y_align</code></em>);</pre>
|
865
196
|
<div class="warning">
|
866
|
-
<
|
867
|
-
<p
|
868
|
-
<a class="link" href="ClutterActor.html#ClutterActor--y-align" title=
|
197
|
+
<p><code class="literal">clutter_bin_layout_set_alignment</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
198
|
+
<p>Use the <a class="link" href="ClutterActor.html#ClutterActor--x-align" title="The “x-align” property"><span class="type">“x-align”</span></a> and
|
199
|
+
<a class="link" href="ClutterActor.html#ClutterActor--y-align" title="The “y-align” property"><span class="type">“y-align”</span></a> properties of <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
869
200
|
</div>
|
870
|
-
<p>
|
871
|
-
|
872
|
-
|
873
|
-
</p>
|
874
|
-
<p>
|
875
|
-
If <em class="parameter"><code>child</code></em> is <code class="literal">NULL</code> then the <em class="parameter"><code>x_align</code></em> and <em class="parameter"><code>y_align</code></em> values will
|
876
|
-
be set as the default alignment policies
|
201
|
+
<p>Sets the horizontal and vertical alignment policies to be applied
|
202
|
+
to a <em class="parameter"><code>child</code></em>
|
203
|
+
of <em class="parameter"><code>self</code></em>
|
877
204
|
</p>
|
878
|
-
<
|
205
|
+
<p>If <em class="parameter"><code>child</code></em>
|
206
|
+
is <code class="literal">NULL</code> then the <em class="parameter"><code>x_align</code></em>
|
207
|
+
and <em class="parameter"><code>y_align</code></em>
|
208
|
+
values will
|
209
|
+
be set as the default alignment policies</p>
|
210
|
+
<div class="refsect3">
|
211
|
+
<a name="id-1.5.4.3.8.3.8"></a><h4>Parameters</h4>
|
212
|
+
<div class="informaltable"><table width="100%" border="0">
|
879
213
|
<colgroup>
|
880
|
-
<col
|
881
|
-
<col>
|
214
|
+
<col width="150px" class="parameters_name">
|
215
|
+
<col class="parameters_description">
|
216
|
+
<col width="200px" class="parameters_annotations">
|
882
217
|
</colgroup>
|
883
218
|
<tbody>
|
884
219
|
<tr>
|
885
|
-
<td
|
886
|
-
<td>a <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a>
|
887
|
-
</td>
|
220
|
+
<td class="parameter_name"><p>self</p></td>
|
221
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a></p></td>
|
222
|
+
<td class="parameter_annotations"> </td>
|
888
223
|
</tr>
|
889
224
|
<tr>
|
890
|
-
<td
|
891
|
-
<td>a child of <em class="parameter"><code>container</code></em
|
892
|
-
</td>
|
225
|
+
<td class="parameter_name"><p>child</p></td>
|
226
|
+
<td class="parameter_description"><p> a child of <em class="parameter"><code>container</code></em>
|
227
|
+
. </p></td>
|
228
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
893
229
|
</tr>
|
894
230
|
<tr>
|
895
|
-
<td
|
896
|
-
<td>the horizontal alignment policy to be used for the <em class="parameter"><code>child</code></em>
|
231
|
+
<td class="parameter_name"><p>x_align</p></td>
|
232
|
+
<td class="parameter_description"><p>the horizontal alignment policy to be used for the <em class="parameter"><code>child</code></em>
|
897
233
|
inside <em class="parameter"><code>container</code></em>
|
898
|
-
</td>
|
234
|
+
</p></td>
|
235
|
+
<td class="parameter_annotations"> </td>
|
899
236
|
</tr>
|
900
237
|
<tr>
|
901
|
-
<td
|
902
|
-
<td>the vertical aligment policy to be used on the <em class="parameter"><code>child</code></em>
|
238
|
+
<td class="parameter_name"><p>y_align</p></td>
|
239
|
+
<td class="parameter_description"><p>the vertical aligment policy to be used on the <em class="parameter"><code>child</code></em>
|
903
240
|
inside <em class="parameter"><code>container</code></em>
|
904
|
-
</td>
|
241
|
+
</p></td>
|
242
|
+
<td class="parameter_annotations"> </td>
|
905
243
|
</tr>
|
906
244
|
</tbody>
|
907
245
|
</table></div>
|
246
|
+
</div>
|
908
247
|
<p class="since">Since 1.2</p>
|
909
248
|
</div>
|
910
249
|
<hr>
|
911
250
|
<div class="refsect2">
|
912
|
-
<a name="clutter-bin-layout-get-alignment"></a><h3>clutter_bin_layout_get_alignment
|
913
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
914
|
-
|
915
|
-
|
916
|
-
|
251
|
+
<a name="clutter-bin-layout-get-alignment"></a><h3>clutter_bin_layout_get_alignment ()</h3>
|
252
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
253
|
+
clutter_bin_layout_get_alignment (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> *self</code></em>,
|
254
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *child</code></em>,
|
255
|
+
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> *x_align</code></em>,
|
256
|
+
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> *y_align</code></em>);</pre>
|
917
257
|
<div class="warning">
|
918
|
-
<
|
919
|
-
<p
|
920
|
-
<a class="link" href="ClutterActor.html#ClutterActor--y-align" title=
|
258
|
+
<p><code class="literal">clutter_bin_layout_get_alignment</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
259
|
+
<p>Use the <a class="link" href="ClutterActor.html#ClutterActor--x-align" title="The “x-align” property"><span class="type">“x-align”</span></a> and the
|
260
|
+
<a class="link" href="ClutterActor.html#ClutterActor--y-align" title="The “y-align” property"><span class="type">“y-align”</span></a> properties of <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
921
261
|
</div>
|
922
|
-
<p>
|
923
|
-
Retrieves the horizontal and vertical alignment policies for
|
262
|
+
<p>Retrieves the horizontal and vertical alignment policies for
|
924
263
|
a child of <em class="parameter"><code>self</code></em>
|
925
264
|
</p>
|
926
|
-
<p>
|
927
|
-
|
928
|
-
instead
|
929
|
-
|
930
|
-
<
|
265
|
+
<p>If <em class="parameter"><code>child</code></em>
|
266
|
+
is <code class="literal">NULL</code> the default alignment policies will be returned
|
267
|
+
instead</p>
|
268
|
+
<div class="refsect3">
|
269
|
+
<a name="id-1.5.4.3.8.4.8"></a><h4>Parameters</h4>
|
270
|
+
<div class="informaltable"><table width="100%" border="0">
|
931
271
|
<colgroup>
|
932
|
-
<col
|
933
|
-
<col>
|
272
|
+
<col width="150px" class="parameters_name">
|
273
|
+
<col class="parameters_description">
|
274
|
+
<col width="200px" class="parameters_annotations">
|
934
275
|
</colgroup>
|
935
276
|
<tbody>
|
936
277
|
<tr>
|
937
|
-
<td
|
938
|
-
<td>a <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a>
|
939
|
-
</td>
|
278
|
+
<td class="parameter_name"><p>self</p></td>
|
279
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a></p></td>
|
280
|
+
<td class="parameter_annotations"> </td>
|
940
281
|
</tr>
|
941
282
|
<tr>
|
942
|
-
<td
|
943
|
-
<td>a child of <em class="parameter"><code>container</code></em
|
944
|
-
</td>
|
283
|
+
<td class="parameter_name"><p>child</p></td>
|
284
|
+
<td class="parameter_description"><p> a child of <em class="parameter"><code>container</code></em>
|
285
|
+
. </p></td>
|
286
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
945
287
|
</tr>
|
946
288
|
<tr>
|
947
|
-
<td
|
948
|
-
<td>return location for the horizontal
|
949
|
-
alignment policy.
|
950
|
-
</td>
|
289
|
+
<td class="parameter_name"><p>x_align</p></td>
|
290
|
+
<td class="parameter_description"><p> return location for the horizontal
|
291
|
+
alignment policy. </p></td>
|
292
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
951
293
|
</tr>
|
952
294
|
<tr>
|
953
|
-
<td
|
954
|
-
<td>return location for the vertical
|
955
|
-
alignment policy.
|
956
|
-
</td>
|
295
|
+
<td class="parameter_name"><p>y_align</p></td>
|
296
|
+
<td class="parameter_description"><p> return location for the vertical
|
297
|
+
alignment policy. </p></td>
|
298
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
957
299
|
</tr>
|
958
300
|
</tbody>
|
959
301
|
</table></div>
|
302
|
+
</div>
|
960
303
|
<p class="since">Since 1.2</p>
|
961
304
|
</div>
|
962
305
|
<hr>
|
963
306
|
<div class="refsect2">
|
964
|
-
<a name="clutter-bin-layout-add"></a><h3>clutter_bin_layout_add
|
965
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
966
|
-
|
967
|
-
|
968
|
-
|
307
|
+
<a name="clutter-bin-layout-add"></a><h3>clutter_bin_layout_add ()</h3>
|
308
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
309
|
+
clutter_bin_layout_add (<em class="parameter"><code><a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> *self</code></em>,
|
310
|
+
<em class="parameter"><code><a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> *child</code></em>,
|
311
|
+
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> x_align</code></em>,
|
312
|
+
<em class="parameter"><code><a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a> y_align</code></em>);</pre>
|
969
313
|
<div class="warning">
|
970
|
-
<
|
971
|
-
<p
|
314
|
+
<p><code class="literal">clutter_bin_layout_add</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
315
|
+
<p>Use <a class="link" href="ClutterActor.html#clutter-actor-add-child" title="clutter_actor_add_child ()"><code class="function">clutter_actor_add_child()</code></a> instead.</p>
|
972
316
|
</div>
|
973
|
-
<p>
|
974
|
-
|
975
|
-
sets the alignment policies for it
|
976
|
-
|
977
|
-
<
|
978
|
-
This function is equivalent to <a class="link" href="ClutterContainer.html#clutter-container-add-actor" title="clutter_container_add_actor ()"><code class="function">clutter_container_add_actor()</code></a>
|
979
|
-
and <a class="link" href="ClutterLayoutManager.html#clutter-layout-manager-child-set-property" title="clutter_layout_manager_child_set_property ()"><code class="function">clutter_layout_manager_child_set_property()</code></a> but it does not
|
317
|
+
<p>Adds a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> to the container using <em class="parameter"><code>self</code></em>
|
318
|
+
and
|
319
|
+
sets the alignment policies for it</p>
|
320
|
+
<p>This function is equivalent to <a class="link" href="ClutterContainer.html#clutter-container-add-actor" title="clutter_container_add_actor ()"><code class="function">clutter_container_add_actor()</code></a>
|
321
|
+
and <a class="link" href="ClutterLayoutManager.html#clutter-layout-manager-child-set-property" title="clutter_layout_manager_child_set_property ()"><code class="function">clutter_layout_manager_child_set_property()</code></a> but it does not
|
980
322
|
require a pointer to the <a class="link" href="ClutterContainer.html" title="ClutterContainer"><span class="type">ClutterContainer</span></a> associated to the
|
981
|
-
<a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a>
|
982
|
-
|
983
|
-
<
|
323
|
+
<a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a></p>
|
324
|
+
<div class="refsect3">
|
325
|
+
<a name="id-1.5.4.3.8.5.8"></a><h4>Parameters</h4>
|
326
|
+
<div class="informaltable"><table width="100%" border="0">
|
327
|
+
<colgroup>
|
328
|
+
<col width="150px" class="parameters_name">
|
329
|
+
<col class="parameters_description">
|
330
|
+
<col width="200px" class="parameters_annotations">
|
331
|
+
</colgroup>
|
332
|
+
<tbody>
|
333
|
+
<tr>
|
334
|
+
<td class="parameter_name"><p>self</p></td>
|
335
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a></p></td>
|
336
|
+
<td class="parameter_annotations"> </td>
|
337
|
+
</tr>
|
338
|
+
<tr>
|
339
|
+
<td class="parameter_name"><p>child</p></td>
|
340
|
+
<td class="parameter_description"><p>a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a></p></td>
|
341
|
+
<td class="parameter_annotations"> </td>
|
342
|
+
</tr>
|
343
|
+
<tr>
|
344
|
+
<td class="parameter_name"><p>x_align</p></td>
|
345
|
+
<td class="parameter_description"><p>horizontal alignment policy for <em class="parameter"><code>child</code></em>
|
346
|
+
</p></td>
|
347
|
+
<td class="parameter_annotations"> </td>
|
348
|
+
</tr>
|
349
|
+
<tr>
|
350
|
+
<td class="parameter_name"><p>y_align</p></td>
|
351
|
+
<td class="parameter_description"><p>vertical alignment policy for <em class="parameter"><code>child</code></em>
|
352
|
+
</p></td>
|
353
|
+
<td class="parameter_annotations"> </td>
|
354
|
+
</tr>
|
355
|
+
</tbody>
|
356
|
+
</table></div>
|
357
|
+
</div>
|
358
|
+
<p class="since">Since 1.2</p>
|
359
|
+
</div>
|
360
|
+
</div>
|
361
|
+
<div class="refsect1">
|
362
|
+
<a name="ClutterBinLayout.other_details"></a><h2>Types and Values</h2>
|
363
|
+
<div class="refsect2">
|
364
|
+
<a name="ClutterBinAlignment"></a><h3>enum ClutterBinAlignment</h3>
|
365
|
+
<div class="warning">
|
366
|
+
<p><code class="literal">ClutterBinAlignment</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
367
|
+
<p>Use <a class="link" href="ClutterActor.html#ClutterActorAlign" title="enum ClutterActorAlign"><span class="type">ClutterActorAlign</span></a> and the <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>
|
368
|
+
API instead</p>
|
369
|
+
</div>
|
370
|
+
<p>The alignment policies available on each axis for <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a></p>
|
371
|
+
<div class="refsect3">
|
372
|
+
<a name="id-1.5.4.3.9.2.6"></a><h4>Members</h4>
|
373
|
+
<div class="informaltable"><table width="100%" border="0">
|
984
374
|
<colgroup>
|
985
|
-
<col
|
986
|
-
<col>
|
375
|
+
<col width="300px" class="enum_members_name">
|
376
|
+
<col class="enum_members_description">
|
377
|
+
<col width="200px" class="enum_members_annotations">
|
987
378
|
</colgroup>
|
988
379
|
<tbody>
|
989
380
|
<tr>
|
990
|
-
<td
|
991
|
-
<td
|
381
|
+
<td class="enum_member_name"><p><a name="CLUTTER-BIN-ALIGNMENT-FIXED:CAPS"></a>CLUTTER_BIN_ALIGNMENT_FIXED</p></td>
|
382
|
+
<td class="enum_member_description">
|
383
|
+
<p>Fixed position alignment; the
|
384
|
+
<a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> will honour the fixed position provided
|
385
|
+
by the actors themselves when allocating them</p>
|
992
386
|
</td>
|
387
|
+
<td class="enum_member_annotations"> </td>
|
993
388
|
</tr>
|
994
389
|
<tr>
|
995
|
-
<td
|
996
|
-
<td
|
390
|
+
<td class="enum_member_name"><p><a name="CLUTTER-BIN-ALIGNMENT-FILL:CAPS"></a>CLUTTER_BIN_ALIGNMENT_FILL</p></td>
|
391
|
+
<td class="enum_member_description">
|
392
|
+
<p>Fill the allocation size</p>
|
997
393
|
</td>
|
394
|
+
<td class="enum_member_annotations"> </td>
|
998
395
|
</tr>
|
999
396
|
<tr>
|
1000
|
-
<td
|
1001
|
-
<td
|
397
|
+
<td class="enum_member_name"><p><a name="CLUTTER-BIN-ALIGNMENT-START:CAPS"></a>CLUTTER_BIN_ALIGNMENT_START</p></td>
|
398
|
+
<td class="enum_member_description">
|
399
|
+
<p>Position the actors at the top
|
400
|
+
or left side of the container, depending on the axis</p>
|
1002
401
|
</td>
|
402
|
+
<td class="enum_member_annotations"> </td>
|
1003
403
|
</tr>
|
1004
404
|
<tr>
|
1005
|
-
<td
|
1006
|
-
<td
|
405
|
+
<td class="enum_member_name"><p><a name="CLUTTER-BIN-ALIGNMENT-END:CAPS"></a>CLUTTER_BIN_ALIGNMENT_END</p></td>
|
406
|
+
<td class="enum_member_description">
|
407
|
+
<p>Position the actors at the bottom
|
408
|
+
or right side of the container, depending on the axis</p>
|
1007
409
|
</td>
|
410
|
+
<td class="enum_member_annotations"> </td>
|
411
|
+
</tr>
|
412
|
+
<tr>
|
413
|
+
<td class="enum_member_name"><p><a name="CLUTTER-BIN-ALIGNMENT-CENTER:CAPS"></a>CLUTTER_BIN_ALIGNMENT_CENTER</p></td>
|
414
|
+
<td class="enum_member_description">
|
415
|
+
<p>Position the actors at the
|
416
|
+
center of the container, depending on the axis</p>
|
417
|
+
</td>
|
418
|
+
<td class="enum_member_annotations"> </td>
|
1008
419
|
</tr>
|
1009
420
|
</tbody>
|
1010
421
|
</table></div>
|
422
|
+
</div>
|
423
|
+
<p class="since">Since 1.2</p>
|
424
|
+
</div>
|
425
|
+
<hr>
|
426
|
+
<div class="refsect2">
|
427
|
+
<a name="ClutterBinLayout-struct"></a><h3>struct ClutterBinLayout</h3>
|
428
|
+
<pre class="programlisting">struct ClutterBinLayout;</pre>
|
429
|
+
<p>The <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a> structure contains only private data
|
430
|
+
and should be accessed using the provided API</p>
|
431
|
+
<p class="since">Since 1.2</p>
|
432
|
+
</div>
|
433
|
+
<hr>
|
434
|
+
<div class="refsect2">
|
435
|
+
<a name="ClutterBinLayoutClass"></a><h3>struct ClutterBinLayoutClass</h3>
|
436
|
+
<pre class="programlisting">struct ClutterBinLayoutClass {
|
437
|
+
};
|
438
|
+
</pre>
|
439
|
+
<p>The <a class="link" href="ClutterBinLayout.html#ClutterBinLayoutClass" title="struct ClutterBinLayoutClass"><span class="type">ClutterBinLayoutClass</span></a> structure contains only private
|
440
|
+
data and should be accessed using the provided API</p>
|
1011
441
|
<p class="since">Since 1.2</p>
|
1012
442
|
</div>
|
1013
443
|
</div>
|
1014
444
|
<div class="refsect1">
|
1015
445
|
<a name="ClutterBinLayout.property-details"></a><h2>Property Details</h2>
|
1016
446
|
<div class="refsect2">
|
1017
|
-
<a name="ClutterBinLayout--x-align"></a><h3>The <code class="literal"
|
1018
|
-
<pre class="programlisting">
|
447
|
+
<a name="ClutterBinLayout--x-align"></a><h3>The <code class="literal">“x-align”</code> property</h3>
|
448
|
+
<pre class="programlisting"> “x-align” <a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a></pre>
|
449
|
+
<p>The default horizontal alignment policy for actors managed
|
450
|
+
by the <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a></p>
|
1019
451
|
<div class="warning">
|
1020
|
-
<
|
1021
|
-
<p
|
1022
|
-
<a class="link" href="ClutterActor.html#ClutterActor--x-align" title=
|
452
|
+
<p><code class="literal">ClutterBinLayout:x-align</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
453
|
+
<p>Use the <a class="link" href="ClutterActor.html#ClutterActor--x-expand" title="The “x-expand” property"><span class="type">“x-expand”</span></a> and the
|
454
|
+
<a class="link" href="ClutterActor.html#ClutterActor--x-align" title="The “x-align” property"><span class="type">“x-align”</span></a> properties on <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
1023
455
|
</div>
|
1024
|
-
<p>
|
1025
|
-
The default horizontal alignment policy for actors managed
|
1026
|
-
by the <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a>
|
1027
|
-
</p>
|
456
|
+
<p>Flags: Read / Write</p>
|
1028
457
|
<p>Default value: CLUTTER_BIN_ALIGNMENT_CENTER</p>
|
1029
458
|
<p class="since">Since 1.2</p>
|
1030
459
|
</div>
|
1031
460
|
<hr>
|
1032
461
|
<div class="refsect2">
|
1033
|
-
<a name="ClutterBinLayout--y-align"></a><h3>The <code class="literal"
|
1034
|
-
<pre class="programlisting">
|
462
|
+
<a name="ClutterBinLayout--y-align"></a><h3>The <code class="literal">“y-align”</code> property</h3>
|
463
|
+
<pre class="programlisting"> “y-align” <a class="link" href="ClutterBinLayout.html#ClutterBinAlignment" title="enum ClutterBinAlignment"><span class="type">ClutterBinAlignment</span></a></pre>
|
464
|
+
<p>The default vertical alignment policy for actors managed
|
465
|
+
by the <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a></p>
|
1035
466
|
<div class="warning">
|
1036
|
-
<
|
1037
|
-
<p
|
1038
|
-
<a class="link" href="ClutterActor.html#ClutterActor--y-align" title=
|
467
|
+
<p><code class="literal">ClutterBinLayout:y-align</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p>
|
468
|
+
<p>Use the <a class="link" href="ClutterActor.html#ClutterActor--y-expand" title="The “y-expand” property"><span class="type">“y-expand”</span></a> and the
|
469
|
+
<a class="link" href="ClutterActor.html#ClutterActor--y-align" title="The “y-align” property"><span class="type">“y-align”</span></a> properties on <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a> instead.</p>
|
1039
470
|
</div>
|
1040
|
-
<p>
|
1041
|
-
The default vertical alignment policy for actors managed
|
1042
|
-
by the <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><span class="type">ClutterBinLayout</span></a>
|
1043
|
-
</p>
|
471
|
+
<p>Flags: Read / Write</p>
|
1044
472
|
<p>Default value: CLUTTER_BIN_ALIGNMENT_CENTER</p>
|
1045
473
|
<p class="since">Since 1.2</p>
|
1046
474
|
</div>
|
@@ -1048,6 +476,6 @@ by the <a class="link" href="ClutterBinLayout.html" title="ClutterBinLayout"><sp
|
|
1048
476
|
</div>
|
1049
477
|
<div class="footer">
|
1050
478
|
<hr>
|
1051
|
-
Generated by GTK-Doc V1.
|
479
|
+
Generated by GTK-Doc V1.20.1</div>
|
1052
480
|
</body>
|
1053
481
|
</html>
|