![]() |
BSB Developer Docs
|
A widget that shows the front display mirrored content. More...
#include <gui/widget.h>Go to the source code of this file.
Typedefs | |
| typedef struct MirrorCard | MirrorCard |
| MirrorCard opaque structure. | |
Functions | |
| MirrorCard * | mirror_card_alloc (Widget *parent) |
| Create a new MirrorCard instance. | |
| void | mirror_card_free (MirrorCard *instance) |
| Delete a MirrorCard instance. | |
| Widget * | mirror_card_get_base (MirrorCard *instance) |
| Get a pointer to the base class instance. | |
| void | mirror_card_set_show_header (MirrorCard *instance, bool show) |
| Show or hide the top text. | |
| void | mirror_card_set_header_text (MirrorCard *instance, const char *header_text) |
| Set the header text. | |
| void | mirror_card_set_show_footer (MirrorCard *instance, bool show) |
| Show or hide the footer. | |
| void | mirror_card_set_footer_primary_text (MirrorCard *instance, const char *primary_text) |
| Set the footer primary text. | |
| void | mirror_card_set_footer_secondary_text (MirrorCard *instance, const char *secondary_text) |
| Set the footer secondary text. | |
A widget that shows the front display mirrored content.
Can be used only on the back display.
| MirrorCard * mirror_card_alloc | ( | Widget * | parent | ) |
Create a new MirrorCard instance.
| [in,out] | parent | pointer to the parent Widget instance |
| void mirror_card_free | ( | MirrorCard * | instance | ) |
Delete a MirrorCard instance.
| [in,out] | instance | pointer to the MirrorCard instance to be deleted |
| Widget * mirror_card_get_base | ( | MirrorCard * | 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 MirrorCard instance to be queried |
| void mirror_card_set_footer_primary_text | ( | MirrorCard * | instance, |
| const char * | primary_text ) |
Set the footer primary text.
| [in,out] | instance | pointer to the MirrorCard instance to be modified |
| [in] | primary_text | text to display in the footer primary position |
| void mirror_card_set_footer_secondary_text | ( | MirrorCard * | instance, |
| const char * | secondary_text ) |
Set the footer secondary text.
| [in,out] | instance | pointer to the MirrorCard instance to be modified |
| [in] | secondary_text | text to display in the footer secondary position |
| void mirror_card_set_header_text | ( | MirrorCard * | instance, |
| const char * | header_text ) |
Set the header text.
| [in,out] | instance | pointer to the MirrorCard instance to be modified |
| [in] | header_text | text to display in the header |
| void mirror_card_set_show_footer | ( | MirrorCard * | instance, |
| bool | show ) |
Show or hide the footer.
| [in,out] | instance | pointer to the MirrorCard instance to be modified |
| [in] | show | show the footer if true, hide if false |
| void mirror_card_set_show_header | ( | MirrorCard * | instance, |
| bool | show ) |
Show or hide the top text.
| [in,out] | instance | pointer to the MirrorCard instance to be modified |
| [in] | show | show the top text if true, hide if false |