Logo Search packages:      
Sourcecode: avant-window-navigator version File versions  Download package

awn-effects.h File Reference


Detailed Description

Definition in file awn-effects.h.

#include <gtk/gtk.h>
#include "awn-defines.h"
#include "awn-gconf.h"
#include "awn-title.h"

Go to the source code of this file.

Classes

struct  _AwnEffects

Typedefs

typedef struct _AwnEffects AwnEffects
typedef void(* AwnEventNotify )(GObject *)
typedef const gchar *(* AwnTitleCallback )(GObject *)

Enumerations

enum  AwnEffect {
  AWN_EFFECT_NONE, AWN_EFFECT_OPENING, AWN_EFFECT_LAUNCHING, AWN_EFFECT_HOVER,
  AWN_EFFECT_ATTENTION, AWN_EFFECT_CLOSING, AWN_EFFECT_DESATURATE
}
enum  AwnEffectSequence {
  AWN_EFFECT_DIR_NONE, AWN_EFFECT_DIR_STOP, AWN_EFFECT_DIR_DOWN, AWN_EFFECT_DIR_UP,
  AWN_EFFECT_DIR_LEFT, AWN_EFFECT_DIR_RIGHT, AWN_EFFECT_SQUISH_DOWN, AWN_EFFECT_SQUISH_DOWN2,
  AWN_EFFECT_SQUISH_UP, AWN_EFFECT_SQUISH_UP2, AWN_EFFECT_TURN_1, AWN_EFFECT_TURN_2,
  AWN_EFFECT_TURN_3, AWN_EFFECT_TURN_4, AWN_EFFECT_SPOTLIGHT_ON, AWN_EFFECT_SPOTLIGHT_TREMBLE_UP,
  AWN_EFFECT_SPOTLIGHT_TREMBLE_DOWN, AWN_EFFECT_SPOTLIGHT_OFF
}

Functions

void awn_draw_background (AwnEffects *, cairo_t *)
void awn_draw_foreground (AwnEffects *, cairo_t *)
void awn_draw_icons (AwnEffects *, cairo_t *, GdkPixbuf *, GdkPixbuf *)
void awn_draw_set_icon_size (AwnEffects *, const gint, const gint)
void awn_draw_set_window_size (AwnEffects *, const gint, const gint)
void awn_effect_start (AwnEffects *fx, const AwnEffect effect)
void awn_effect_start_ex (AwnEffects *fx, const AwnEffect effect, AwnEventNotify start, AwnEventNotify stop, gint max_loops)
 Extended effect start, which provides callbacks for animation start, end and possibility to specify maximum number of loops.
void awn_effect_stop (AwnEffects *fx, const AwnEffect effect)
 Stop a single effect.
void awn_effects_finalize (AwnEffects *fx)
 Finalizes AwnEffects usage and frees internally allocated memory. (also calls awn_unregister_effects()).
void awn_effects_init (GObject *obj, AwnEffects *fx)
 Initializes AwnEffects structure.
void awn_effects_set_title (AwnEffects *fx, AwnTitle *title, AwnTitleCallback title_func)
 Makes AwnTitle appear on event-notify.
void awn_register_effects (GObject *obj, AwnEffects *fx)
 Registers enter-notify and leave-notify events for managed window.
void awn_unregister_effects (AwnEffects *fx)
 Unregisters events for managed window.


Generated by  Doxygen 1.6.0   Back to index