📄 group__mgext__ctrl__animation.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>MiniGUI V1.6.10 API Reference: ANIMATION control and animation GIF (GIF87a/GIF89a) support</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.htm">Main Page</a> | <a class="qindex" href="modules.htm">Modules</a> | <a class="qindex" href="classes.htm">Alphabetical List</a> | <a class="qindex" href="annotated.htm">Data Structures</a> | <a class="qindex" href="dirs.htm">Directories</a> | <a class="qindex" href="files.htm">File List</a> | <a class="qindex" href="functions.htm">Data Fields</a> | <a class="qindex" href="globals.htm">Globals</a> | <a class="qindex" href="pages.htm">Related Pages</a></div><h1>ANIMATION control and animation GIF (GIF87a/GIF89a) support<br><small>[<a class="el" href="group__mgext__controls.htm">Controls defined in libmgext</a>]</small></h1><h2>Modules</h2><ul><li><a class="el" href="group__mgext__ctrl__animation__styles.htm">Styles of ANIMATION control</a><li><a class="el" href="group__mgext__control__animation__msgs.htm">Messages of ANIMATION control</a><li><a class="el" href="group__mgext__ctrl__animation__ncs.htm">Notification code of ANIMATION control</a></ul><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct__ANIMATIONFRAME.htm">_ANIMATIONFRAME</a><li>struct <a class="el" href="struct__ANIMATION.htm">_ANIMATION</a></ul><h2>Defines</h2><ul><li>#define <a class="el" href="group__mgext__ctrl__animation.htm#ga6">CTRL_ANIMATION</a> ("Animation")<li>#define <a class="el" href="group__mgext__ctrl__animation.htm#ga7">ANIMATION_OKAY</a> 0<li>#define <a class="el" href="group__mgext__ctrl__animation.htm#ga8">ANIMATION_ERR</a> 1<li>#define <a class="el" href="group__mgext__ctrl__animation.htm#ga9">ANNC_CLICKED</a> 1<dl class="el"><dd class="mdescRight">Indicates the user has clicked the control. <a href="#ga9"></a><br></dl><li>#define <a class="el" href="group__mgext__ctrl__animation.htm#ga10">ANNC_DBLCLK</a> 2<dl class="el"><dd class="mdescRight">Indicates the user has double clicked the control. <a href="#ga10"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="struct__ANIMATIONFRAME.htm">_ANIMATIONFRAME</a> <a class="el" href="group__mgext__ctrl__animation.htm#ga0">ANIMATIONFRAME</a><li>typedef <a class="el" href="struct__ANIMATION.htm">_ANIMATION</a> <a class="el" href="group__mgext__ctrl__animation.htm#ga1">ANIMATION</a></ul><h2>Functions</h2><ul><li><a class="el" href="struct__ANIMATION.htm">ANIMATION</a> * <a class="el" href="group__mgext__ctrl__animation.htm#ga2">CreateAnimationFromGIF89a</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, <a class="el" href="struct__MG__RWops.htm">MG_RWops</a> *area)<dl class="el"><dd class="mdescRight">Creates an ANIMATION obeject from a GIF 89a data source. <a href="#ga2"></a><br></dl><li>MGEXT_EXPORT <a class="el" href="struct__ANIMATION.htm">ANIMATION</a> * <a class="el" href="group__mgext__ctrl__animation.htm#ga3">CreateAnimationFromGIF89aFile</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, const char *file)<dl class="el"><dd class="mdescRight">Creates an ANIMATION obeject from a GIF 89a file. <a href="#ga3"></a><br></dl><li>MGEXT_EXPORT <a class="el" href="struct__ANIMATION.htm">ANIMATION</a> * <a class="el" href="group__mgext__ctrl__animation.htm#ga4">CreateAnimationFromGIF89aMem</a> (<a class="el" href="group__handles.htm#ga2">HDC</a> hdc, const void *mem, int size)<dl class="el"><dd class="mdescRight">Creates an ANIMATION obeject from a GIF 89a memory data. <a href="#ga4"></a><br></dl><li>MGEXT_EXPORT void <a class="el" href="group__mgext__ctrl__animation.htm#ga5">DestroyAnimation</a> (<a class="el" href="struct__ANIMATION.htm">ANIMATION</a> *anim, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> free_it)<dl class="el"><dd class="mdescRight">Destories an ANIMATION object. <a href="#ga5"></a><br></dl></ul><hr><h2>Define Documentation</h2><a class="anchor" name="ga8" doxytag="animation.h::ANIMATION_ERR"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define ANIMATION_ERR 1 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return values of ANIMATION control. <p>Definition at line <a class="el" href="animation_8h-source.htm#l00184">184</a> of file <a class="el" href="animation_8h-source.htm">animation.h</a>. </td> </tr></table><a class="anchor" name="ga7" doxytag="animation.h::ANIMATION_OKAY"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define ANIMATION_OKAY 0 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return values of ANIMATION control. <p>Definition at line <a class="el" href="animation_8h-source.htm#l00182">182</a> of file <a class="el" href="animation_8h-source.htm">animation.h</a>. </td> </tr></table><a class="anchor" name="ga9" doxytag="animation.h::ANNC_CLICKED"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define ANNC_CLICKED 1 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates the user has clicked the control. <p><p>Definition at line <a class="el" href="animation_8h-source.htm#l00344">344</a> of file <a class="el" href="animation_8h-source.htm">animation.h</a>. </td> </tr></table><a class="anchor" name="ga10" doxytag="animation.h::ANNC_DBLCLK"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define ANNC_DBLCLK 2 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Indicates the user has double clicked the control. <p><p>Definition at line <a class="el" href="animation_8h-source.htm#l00350">350</a> of file <a class="el" href="animation_8h-source.htm">animation.h</a>. </td> </tr></table><a class="anchor" name="ga6" doxytag="animation.h::CTRL_ANIMATION"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CTRL_ANIMATION ("Animation") </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Control class name of ANIMATION control. <p>Definition at line <a class="el" href="animation_8h-source.htm#l00179">179</a> of file <a class="el" href="animation_8h-source.htm">animation.h</a>. </td> </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga1" doxytag="animation.h::ANIMATION"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="struct__ANIMATION.htm">_ANIMATION</a> <a class="el" href="struct__ANIMATION.htm">ANIMATION</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Animation structure </td> </tr></table><a class="anchor" name="ga0" doxytag="animation.h::ANIMATIONFRAME"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef struct <a class="el" href="struct__ANIMATIONFRAME.htm">_ANIMATIONFRAME</a> <a class="el" href="struct__ANIMATIONFRAME.htm">ANIMATIONFRAME</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -