Use dosbox-staging splash screen
Users who test dosbox-staging via various GUI frontends might have a problem distinguishing if the instance they have configured is really dosbox-staging or some other version of DOSBox. Different splash screen is a simple remedy for it. Two graphical files are included: one in vector format to allow for further refinements and one converted to necessary size in png format, that is used as direct source of logo embedded in the source code. Use GIMP to convert the png logo to a C file. Notes about new design: Orange background was replaced by black to make switch to black background of empty terminal a little less jarring. The box side is covered with the rainbow-like pattern to resemble logos of various computer platforms popular in the 80s. AFAIK IBM or PC-clones never had such colourful logos, but the point is to resemble a retro-computing platform while being aesthetically pleasing. Some computing platforms, that used rainbow patterns are Sinclair, Commodore, Amiga, Dragon 32, and Apple. The pattern used for dosbox-staging splash is deliberately different from all of these. Word "staging" is rendered using excellent Raleway font: https://www.theleagueofmoveabletype.com/raleway This change is not supposed to be upstreamed.
This commit is contained in:
parent
9df802fd56
commit
1f1e832a6c
4 changed files with 1895 additions and 2 deletions
1632
src/gui/dosbox_staging_splash.c
Normal file
1632
src/gui/dosbox_staging_splash.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1179,7 +1179,8 @@ static void OutputString(Bitu x,Bitu y,const char * text,Bit32u color,Bit32u col
|
|||
}
|
||||
}
|
||||
|
||||
#include "dosbox_splash.h"
|
||||
// #include "dosbox_splash.h"
|
||||
#include "dosbox_staging_splash.c"
|
||||
|
||||
//extern void UI_Run(bool);
|
||||
void Restart(bool pressed);
|
||||
|
@ -1420,7 +1421,7 @@ static void GUI_StartUp(Section * sec) {
|
|||
|
||||
bool exit_splash = false;
|
||||
|
||||
static Bitu max_splash_loop = 600;
|
||||
static Bitu max_splash_loop = 1000;
|
||||
static Bitu splash_fade = 100;
|
||||
static bool use_fadeout = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue