mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-28 11:27:59 +00:00
19 lines
433 B
C++
19 lines
433 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
#pragma once
|
|
#include <lvgl.h>
|
|
#include <functional>
|
|
|
|
namespace view {
|
|
|
|
void create_status_bar(uint32_t colorSecondary = 0xB8D3FD, uint32_t colorPrimary = 0x26206A,
|
|
lv_obj_t* parent = lv_screen_active());
|
|
void update_status_bar();
|
|
bool is_status_bar_created();
|
|
void destroy_status_bar();
|
|
|
|
} // namespace view
|