cuikexplore_callbacks.h File Reference

Detailed Description

Headers of the GTK callback functions for cuikexplore.

See Also
cuikexplore_callbacks.c

Definition in file cuikexplore_callbacks.h.

Functions

void on_cuikexplore_plus_clicked (GtkButton *button, gpointer user_data)
 Callback function for the plus buttons. More...
 
void on_cuikexplore_up_pressed (GtkButton *button, gpointer user_data)
 Callback function for the plus buttons. More...
 
void on_cuikexplore_up_released (GtkButton *button, gpointer user_data)
 Callback function for the plus buttons. More...
 
void on_cuikexplore_minus_clicked (GtkButton *button, gpointer user_data)
 Callback function for the plus buttons. More...
 
void on_cuikexplore_down_pressed (GtkButton *button, gpointer user_data)
 Callback function for the minus buttons. More...
 
void on_cuikexplore_down_released (GtkButton *button, gpointer user_data)
 Callback function for the plus buttons. More...
 
void on_cuikexplore_menu_changed (GtkComboBox *menu, gpointer user_data)
 Callback function for the menus. More...
 
void on_cuikexplore_quit (GtkButton *button, gpointer user_data)
 Callback function for the quit button. More...
 
void on_cuikexplore_save (GtkButton *button, gpointer user_data)
 Callback function for the save button. More...
 
void on_cuikexplore_step_changed (GtkEntry *entry, gpointer user_data)
 Callback function for the step entry. More...
 
void on_cuikexplore_reset (GtkButton *button, gpointer user_data)
 Callback function for the reset button. More...
 

Function Documentation

void on_cuikexplore_plus_clicked ( GtkButton *  button,
gpointer  user_data 
)

Callback function called when a plus button is clicked (pressed and released).

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

Definition at line 23 of file cuikexplore_callbacks.c.

References TCuikexploreControl::changed, TCuikexploreControl::ndx, TCuikexploreControl::oneStep, TCuikexploreControl::step, TRUE, and TCuikexploreControl::vectDOF.

void on_cuikexplore_up_pressed ( GtkButton *  button,
gpointer  user_data 
)

Callback function called when a up button is pressed.

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

Definition at line 43 of file cuikexplore_callbacks.c.

References TCuikexploreControl::changed, FALSE, TCuikexploreControl::ndx, TCuikexploreControl::oneStep, TCuikexploreControl::step, TRUE, and TCuikexploreControl::vectDOF.

void on_cuikexplore_up_released ( GtkButton *  button,
gpointer  user_data 
)

Callback function called when a plus button is released.

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

Definition at line 63 of file cuikexplore_callbacks.c.

References TCuikexploreControl::changed, FALSE, TCuikexploreControl::ndx, and TCuikexploreControl::vectDOF.

void on_cuikexplore_minus_clicked ( GtkButton *  button,
gpointer  user_data 
)

Callback function called when a minus button is clicked (pressed and released).

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

Definition at line 82 of file cuikexplore_callbacks.c.

References TCuikexploreControl::changed, TCuikexploreControl::ndx, TCuikexploreControl::oneStep, TCuikexploreControl::step, TRUE, and TCuikexploreControl::vectDOF.

void on_cuikexplore_down_pressed ( GtkButton *  button,
gpointer  user_data 
)

Callback function called when a minus button is pressed.

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

Definition at line 103 of file cuikexplore_callbacks.c.

References TCuikexploreControl::changed, FALSE, TCuikexploreControl::ndx, TCuikexploreControl::oneStep, TCuikexploreControl::step, TRUE, and TCuikexploreControl::vectDOF.

void on_cuikexplore_down_released ( GtkButton *  button,
gpointer  user_data 
)

Callback function called when a minus button is released.

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

Definition at line 122 of file cuikexplore_callbacks.c.

References TCuikexploreControl::changed, FALSE, TCuikexploreControl::ndx, and TCuikexploreControl::vectDOF.

void on_cuikexplore_menu_changed ( GtkComboBox *  menu,
gpointer  user_data 
)

Callback function called when one of the menus is changed. This implies to change the parametrization.

Parameters
menuThe pointer to the GTK button.
user_dataPointer to the structure with the control data of cuikexplore.

Definition at line 150 of file cuikexplore_callbacks.c.

References TCuikexploreControl::d2e, TCuikexploreControl::e2d, FALSE, and TCuikexploreControl::ndx.

void on_cuikexplore_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 cuikexplore.

Definition at line 141 of file cuikexplore_callbacks.c.

References TCuikexploreControl::end, and TRUE.

void on_cuikexplore_save ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the save button.

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

Definition at line 185 of file cuikexplore_callbacks.c.

References CreateFileName(), DeleteFileName(), Error(), TCuikexploreControl::fw, GetFileFullName(), JOINTS_EXT, LINKS_EXT, TCuikexploreControl::m, TCuikexploreControl::point, TCuikexploreControl::rep, and REP_JOINTS.

void on_cuikexplore_step_changed ( GtkEntry *  entry,
gpointer  user_data 
)

Callback function for the step entry.

Parameters
entryThe pointer to the GTK entry.
user_dataPointer to the structure with the control data of cuikexplore.

Definition at line 213 of file cuikexplore_callbacks.c.

References TCuikexploreControl::step.

void on_cuikexplore_reset ( GtkButton *  button,
gpointer  user_data 
)

Callback function for the reset button.

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

Definition at line 233 of file cuikexplore_callbacks.c.

References TCuikexploreControl::reset, and TRUE.