| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
| |
|
|
|
|
|
| |
Signed-off-by: Puneet Kaur <puneet.gkaur@gmail.com>
Acked-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
PaletteMenuItem is the new widget we should use in gtk3
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
This is needed to use the activity with the screen rotated.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Similar to the change in the last patch
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
This is based on the lockable Palette support
in the toolkit that landed in 6064fb30cc3cca24d2c68c588bcf3de5a047f584
Signed-off-by: Simon Schampijer <simon@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
Removed one separator. I couldn't find a better way, and was not really needed.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
| |
This change needs sugar-toolkit-gtk3 0.97.3
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
| |
|
|
|
|
|
|
|
| |
Remove the spinbuttons in the image toolbar, and handle
the visual representation in the canvas
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This patch solve the bug introduced in
d20721442caa22d89f83b6c43d35d3aafae3f4bc
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Acked-by: Manuel Quiñones <manuq@laptop.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Thanks Gary Martin <garycmartin@googlemail.com>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
|
|
|
| |
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
We can't show more than 12 buttons in the main toolbar
|
| |
|
|
|
|
| |
That is to be coherent with the icon in the toolbar.
|
| |
|
| |
|