mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Add animation decoders
This commit is contained in:
@@ -110,10 +110,15 @@
|
||||
"AND":"wx.",
|
||||
"AND_INVERT":"wx.",
|
||||
"AND_REVERSE":"wx.",
|
||||
"ANIDecoder":"wx.adv.",
|
||||
"ANIMATION_TYPE_ANI":"wx.adv.",
|
||||
"ANIMATION_TYPE_ANY":"wx.adv.",
|
||||
"ANIMATION_TYPE_GIF":"wx.adv.",
|
||||
"ANIMATION_TYPE_INVALID":"wx.adv.",
|
||||
"ANIM_DONOTREMOVE":"wx.adv.",
|
||||
"ANIM_TOBACKGROUND":"wx.adv.",
|
||||
"ANIM_TOPREVIOUS":"wx.adv.",
|
||||
"ANIM_UNSPECIFIED":"wx.adv.",
|
||||
"ANTIALIAS_DEFAULT":"wx.",
|
||||
"ANTIALIAS_NONE":"wx.",
|
||||
"APPLY":"wx.",
|
||||
@@ -302,6 +307,8 @@
|
||||
"Animation":"wx.adv.",
|
||||
"AnimationCtrl":"wx.adv.",
|
||||
"AnimationCtrlNameStr":"wx.adv.",
|
||||
"AnimationDecoder":"wx.adv.",
|
||||
"AnimationDisposal":"wx.adv.",
|
||||
"AnimationType":"wx.adv.",
|
||||
"AntialiasMode":"wx.",
|
||||
"AnyButton":"wx.",
|
||||
@@ -1306,6 +1313,7 @@
|
||||
"GBSpan":"wx.",
|
||||
"GCDC":"wx.",
|
||||
"GDIObject":"wx.",
|
||||
"GIFDecoder":"wx.adv.",
|
||||
"GIFHandler":"wx.",
|
||||
"GLAttribsBase":"wx.glcanvas.",
|
||||
"GLAttributes":"wx.glcanvas.",
|
||||
|
||||
@@ -19,6 +19,9 @@ DOCSTRING = ""
|
||||
# this script.
|
||||
ITEMS = [ "wxAnimation",
|
||||
"wxAnimationCtrl",
|
||||
"wxAnimationDecoder",
|
||||
"wxANIDecoder",
|
||||
"wxGIFDecoder",
|
||||
]
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -45,8 +48,18 @@ def run():
|
||||
module.insertItemBefore(c, item)
|
||||
|
||||
|
||||
# TODO: It would be nice to be able to use the generic verison on all
|
||||
# platforms since the native GTK version has some limitations...
|
||||
#-----------------------------------------------------------------
|
||||
c = module.find('wxAnimationDecoder')
|
||||
c.find('DoCanRead').ignore(False)
|
||||
|
||||
c = module.find('wxANIDecoder')
|
||||
c.find('DoCanRead').ignore(False)
|
||||
|
||||
c = module.find('wxGIFDecoder')
|
||||
c.find('DoCanRead').ignore(False)
|
||||
|
||||
module.addItem(tools.wxListWrapperTemplate('wxAnimationDecoderList', 'wxAnimationDecoder', module,
|
||||
header_extra='#include <wx/animate.h>'))
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
tools.doCommonTweaks(module)
|
||||
|
||||
Reference in New Issue
Block a user