![]() |
BSB Developer Docs
|
A widget that provides a dimmed and blurred pause overlay. More...
#include <gui/widget.h>Go to the source code of this file.
Typedefs | |
| typedef struct PauseOverlay | PauseOverlay |
| PauseOverlay opaque structure. | |
Functions | |
| PauseOverlay * | pause_overlay_alloc (Widget *parent) |
| Create a new PauseOverlay instance. | |
| void | pause_overlay_free (PauseOverlay *instance) |
| Delete a PauseOverlay instance. | |
| Widget * | pause_overlay_get_base (PauseOverlay *instance) |
| Get a pointer to the base class instance. | |
| void | pause_overlay_show (PauseOverlay *instance, bool show) |
| Show or hide a PauseOverlay instance and play the respective animation. | |
A widget that provides a dimmed and blurred pause overlay.
Can be used only on the front display.
| PauseOverlay * pause_overlay_alloc | ( | Widget * | parent | ) |
Create a new PauseOverlay instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void pause_overlay_free | ( | PauseOverlay * | instance | ) |
Delete a PauseOverlay instance.
| [in,out] | instance | pointer to the PauseOverlay instance to be deleted |
| Widget * pause_overlay_get_base | ( | PauseOverlay * | 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 PauseOverlay instance to be queried |
| void pause_overlay_show | ( | PauseOverlay * | instance, |
| bool | show ) |
Show or hide a PauseOverlay instance and play the respective animation.
| [in,out] | instance | pointer to the PauseOverlay instance to be operated on |
| [in] | show | show the overlay if true, hide if false |