Include dependency graph for sic_xgag.c:

Go to the source code of this file.
Defines | |
| #define | SIGCLD SIGCHLD |
Functions | |
| void CFC_API | xgag_separator (int *win_id) |
| global_struct * | set_generic (int type, int win_id, CFC_FString variable, CFC_FString label) |
| void CFC_API | xgag_logic (CFC_FString variable, CFC_FString txt, int *flag, int *win_id) |
| void CFC_API | xgag_file (CFC_FString variable, CFC_FString txt, char *c, int *length, CFC_FString filter, int *win_id) |
| void CFC_API | xgag_choice (CFC_FString variable, CFC_FString txt, char *ch, int *length, xgag_choicelst *liste, int *nch, int *ind, int *win_id) |
| void CFC_API | xgag_slider (CFC_FString variable, CFC_FString txt, float *f, float *min, float *max, int *win_id) |
| void CFC_API | xgag_ch (CFC_FString variable, CFC_FString txt, char *c, int *length, int *win_id, int *editable) |
| void CFC_API | xgag_show (char *c, int *length, int *win_id) |
| void CFC_API | xgag_button (CFC_FString title, CFC_FString command, CFC_FString label, int *length, CFC_FString helptxt, CFC_FString moretxt) |
| void CFC_API | end_dialog (void) |
| void CFC_API | xgag_open (CFC_FString txt, CFC_FString name, int *code) |
| void CFC_API | xgag_update (CFC_FString variable, CFC_FzString update) |
| void CFC_API | get_user_input (CFC_FzString return_command, int *err_code) |
| void CFC_API | xgag_dialog (CFC_FzString return_command, int *err_code) |
Variables | |
| char * | dialoghelpname [MAX_NB_DIALOG] |
On the FORTRAN SIC side, there exist only a table of pointers to fixed-length strings containing the initial and returned value of a variable. It is also the role of this library to map C null-terminated strings used by the GUIs to fixed-lengthstrings handy in FORTRAN.
Definition in file sic_xgag.c.
| #define SIGCLD SIGCHLD |
Definition at line 38 of file sic_xgag.c.
| void CFC_API end_dialog | ( | void | ) |
Definition at line 192 of file sic_xgag.c.
References NSTRUCT, and on_end_dialog().
Here is the call graph for this function:

| void CFC_API get_user_input | ( | CFC_FzString | return_command, | |
| int * | err_code | |||
| ) |
Definition at line 267 of file sic_xgag.c.
References BROWSER, CFC_fz2c_string(), global_struct::chain, CHAIN, global_struct::choice, CHOICE, global_struct::file, logic_struct::logic, global_struct::logic, LOGIC, nb_widgets, NSTRUCT, sic_close_widget_board(), sic_get_widget_def(), sic_get_widget_returned_code(), sic_get_widget_returned_command(), sic_open_widget_board(), global_struct::slider, SLIDER, file_struct::userchain, chain_struct::userchain, choice_struct::userchoice, logic_struct::userlogic, slider_struct::uservalue, and slider_struct::value.
Here is the call graph for this function:

| global_struct* set_generic | ( | int | type, | |
| int | win_id, | |||
| CFC_FString | variable, | |||
| CFC_FString | label | |||
| ) |
Definition at line 82 of file sic_xgag.c.
References global_struct::generic, generic_struct::label, LABELLENGTH, SICVLN, generic_struct::type, generic_struct::variable, and generic_struct::window_id.
| void CFC_API xgag_button | ( | CFC_FString | title, | |
| CFC_FString | command, | |||
| CFC_FString | label, | |||
| int * | length, | |||
| CFC_FString | helptxt, | |||
| CFC_FString | moretxt | |||
| ) |
Definition at line 165 of file sic_xgag.c.
References BUTTON, button_struct::command, COMMANDLENGTH, button_struct::helptxt, HLPFILELNGTH, button_struct::label, LABELLENGTH, button_struct::moretxt, button_struct::showlength, button_struct::title, TITLELENGTH, button_struct::type, and button_struct::window_id.
| void CFC_API xgag_ch | ( | CFC_FString | variable, | |
| CFC_FString | txt, | |||
| char * | c, | |||
| int * | length, | |||
| int * | win_id, | |||
| int * | editable | |||
| ) |
Definition at line 146 of file sic_xgag.c.
References chain_struct::chain, global_struct::chain, CHAIN, CHAINLENGTH, chain_struct::editable, chain_struct::length, set_generic(), and chain_struct::userchain.
Here is the call graph for this function:

