| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.18 Frames (Pure C)
These functions provide ability to create several pictures simultaneously. For most of cases it is useless but for widget classes (see section Widget classes) they can provide a way to show animation.
- C function:
intmgl_new_frame (HMGLgr,intid=0) Creates new frame. Function returns current frame id. Zero or negative parameter id leads to automatic numbering frames. Positive one sets the new frame id directly. This is not thread safe function! Use direct list creation in multithreading drawing. The function
mgl_end_frame()must be call after the finishing of the frame drawing for each call of this function.
