cuikplay_callbacks.h File Reference

Detailed Description

Headers of the GTK callback functions for cuikplay.

See Also
cuikplay_callbacks.c

Definition in file cuikplay_callbacks.h.

Functions

void on_cuikplay_play_clicked (GtkButton *button, gpointer user_data)
 Callback function for the play button. More...
 
void on_cuikplay_pause_clicked (GtkButton *button, gpointer user_data)
 Callback function for the pause button. More...
 
void on_cuikplay_quit (GtkButton *button, gpointer user_data)
 Callback function for the quit button. More...
 
void on_cuikplay_slider_changed (GtkRange *range, gpointer user_data)
 Callback function for the slider bar. More...
 

Function Documentation

void on_cuikplay_play_clicked ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the play button.

Parameters
buttonThe pointer to the GTK button.
user_dataPointer to the structure with the control data of cuikplay.

Definition at line 21 of file cuikplay_callbacks.c.

References TCuikPlayControl::mode.

void on_cuikplay_pause_clicked ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the pause button.

Parameters
buttonThe pointer to the GTK button.
user_dataPointer to the structure with the control data of cuikplay.

Definition at line 34 of file cuikplay_callbacks.c.

References TCuikPlayControl::mode.

void on_cuikplay_quit ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the quit button.

Parameters
buttonThe pointer to the GTK button.
user_dataPointer to the structure with the control data of cuikplay.

Definition at line 59 of file cuikplay_callbacks.c.

References TCuikPlayControl::end, and TRUE.

void on_cuikplay_slider_changed ( GtkRange *  range,
gpointer  user_data 
)

Callback function for the slider bar: it is called whenever the slider value is changed.

Parameters
rangeThe pointer to the GTK range.
user_dataPointer to the structure with the control data of cuikplay.

Definition at line 43 of file cuikplay_callbacks.c.

References TCuikPlayControl::nextFrame.