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

void awn_effects_init ( GObject *  obj,
AwnEffects *  fx 
)

Initializes AwnEffects structure.

Parameters:
obj Object which will be passed to all callback functions, this object is also passed to gtk_widget_queue_draw() during the animation.
fx Pointer to AwnEffects structure.

Definition at line 71 of file awn-effects.c.

                                                {
      fx->self = self;
      fx->settings = awn_get_settings();
      fx->focus_window = NULL;
      fx->title = NULL;
      fx->get_title = NULL;
      fx->effect_queue = NULL;
      
      fx->window_width = 0;
      fx->window_height = 0;
      fx->icon_width = 48;
      fx->icon_height = 48;
      fx->delta_width = 0;
      fx->delta_height = 0;

      /* EFFECT VARIABLES */
      fx->effect_lock = FALSE;
      fx->direction = AWN_EFFECT_DIR_NONE;
      fx->count = 0;

      fx->x_offset = 0;
      fx->y_offset = 0;
      fx->rotate_degrees = 0.0;
      fx->alpha = 1.0;
      fx->spotlight_alpha = 0.0;
      fx->saturation = 1.0;
      fx->glow_amount = 0.0;

      fx->hover = FALSE;
      fx->clip = FALSE;
      fx->flip = FALSE;
      fx->spotlight = FALSE;

      fx->enter_notify = 0;
      fx->leave_notify = 0;
      fx->timer_id = 0;
}


Generated by  Doxygen 1.6.0   Back to index