aboutsummaryrefslogtreecommitdiffstats
path: root/lvc/widgets/osx/drawingwidgets.py
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@hyperbola.info>2018-01-13 17:37:05 -0500
committerJesús Eduardo <heckyel@hyperbola.info>2018-01-13 17:37:05 -0500
commit0c206f3fd3e25db040c5f9e8f7f9211231161e48 (patch)
treed09ad30bc6e20cf9774820759717e489ea1b7da4 /lvc/widgets/osx/drawingwidgets.py
parent8c2a7859a238f161bb2667e8f4f37b9abb43030c (diff)
downloadlibrevideoconverter-0c206f3fd3e25db040c5f9e8f7f9211231161e48.tar.lz
librevideoconverter-0c206f3fd3e25db040c5f9e8f7f9211231161e48.tar.xz
librevideoconverter-0c206f3fd3e25db040c5f9e8f7f9211231161e48.zip
pep8 en lvc/widgets/osx/drawingwidgets.py
Diffstat (limited to 'lvc/widgets/osx/drawingwidgets.py')
-rw-r--r--lvc/widgets/osx/drawingwidgets.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/lvc/widgets/osx/drawingwidgets.py b/lvc/widgets/osx/drawingwidgets.py
index 74e8232..450fa50 100644
--- a/lvc/widgets/osx/drawingwidgets.py
+++ b/lvc/widgets/osx/drawingwidgets.py
@@ -34,6 +34,7 @@ import drawing
from .base import Widget, SimpleBin, FlippedView
from .layoutmanager import LayoutManager
+
class DrawingView(FlippedView):
def init(self):
self = super(DrawingView, self).init()
@@ -48,14 +49,18 @@ class DrawingView(FlippedView):
context.style = drawing.DrawingStyle()
wrappermap.wrapper(self).draw(context, self.layout_manager)
+
class DrawingArea(drawing.DrawingMixin, Widget):
- """See https://develop.participatoryculture.org/index.php/WidgetAPI for a description of the API for this class."""
+ """See https://develop.participatoryculture.org/index.php/WidgetAPI
+ for a description of the API for this class."""
def __init__(self):
Widget.__init__(self)
self.view = DrawingView.alloc().init()
+
class Background(drawing.DrawingMixin, SimpleBin):
- """See https://develop.participatoryculture.org/index.php/WidgetAPI for a description of the API for this class."""
+ """See https://develop.participatoryculture.org/index.php/WidgetAPI
+ for a description of the API for this class."""
def __init__(self):
SimpleBin.__init__(self)
self.view = DrawingView.alloc().init()