diff options
author | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-08-20 20:13:52 (GMT) |
---|---|---|
committer | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-08-20 20:13:52 (GMT) |
commit | 6ab73a35e3a1873f0c64f66ea236c572faaf9666 (patch) | |
tree | 253414c364b0c2d842c68a9645eddc4fad734e6c /OficinaActivity.py | |
parent | a6bf2fe2bf357943166ab7cd4f0146669b94c67d (diff) |
New Paint (oficina) version: 5v5
User can choose side number for regular polygons
Fixed bug that denied user to choose shapes for brush and eraser
Added rainbow effect (by andremossinato)
Diffstat (limited to 'OficinaActivity.py')
-rw-r--r-- | OficinaActivity.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OficinaActivity.py b/OficinaActivity.py index cf8b56e..fdc62d7 100644 --- a/OficinaActivity.py +++ b/OficinaActivity.py @@ -105,7 +105,9 @@ class OficinaActivity(activity.Activity): self._textview = gtk.Entry() self._area.tool = 2 self._fixed.put(self._area, 200 , 100) - + # Area size increased + #self._fixed.put(self._area, 0 , 0) + sw.add_with_viewport(self._fixed) self._area.show() self._fixed.show() @@ -129,7 +131,7 @@ class OficinaActivity(activity.Activity): logging.debug('reading file %s', file_path) # logging.debug(file_path) - self._area.d.loadImage(file_path, self._area) + self._area.loadImage(file_path, self._area, False) # Does this work? # self._area.undo_times = 1 |