Flipper Zero Firmware
Loading...
Searching...
No Matches
empty_screen.h File Reference

GUI: EmptyScreen view module API. More...

#include <gui/view.h>

Go to the source code of this file.

Typedefs

typedef struct EmptyScreen EmptyScreen
 Empty screen anonymous structure.
 

Functions

EmptyScreenempty_screen_alloc (void)
 Allocate and initialize empty screen.
 
void empty_screen_free (EmptyScreen *empty_screen)
 Deinitialize and free empty screen.
 
Viewempty_screen_get_view (EmptyScreen *empty_screen)
 Get empty screen view.
 

Detailed Description

GUI: EmptyScreen view module API.

Function Documentation

◆ empty_screen_alloc()

EmptyScreen * empty_screen_alloc ( void )

Allocate and initialize empty screen.

This empty screen used to ask simple questions like Yes/

Returns
EmptyScreen instance

◆ empty_screen_free()

void empty_screen_free ( EmptyScreen * empty_screen)

Deinitialize and free empty screen.

Parameters
empty_screenEmpty screen instance

◆ empty_screen_get_view()

View * empty_screen_get_view ( EmptyScreen * empty_screen)

Get empty screen view.

Parameters
empty_screenEmpty screen instance
Returns
View instance that can be used for embedding