10 global __active, __showing, __delay
11 if screen_id
not in __active
or force:
12 __active.add(screen_id)
14 screen = VS.vsConfig(
"splash",
"%s_sprite" % screen_id,
"")
15 message = VS.vsConfig(
"splash",
"%s_message" % screen_id,
"")
16 screensplit = screen.split(
" ")
18 if screen !=
"" or message !=
"":
21 VS.showSplashScreen(screen)
22 VS.showSplashMessage(message)
26 return screen_id
in __active
33 return __showing == screen_id
36 global __active, __showing, __delay
37 if screen_id
in __active:
38 if screen_id != __showing
or __delay == 0:
39 __active.remove(screen_id)
43 for screen_id
in __active:
51 if screen_id == __showing:
52 prefix = VS.vsConfig(
"splash",
"%s_message" % screen_id,
"")
55 VS.showSplashMessage(prefix+message)
59 if screen_id == __showing:
60 VS.showSplashProgress(progress)