2018-09-07 15:00:13 +00:00
|
|
|
/*
|
2020-01-24 10:10:40 +00:00
|
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
2018-09-07 15:00:13 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-04-10 22:09:00 +00:00
|
|
|
#ifndef FUSEE_SPLASH_SCREEN_H
|
|
|
|
#define FUSEE_SPLASH_SCREEN_H
|
|
|
|
|
2018-05-05 15:33:49 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-09-17 20:03:03 +00:00
|
|
|
#define SPLASH_SCREEN_WIDTH_MAX 720
|
|
|
|
#define SPLASH_SCREEN_HEIGHT_MAX 1280
|
|
|
|
#define SPLASH_SCREEN_BPP 32
|
|
|
|
#define SPLASH_SCREEN_STRIDE 768
|
|
|
|
#define SPLASH_SCREEN_SIZE_MAX (SPLASH_SCREEN_HEIGHT_MAX * SPLASH_SCREEN_STRIDE * 4)
|
2018-04-10 22:09:00 +00:00
|
|
|
|
2018-09-17 20:03:03 +00:00
|
|
|
void display_splash_screen_bmp(const char *custom_splash_path, void *fb_address);
|
2019-01-26 08:59:27 +00:00
|
|
|
void splash_screen_wait_delay(void);
|
2018-04-10 22:09:00 +00:00
|
|
|
|
2018-05-05 15:33:49 +00:00
|
|
|
#endif
|