2018-09-07 16:00:13 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Atmosphère-NX
|
|
|
|
*
|
|
|
|
* 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 23:09:00 +01:00
|
|
|
#ifndef FUSEE_SPLASH_SCREEN_H
|
|
|
|
#define FUSEE_SPLASH_SCREEN_H
|
|
|
|
|
2018-05-05 16:33:49 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-09-17 21:03:03 +01: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 23:09:00 +01:00
|
|
|
|
2018-09-17 21:03:03 +01: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 23:09:00 +01:00
|
|
|
|
2018-05-05 16:33:49 +01:00
|
|
|
#endif
|