![]() |
BSB Developer Docs
|
Can be used only on the front display. More...
#include <gui/widget.h>Go to the source code of this file.
Data Structures | |
| struct | TransitionOverlayTimings |
| struct | TransitionOverlayPreset |
Typedefs | |
| typedef struct TransitionOverlay | TransitionOverlay |
| TransitionOverlay opaque structure. | |
Functions | |
| TransitionOverlay * | transition_overlay_alloc (Widget *parent) |
| Create a new TransitionOverlay instance. | |
| void | transition_overlay_free (TransitionOverlay *instance) |
| Delete a TransitionOverlay instance. | |
| Widget * | transition_overlay_get_base (TransitionOverlay *instance) |
| Get a pointer to the base class instance. | |
| void | transition_overlay_set_preset (TransitionOverlay *instance, const TransitionOverlayPreset *preset) |
| void | transition_overlay_set_pressed_widget (TransitionOverlay *instance, Widget *widget) |
| Set the widget to participate in the press effect for a TransitionOverlay instance. | |
| void | transition_overlay_show (TransitionOverlay *instance) |
| Capture the current display contents and show the overlay. | |
| void | transition_overlay_start (TransitionOverlay *instance) |
| Start the transition animation. | |
Can be used only on the front display.
| TransitionOverlay * transition_overlay_alloc | ( | Widget * | parent | ) |
Create a new TransitionOverlay instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void transition_overlay_free | ( | TransitionOverlay * | instance | ) |
Delete a TransitionOverlay instance.
| [in,out] | instance | pointer to the TransitionOverlay instance to be deleted |
| Widget * transition_overlay_get_base | ( | TransitionOverlay * | instance | ) |
Get a pointer to the base class instance.
The return value can be used in all Widget methods.
| [in,out] | instance | pointer to the TransitionOverlay instance to be queried |
| void transition_overlay_set_preset | ( | TransitionOverlay * | instance, |
| const TransitionOverlayPreset * | preset ) |
| [in,out] | instance | pointer to the TransitionOverlay instance to be modified |
| [in] | preset |
| void transition_overlay_set_pressed_widget | ( | TransitionOverlay * | instance, |
| Widget * | widget ) |
Set the widget to participate in the press effect for a TransitionOverlay instance.
| [in,out] | instance | pointer to the TransitionOverlay instance to be modified |
| [in,out] | widget | pointer to the widget to participate in the effect |
| void transition_overlay_show | ( | TransitionOverlay * | instance | ) |
Capture the current display contents and show the overlay.
A static image will be shown until transition_overlay_start() is called.
| [in,out] | instance | pointer to the TransitionOverlay instance to be shown |
| void transition_overlay_start | ( | TransitionOverlay * | instance | ) |
Start the transition animation.
The overlay will be automatically hidden upon completion of the animation.
| [in,out] | instance | pointer to the TransitionOverlay instance to be started |