Class

PhocOutputShield

Description [src]

final class Phoc.OutputShield : GObject.Object
  implements Phoc.Animatable {
  /* No available fields */
}

A shield that covers a whole PhocOutput. It can be raised (to cover the whole screen) and lowered to show the screens content.

TODO: Use PhocColorRect to simplify.

Ancestors

Implements

Constructors

phoc_output_shield_new
No description available.

Instance methods

phoc_output_shield_is_raised

Check whether the shield is currently fully up (raised). We return FALSE when the shield is either down or already fading out.

phoc_output_shield_lower

Lower the shield exposing the output’s content.

phoc_output_shield_raise

Draw the shield to cover the whole output.

phoc_output_shield_set_duration
No description available.

phoc_output_shield_set_easing
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from PhocAnimatable (2)
phoc_animatable_add_frame_callback

Adds a callback to be called before each frame. Until the frame callback is removed, it will be at the frame rate of the output. The frame callback does not automatically imply any repaint. You need to damage the areas you want repainted.

phoc_animatable_remove_frame_callback
No description available.

Properties

Phoc.OutputShield:alpha

The current transparency of this shield.

Phoc.OutputShield:easing

The easing function to use.

Phoc.OutputShield:output

The output covered by this shield.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PhocOutputShieldClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.