Previous: Error handling, Up: Graphics setup [Contents][Index]
mglGraph
: void
Stop (bool
stop=true
)void
mgl_ask_stop (HMGL
gr, int
stop)Ask to stop drawing if stop is non-zero, otherwise reset stop flag.
mglGraph
: bool
NeedStop ()void
mgl_need_stop (HMGL
gr)Return true
if drawing should be terminated. Also it process all events in GUI. User should call this function from time to time inside a long calculation to allow processing events for GUI.
mglGraph
: bool
SetEventFunc (void (*
func)(void *)
, void *
par=NULL
)void
mgl_set_event_func (HMGL
gr, void (*
func)(void *)
, void *
par)Set callback function which will be called to process events of GUI library.