MCPcopy Create free account
hub / github.com/antirez/freakwan / __init__

Method __init__

splash.py:11–15  ·  view source on GitHub ↗
(self, display, xres, yres)

Source from the content-addressed store, hash-verified

9# This class implements the view that shows the splash screen on startup.
10class SplashScreen:
11 def __init__(self, display, xres, yres):
12 self.display = display # Display driver
13 self.xres = xres
14 self.yres = yres
15 self.anim_frame = 0 # Animation frame to show
16
17 def next_frame(self):
18 self.anim_frame += 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected