AUI Framework
develop
Cross-platform base for C++ UI apps
|
Simple view to draw an IDrawable. More...
#include <AUI/View/ADrawableView.h>
ADrawableView brings you more control over the drawable. This is useful for drawables with extended interface (i.e., AAnimatedImage).
See declarative::Icon for a declarative form and examples.
The sizing and positioning acts like ass::BackgroundImage. Moreover, these rules are taken from ass::BackgroundImage applied to ADrawableView:
|
explicit |
url | URL to the image resource. |
drawable | The IDrawable to be rendered. |
> All members, including inherited
|
overridevirtual |
AView::render is not guaranteed to be called on per-frame basis. Moreover, this method can be called multiple times if render-to-texture caching decides to do so.
Reimplemented from AView.
Contents