[Main]
Name=TicalcInfoUpdate
Type=Structure
Header=calc_def.h
Definition=struct TicalcInfoUpdate

[Fields]
int cancel : when set to non-0 by the GUI, the library aborts the current transfer
char label_text[256] : the text of the label to display
int count : number of bytes currently transferred
int total : number of bytes to transfer
float percentage : percentage of the current operation (free for use)
float prev_percentage : previous percentage of current operation (idem)
float main_percentage : percentage of all operations
float prev_main_percentage : previous percentage of all operations

void (*@ticalcinfoupdate.start@)   (void) : init internal variables
void (*@ticalcinfoupdate.stop@)    (void) : release internal variables
void (*@ticalcinfoupdate.refresh@) (void) : pass control to the GUI for refresh
void (*@ticalcinfoupdate.pbar@)    (void) : refresh the progress bars
void (*@ticalcinfoupdate.label@)   (void) : refresh the label

[Summary]
Structure used to display informations in a GUI and set callbacks.

[Description]
This structure contains several fields used by the library to store its state on the current transfer and to interact with the GUI, too.

[See also]
@ticalc_set_update@