Flipper Zero Firmware
Loading...
Searching...
No Matches
desktop_view_locked.h
1#pragma once
2
3#include <desktop/desktop_settings.h>
4#include "../views/desktop_events.h"
5#include <gui/view.h>
6
8
9typedef void (*DesktopViewLockedCallback)(DesktopEvent event, void* context);
10
11void desktop_view_locked_set_callback(
12 DesktopViewLocked* locked_view,
13 DesktopViewLockedCallback callback,
14 void* context);
15void desktop_view_locked_update(DesktopViewLocked* locked_view);
16View* desktop_view_locked_get_view(DesktopViewLocked* locked_view);
17DesktopViewLocked* desktop_view_locked_alloc(void);
18void desktop_view_locked_free(DesktopViewLocked* locked_view);
19void desktop_view_locked_lock(DesktopViewLocked* locked_view, bool pin_locked);
20void desktop_view_locked_unlock(DesktopViewLocked* locked_view);
21void desktop_view_locked_close_doors(DesktopViewLocked* locked_view);
22bool desktop_view_locked_is_locked_hint_visible(DesktopViewLocked* locked_view);
Definition desktop_view_locked.c:26
Definition view_i.h:16
GUI: View API.