Add support for specifying high DPI animations in XRC
Deprecate wxXmlResourceHandler::GetAnimation() function which returns just a single animation and add a new GetAnimations() replacing it. Use the new function in wxAnimationCtrl XRC handler to pass all the animations defined in the XRC file to the control.
This commit is contained in:
parent
27e80f81b4
commit
cb99932114
5 changed files with 105 additions and 40 deletions
|
|
@ -653,7 +653,9 @@ controls cannot have children.
|
|||
@beginTable
|
||||
@hdr3col{property, type, description}
|
||||
@row3col{animation, @ref overview_xrcformat_type_url,
|
||||
Animation file to load into the control (default: none).}
|
||||
Animation file to load into the control or, since wxWindow 3.3.0, multiple
|
||||
semicolon-separated files in order of increasing size, corresponding to
|
||||
multiple versions of the animation for different resolutions (default: none).}
|
||||
@row3col{inactive-bitmap, @ref overview_xrcformat_type_bitmap,
|
||||
Bitmap to use when not playing the animation (default: the default).}
|
||||
@endTable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue