aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()