ClutterBehaviourOpacity

ClutterBehaviourOpacity — Behaviour controlling the opacity

Synopsis




                    ClutterBehaviourOpacity;
                    ClutterBehaviourOpacityClass;
ClutterBehaviour*   clutter_behaviour_opacity_new       (ClutterAlpha *alpha,
                                                         guint8 opacity_start,
                                                         guint8 opacity_end);


Object Hierarchy


  GObject
   +----ClutterBehaviour
         +----ClutterBehaviourOpacity

Properties


  "opacity-end"              guint                 : Read / Write / Construct
  "opacity-start"            guint                 : Read / Write / Construct

Description

ClutterBehaviourOpacity controls the opacity of a set of actors.

Details

ClutterBehaviourOpacity

typedef struct _ClutterBehaviourOpacity ClutterBehaviourOpacity;


ClutterBehaviourOpacityClass

typedef struct {
  ClutterBehaviourClass   parent_class;
} ClutterBehaviourOpacityClass;


clutter_behaviour_opacity_new ()

ClutterBehaviour*   clutter_behaviour_opacity_new       (ClutterAlpha *alpha,
                                                         guint8 opacity_start,
                                                         guint8 opacity_end);

Creates a new ClutterBehaviourOpacity object, driven by alpha which controls the opacity property of every actor, making it change in the interval between opacity_start and opacity_end.

alpha : a ClutterAlpha instance, or NULL
opacity_start : minimum level of opacity
opacity_end : maximum level of opacity
Returns : the newly created ClutterBehaviourOpacity

Since 0.2

Property Details

The "opacity-end" property

  "opacity-end"              guint                 : Read / Write / Construct

Final opacity level of the behaviour.

Allowed values: <= 255

Default value: 0

Since 0.2


The "opacity-start" property

  "opacity-start"            guint                 : Read / Write / Construct

Initial opacity level of the behaviour.

Allowed values: <= 255

Default value: 0

Since 0.2