Include dependency graph for xinput.c:

Go to the source code of this file.
Defines | |
| #define | MINI(a, b) (((a)<(b))? (a):(b)) |
| #define | MAXI(a, b) (((a)>(b))? (a):(b)) |
| #define | LABELPROPS |
| #define | REMOVE_CALLBACK(widget, id) |
| #define | UPDATE_STRING(widget) |
| #define | UPDATE_SLIDERPOS |
| #define | RESTORE_CALLBACK(widget, id) |
| #define | ISSAMEWIDGET(i, j) |
| #define | ISSAMEVARIABLE(i, j) ((strcmp( widgets[i].generic.variable,widgets[j].generic.variable) == 0)) |
| #define | NWINDOWS 10 |
| #define | NMAXCHOICE 128 |
Functions | |
| int | on_close_dialog (char *return_command, int returned_code) |
| int | run_xinput (int argc, char **argv) |
Variables | |
| char | window_title [10][TITLELENGTH] |
| char | helpfilename [10][HLPFILELNGTH] |
| char | main_command [COMMANDLENGTH] |
| global_struct | widgets [NSTRUCT] |
| int | nb_widgets |
| #define ISSAMEWIDGET | ( | i, | |||
| j | ) |
| #define LABELPROPS |
| #define REMOVE_CALLBACK | ( | widget, | |||
| id | ) |
| #define RESTORE_CALLBACK | ( | widget, | |||
| id | ) |
| #define UPDATE_SLIDERPOS |
Value:
{ char *dum;\
int val;\
dum = (char *) XmTextFieldGetString( sliderchain_w[i]);\
widgets[i].slider.uservalue = \
MINI(MAXI(widgets[i].slider.min, atof( dum)), \
widgets[i].slider.min + widgets[i].slider.width); \
val = (int)( 100*((float) atof( dum) - widgets[i].slider.min)/\
widgets[i].slider.width);\
val = MINI(MAXI(0, val), 100);\
XtVaSetValues( slider_w[i],XmNvalue,val,NULL);\
XtFree( dum);\
}
| #define UPDATE_STRING | ( | widget | ) |
| int on_close_dialog | ( | char * | return_command, | |
| int | returned_code | |||
| ) |
Definition at line 2061 of file xinput.c.
References sic_close_widget_board(), sic_open_widget_board(), sic_post_command_text(), sic_set_widget_def(), sic_set_widget_returned_code(), and sic_set_widget_returned_command().
Here is the call graph for this function:

| int run_xinput | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 2079 of file xinput.c.
References DialogFunc(), helpfilename, ISSAMEVARIABLE, main_command, sic_add_modified_variable_listener(), sic_close_widget_board(), sic_get_widget_def(), sic_get_widget_global_infos(), sic_open_widget_board(), update_variable(), and window_title.
Here is the call graph for this function:

| char helpfilename[10][HLPFILELNGTH] |
| char main_command[COMMANDLENGTH] |
| int nb_widgets |
| global_struct widgets[NSTRUCT] |
Definition at line 105 of file xinput.c.
Referenced by ChoiceSubclassProc(), DialogFunc(), EditSubclassProc(), MainWndProc(), and update_variable().
| char window_title[10][TITLELENGTH] |
1.5.1