MycroftOS: Change the psplash configuration to reflect mycroft colors better.

This commit is contained in:
Peter Steenbergen 2020-04-12 15:17:15 +02:00
parent 81aba357f6
commit 270cdae26f
4 changed files with 31 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -26,6 +26,7 @@ endef
define MYCROFT_SPLASH_CHANGE_IMAGE
cp $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroft-splash/psplash-colors.h $(@D)
cp $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroft-splash/psplash-config.h $(@D)
cp $(BR2_EXTERNAL_MYCROFTOS_PATH)/package/mycroft-splash/base-images/* $(@D)/base-images/
endef

View File

@ -0,0 +1,30 @@
/*
* pslash - a lightweight framebuffer splashscreen for embedded devices.
*
* Copyright (c) 2014 MenloSystems GmbH
* Author: Olaf Mandel <o.mandel@menlosystems.com>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
*/
#ifndef _HAVE_PSPLASH_CONFIG_H
#define _HAVE_PSPLASH_CONFIG_H
/* Text to output on program start; if undefined, output nothing */
#ifndef PSPLASH_DISABLE_STARTUP_MSG
#define PSPLASH_STARTUP_MSG "Booting MycroftOS"
#endif
/* Bool indicating if the image is fullscreen, as opposed to split screen */
#ifndef PSPLASH_IMG_FULLSCREEN
#define PSPLASH_IMG_FULLSCREEN 0
#endif
/* Position of the image split from top edge, numerator of fraction */
#define PSPLASH_IMG_SPLIT_NUMERATOR 5
/* Position of the image split from top edge, denominator of fraction */
#define PSPLASH_IMG_SPLIT_DENOMINATOR 6
#endif