Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
CTCaer
GitHub Repository: CTCaer/hekate
Path: blob/master/bootloader/gfx/logos.h
1476 views
1
/*
2
* Copyright (c) 2018-2022 CTCaer
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms and conditions of the GNU General Public License,
6
* version 2, as published by the Free Software Foundation.
7
*
8
* This program is distributed in the hope it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
#ifndef _GFX_LOGOS_H_
18
#define _GFX_LOGOS_H_
19
20
// 21 x 50 @8bpp RGB.
21
#define BATTERY_EMPTY_WIDTH 21
22
#define BATTERY_EMPTY_BATT_HEIGHT 38
23
#define BATTERY_EMPTY_CHRG_HEIGHT 12
24
#define BATTERY_EMPTY_SIZE 3150
25
#define BATTERY_EMPTY_BLZ_SIZE 740
26
extern u8 battery_icons_blz[];
27
28
u8 *render_static_bootlogo();
29
bool render_ticker_logo(u32 boot_wait, u32 backlight);
30
bool render_ticker(u32 boot_wait, u32 backlight, bool no_ticker);
31
32
#endif
33
34