Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/toolbox.py
Commit message (Collapse)AuthorAgeFilesLines
* Draw the fillcolor button in the correct order - SL #4303Gonzalo Odiard2012-12-111-0/+17
| | | | | | Similar to the change in the last patch Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Use the new lockable Palette, SL #4008Simon Schampijer2012-11-231-3/+1
| | | | | | | This is based on the lockable Palette support in the toolkit that landed in 6064fb30cc3cca24d2c68c588bcf3de5a047f584 Signed-off-by: Simon Schampijer <simon@laptop.org>
* Fix padding in color palettesGonzalo Odiard2012-11-211-1/+2
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Fix "Paint activity toolbar overflowing in landscape orientation" - SL#3995Gonzalo Odiard2012-10-191-4/+0
| | | | | | Removed one separator. I couldn't find a better way, and was not really needed. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Radio tool buttons are bigger than they should - SL #3918Gonzalo Odiard2012-09-201-2/+1
| | | | | | This change needs sugar-toolkit-gtk3 0.97.3 Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Simple pep8 fixGonzalo Odiard2012-09-041-1/+1
|
* Do te resize visualy in the canvasGonzalo Odiard2012-09-041-90/+0
| | | | | | | Remove the spinbuttons in the image toolbar, and handle the visual representation in the canvas Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Fix ObjectChooser callGonzalo Odiard2012-09-041-8/+1
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Initial version of port to gtk3Gonzalo Odiard2012-08-101-90/+76
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Text tool ported to cairoGonzalo Odiard2012-08-101-30/+17
| | | | | | | 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>
* Initial phase of clipboard operations ported to cairoGonzalo Odiard2012-08-101-3/+3
| | | | | | | | | | | | | | | | | Copy, paste and move operations are implemented. NOTES: * Change size of selection is not implemented in this patch. * A refactoring was done to do the code easier to understand. Previously, the Area.selmove was used to check if a selection is in progress. Now only to check if a area is being moved. A selection is detected using Area.is_selected(). The propery selmove now is private _selmove. The selected area now should be obtained using Area.get_selection_bounds(), and not using Area.orig_x, Area.orig_y and the selection size. This properties should be removed after finish refactoring. The property Area.sel_get_out was removed. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* First stage of port of Paint to cairoGonzalo Odiard2012-08-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed bug instroduced in SL #3602Manuel Kaufmann2012-06-071-1/+1
| | | | | | | | This patch solve the bug introduced in d20721442caa22d89f83b6c43d35d3aafae3f4bc Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Manuel Quiñones <manuq@laptop.org>
* Target rectangle in Stamp at first usage SL #3602Manuel Kaufmann2012-05-291-2/+5
| | | | | | | Show the target rectangle inmediatly when the Stamp tool is selected and don't remove the sensitive of the Stamp tool button if it's being used. Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
* Add separator before StopButtonGonzalo Odiard2012-04-241-0/+7
| | | | Thanks Gary Martin <garycmartin@googlemail.com>
* Remove saparator. No more space in the main toolbarGonzalo Odiard2012-04-181-6/+0
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Implement pick tool - SL #3107Gonzalo Odiard2012-04-181-11/+13
| | | | | | | This patch include a little refactoring to do more understable the code. The janela variable was renamed to the more ocmmon activity name. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Use FontComboBox, allow the user preview the font in the combo.Gonzalo Odiard2012-04-181-14/+7
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Add filter to select only images in the object chooser user to insert a imageGonzalo Odiard2011-11-071-26/+8
| | | | Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
* Normalize textGonzalo Odiard2011-08-041-1/+1
|
* Rotate uses the whole picture when nothing is selectedManuel Quiñones2011-05-261-4/+0
|
* Fix: buttons insensitive when no selectionManuel Quiñones2011-05-261-19/+41
|
* Show clear buttonGonzalo Odiard2011-05-121-0/+1
|
* Implementation of Stamp functionalityGonzalo Odiard2011-05-031-0/+22
| | | | | | | | | The user can select a part of the image to use it like a stamp. When the stamp is selected, can change the size, and use it to draw. Signed-of: manuel quiñones <manuel.por.aca@gmail.com> Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
* Implement a custom widget to show in the toolbar the brush shape, color and sizeGonzalo Odiard2011-04-081-130/+33
|
* Change icon of shapes toolbarGonzalo Odiard2011-04-051-1/+1
|
* Fix color setting and pylint fixesGonzalo Odiard2011-04-051-30/+14
|
* Move all the controls in the indiviual tool palettes to the color palettesGonzalo Odiard2011-04-051-676/+235
|
* Move effects to image toolbarGonzalo Odiard2011-04-041-170/+93
| | | | We can't show more than 12 buttons in the main toolbar
* Remove support to old color buttonsGonzalo Odiard2011-04-031-81/+35
|
* Set the default number of vertices in the polygon tool to 6 - OLPC #10554Gonzalo Odiard2011-02-081-1/+1
| | | | That is to be coherent with the icon in the toolbar.
* Fix english text of mirror toolsGonzalo Odiard2010-12-281-2/+2
|
* Change the signal used to get the color updateGonzalo Odiard2010-12-061-4/+4
|
*