| void CFC_API xgag_choice | ( | CFC_FString | variable, | |
| CFC_FString | txt, | |||
| char * | ch, | |||
| int * | length, | |||
| xgag_choicelst * | liste, | |||
| int * | nch, | |||
| int * | ind, | |||
| int * | win_id | |||
| ) |
Definition at line 121 of file sic_xgag.c.
References CHAINLENGTH, choice_struct::choice, global_struct::choice, CHOICE, choice_struct::choices, xgag_choicelst::chs, choice_struct::length, choice_struct::mode, choice_struct::nchoices, set_generic(), choice_struct::userchoice, and X_CHOLEN.
Here is the call graph for this function:

| void CFC_API xgag_dialog | ( | CFC_FzString | return_command, | |
| int * | err_code | |||
| ) |
Definition at line 329 of file sic_xgag.c.
References CFC_fz2c_string(), global_struct::generic, launch_xinput(), sic_add_widget_def(), sic_close_widget_board(), sic_create_widget_board(), sic_set_widget_global_infos(), sic_wait_widget_created(), and generic_struct::type.
Here is the call graph for this function:

| void CFC_API xgag_file | ( | CFC_FString | variable, | |
| CFC_FString | txt, | |||
| char * | c, | |||
| int * | length, | |||
| CFC_FString | filter, | |||
| int * | win_id | |||
| ) |
Definition at line 110 of file sic_xgag.c.
References BROWSER, file_struct::chain, CHAINLENGTH, global_struct::file, file_struct::filter, FILTERLENGTH, file_struct::length, set_generic(), and file_struct::userchain.
Here is the call graph for this function:

| void CFC_API xgag_logic | ( | CFC_FString | variable, | |
| CFC_FString | txt, | |||
| int * | flag, | |||
| int * | win_id | |||
| ) |
Definition at line 102 of file sic_xgag.c.
References logic_struct::logic, global_struct::logic, LOGIC, set_generic(), and logic_struct::userlogic.
Here is the call graph for this function:

| void CFC_API xgag_open | ( | CFC_FString | txt, | |
| CFC_FString | name, | |||
| int * | code | |||
| ) |
Definition at line 208 of file sic_xgag.c.
References dialoghelpname, end_dialog, HLPFILELNGTH, and TITLELENGTH.
| void CFC_API xgag_separator | ( | int * | win_id | ) |
Definition at line 74 of file sic_xgag.c.
References SEPARATOR, generic_struct::type, and generic_struct::window_id.
| void CFC_API xgag_show | ( | char * | c, | |
| int * | length, | |||
| int * | win_id | |||
| ) |
Definition at line 156 of file sic_xgag.c.
References SHOW, show_struct::text, TEXTLENGTH, show_struct::type, and show_struct::window_id.
| void CFC_API xgag_slider | ( | CFC_FString | variable, | |
| CFC_FString | txt, | |||
| float * | f, | |||
| float * | min, | |||
| float * | max, | |||
| int * | win_id | |||
| ) |
Definition at line 136 of file sic_xgag.c.
References slider_struct::min, set_generic(), global_struct::slider, SLIDER, slider_struct::uservalue, slider_struct::value, and slider_struct::width.
Here is the call graph for this function:

| void CFC_API xgag_update | ( | CFC_FString | variable, | |
| CFC_FzString | update | |||
| ) |
Definition at line 219 of file sic_xgag.c.
References BROWSER, CFC_fz2c_string(), CHAIN, CHAINLENGTH, CHOICE, global_struct::logic, LOGIC, NSTRUCT, sic_fire_modified_variable_event(), SIC_TASK_NULL, SICVLN, global_struct::slider, SLIDER, logic_struct::userlogic, and slider_struct::uservalue.
Here is the call graph for this function:

| char* dialoghelpname[MAX_NB_DIALOG] |
Definition at line 46 of file win-dialogs.c.
1.5.1