GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Progress callback. More...
#include <gp_progress_callback.h>
Data Fields | |
float | percentage |
Current progress. | |
int(* | callback )(struct gp_progress_cb *self) |
A progress callback handler. | |
void * | priv |
User private pointer. | |
unsigned int | threads |
A number of threads. | |
Progress callback.
Non zero return value from callback will abort current operation free memory and return NULL from filter/loader...
Definition at line 28 of file gp_progress_callback.h.
unsigned int gp_progress_cb::threads |
A number of threads.
Number of threads to use (if supported). This setting could be used to override the default number of threads as returned by gp_nr_threads().
0 == use number returned from gp_nr_threads().
>= 1 use exactly n threads
Definition at line 48 of file gp_progress_callback.h.