diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2018-01-14 14:27:46 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2018-01-14 14:27:46 -0500 |
commit | ff9d1d474e0b34d00257b13f1038b865649837dc (patch) | |
tree | 47985e442a718f9c4daf9532adf2c2fe65452308 | |
parent | 9eb6470e5450d09c9e15b853f949d39484def519 (diff) | |
download | librevideoconverter-ff9d1d474e0b34d00257b13f1038b865649837dc.tar.lz librevideoconverter-ff9d1d474e0b34d00257b13f1038b865649837dc.tar.xz librevideoconverter-ff9d1d474e0b34d00257b13f1038b865649837dc.zip |
pep8 en lvc/widgets/osx/viewport.py
-rw-r--r-- | lvc/widgets/osx/viewport.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lvc/widgets/osx/viewport.py b/lvc/widgets/osx/viewport.py index e6564d4..3955b01 100644 --- a/lvc/widgets/osx/viewport.py +++ b/lvc/widgets/osx/viewport.py @@ -35,6 +35,7 @@ A Viewport represents the area where a Widget is located. from objc import YES, NO, nil from Foundation import * + class Viewport(object): """Used when a widget creates it's own NSView.""" def __init__(self, view, initial_frame): @@ -73,6 +74,7 @@ class Viewport(object): def redraw_now(self): self.view.displayRect_(self.area()) + class BorrowedViewport(Viewport): """Used when a widget uses the NSView of one of it's ancestors. We store the view that we borrow as well as an NSRect specifying where on that view |