Skip to content

Commit 5f2617c

Browse files
authored
Added argument to set the loading screen background color
Optional argument to set the loading screen background color --presplash-color=#AARRGGBB, --presplash-color=#RRGGBB or --presplash-color=red Default color: #FFFFFFFF (white)
1 parent cce254f commit 5f2617c

File tree

1 file changed

+4
-0
lines changed
  • pythonforandroid/bootstraps/sdl2/build

1 file changed

+4
-0
lines changed

pythonforandroid/bootstraps/sdl2/build/build.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,10 @@ def parse_args(args=None):
413413
ap.add_argument('--presplash', dest='presplash',
414414
help=('A jpeg file to use as a screen while the '
415415
'application is loading.'))
416+
ap.add_argument('--presplash-color', dest='presplash_color', default='#FFFFFFFF',
417+
help=('A string to set the loading screen background color. '
418+
'Suported formats are: #RRGGBB #AARRGGBB or color names '
419+
'like red, green, blue, etc.'))
416420
ap.add_argument('--wakelock', dest='wakelock', action='store_true',
417421
help=('Indicate if the application needs the device '
418422
'to stay on'))

0 commit comments

Comments
 (0)