Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

cuikplay_callbacks.h File Reference

#include <gtk/gtk.h>

Go to the source code of this file.

Functions

void on_button3_clicked (GtkButton *button, gpointer user_data)
 Callback function for the play button.
void on_button4_clicked (GtkButton *button, gpointer user_data)
 Callback function for the pause button.
void on_quit (GtkButton *button, gpointer user_data)
 Callback function for the quit button.
void on_hscale1_value_changed (GtkRange *range, gpointer user_data)
 Callback function for the slider bar.

Detailed Description

Headers of the GTK callback functions for cuikplay.

Definition in file cuikplay_callbacks.h.


Function Documentation

void on_button3_clicked ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the play button.

Parameters:
button The pointer to the GTK button.
user_data Pointer to the structure with the control data of cuikplay.

Definition at line 19 of file cuikplay_callbacks.c.

References TCuikPlayControl::mode.

void on_button4_clicked ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the pause button.

Parameters:
button The pointer to the GTK button.
user_data Pointer to the structure with the control data of cuikplay.

Definition at line 29 of file cuikplay_callbacks.c.

References TCuikPlayControl::mode, and TCuikPlayControl::time.

void on_quit ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the quit button.

Parameters:
button The pointer to the GTK button.
user_data Pointer to the structure with the control data of cuikplay.

Definition at line 55 of file cuikplay_callbacks.c.

References TCuikPlayControl::end, and TRUE.

void on_hscale1_value_changed ( GtkRange *  range,
gpointer  user_data 
)

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

Parameters:
range The pointer to the GTK range.
user_data Pointer to the structure with the control data of cuikplay.

Definition at line 39 of file cuikplay_callbacks.c.

References TCuikPlayControl::nextFrame.