Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/OficinaActivity.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Set transparent background in the textview"Gonzalo Odiard2012-11-071-3/+2
| | | | | | | | | Set the background transparent works in sugar-build, but not in the xo. This can be tried in the next cycle again. This reverts commit 45d6940a1e454b169243f7742780fa6b0942fc67. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Set transparent background in the textviewGonzalo Odiard2012-11-011-2/+3
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Resize the textview area when change font - SL #4078Gonzalo Odiard2012-10-251-1/+1
| | | | | | | This patch also solves a problem when close the activity while a text is being edited. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Disable kinetic scrolling - SL #4005Gonzalo Odiard2012-10-221-0/+1
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Use a similar surface to improve performanceGonzalo Odiard2012-10-021-4/+5
| | | | | | | | | | As the surface is created in draw callback, we need delay some operations until the surface is created. The undo keep is delayed until finish draw, then enable_undo() now only enable a flag, and a new method keep_undo() do the real task. This patch breaks rotation and mirror, will be adressed in another patch. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Initial version of port to gtk3Gonzalo Odiard2012-08-101-18/+19
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Text tool ported to cairoGonzalo Odiard2012-08-101-3/+3
| | | | | | | This patch reorganize a little the text management code, to do the font_properties private to Area. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* First stage of port of Paint to cairoGonzalo Odiard2012-08-101-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Brushes and shapes are working. NOTES: * The pixmaps used as canvas has been replaced by ImageSurface and cairo context. * All the gc with tool properties were removed. * The variables needed by the freeform and rainbow were moved from Area to Desenha * The freeform code was simplified. * The heart is draw using cairo curves and is a little different than before. * I am using cairo_stroke_color and cairo_fill_color values in the tool dict to enable compatibility while the port is done, later will be unified. I am setting this color with a fixed alpha of 0.3 to display artifacts if we want enable alpha in the future. It's only for test at this stage. * The code used to display the polygons (triangle, trapezoid, arrow, paralellogram, star, polygon_regular) was simplified calling a method _draw_polygon witha array of points. PENDING: * All the clipboard operations. * All the efects. * Text * Bucket * Stamps
* Center images smaller than the canvas SL #3677Manuel Kaufmann2012-06-191-3/+5
| | | | | | | | Rotate and center the image. Besides, if a smaller (than the canvas) image is opened it is centered on the screen. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel QuiƱones <manuq@laptop.org>
* Don't cut the image when rotate SL #3457Manuel Kaufmann2012-04-301-1/+1
| | | | | | | | When the user rotates the image the Y coordinate have to be 0 so it image is visible from the top of it. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quinones <manuq@laptop.org>
*