diff options
| author | tassaron | 2017-07-20 20:31:38 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-20 20:31:38 -0400 |
| commit | f454814867443ceeeca2a3a2c2a676947184503c (patch) | |
| tree | be0ed824fd6218038041d5af48d273498cab87e1 /src/toolkit/frame.py | |
| parent | b1713d38fa91e39f142b0c234b6405229aa149e1 (diff) | |
ffmpeg functions moved to toolkit, component format simplified
component methods are auto-decorated & settings are now class variables
Diffstat (limited to 'src/toolkit/frame.py')
| -rw-r--r-- | src/toolkit/frame.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/toolkit/frame.py b/src/toolkit/frame.py index cddb611..83fd59e 100644 --- a/src/toolkit/frame.py +++ b/src/toolkit/frame.py @@ -7,9 +7,7 @@ from PIL.ImageQt import ImageQt import sys import os - -class Frame: - '''Controller class for all frames.''' +from toolkit.common import Core class FramePainter(QtGui.QPainter): @@ -59,7 +57,7 @@ def Checkerboard(width, height): ''' image = FloodFrame(1920, 1080, (0, 0, 0, 0)) image.paste(Image.open( - os.path.join(Frame.core.wd, "background.png")), + os.path.join(Core.wd, "background.png")), (0, 0) ) image = image.resize((width, height)) |
