#
0a562537 |
|
24-Aug-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Fix multiple point handling Fixes #16760 The problem comes from trying to cast a void* array to an int32 array. However, sizeof(void*) is not always equal to sizeof(int32). Change-Id: I12b7f71621f150edb732b5e0a7d84bf7ced5444a Reviewed-on: https://review.haiku-os.org/c/haiku/+/6871 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
a4e4beaf |
|
18-Jul-2023 |
Humdinger <humdingerb@gmail.com> |
IOM: Localization/String improvements * Switching mis-used B_TRANSLATE_CONTEXT to B_TRANSLATE_COMMENT * Use B_TRANSLATE_SYSTEM_NAME for "Icon-O-Matic" * Remove remnants of old localization system * Rename "Control Points" to vertex/vertices * Add a ":" after Undo/Redo * Sentence casing * Avoid Yes/No buttons in BAlert Change-Id: Ibb299925bce1f6ca1cf03216a36df7c44f10bdc6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6704 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
0cbb6c11 |
|
09-May-2015 |
Stephan Aßmus <superstippi@gmx.de> |
Icon-O-Matic: Make GradientTransformable a BReferenceable * Switch to using support/Referenceable.h instead of using an older copy of this code. * Make GradientTransformable a BReferenceable and fix #12033.
|
#
f4c2f7eb |
|
10-Jan-2014 |
Jonathan Schleifer <js@webkeks.org> |
Remove variable length arrays of non-PODs. Variable length arrays of non-PODs are not part of the C++ standard, but a GNU extension that never worked correctly. Instead, BStackOrHeap array is used now, which makes sure that it's not too big for the stack, calls all constructors and is valid C++.
|
#
60128b54 |
|
04-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
Icon-o-matic: some 64 bit fixes
|
#
546208a5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
518852fc |
|
29-Dec-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Dziadek: localize IconOMatic git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40025 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a9cee0f1 |
|
27-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Improved contex menu according to ticket #4081: * When right-clicking a path point directly, and it isn't currently selected, switch the selection before showing the context menu. * Don't show the "Select All" menu item when directly clicking any path point. * Fix the shortcuts. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31808 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c4b3726 |
|
09-Apr-2007 |
Stephan Aßmus <superstippi@gmx.de> |
culmulative update... * holding down space, or using the third mouse button, will force the "pan canvas" mode * using the mouse wheel zooms in and out * fixed issues with the undo commands when nudging something with the cursor keys * manipulators can now indicate wether they changed the mouse cursor * ChangePointCommand is no longer inserted if the point didn't change * new "flip" points feature in context menu, flips "in" and "out" curve control points * mouse wheel events are now propagated together with the mouse position * new "UndoesPrevious" method in Command interface (used to clean up command stack) * clean ups in CommandStack git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20623 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64dd737c |
|
02-Dec-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed the dirty canvas when Icon-O-Matic is started in Haiku (and also improved performance of rendering icons, the background was cleared for no reason on each Draw() call) However there must be a bug still in the app_server which causes GetClippingRegion() to return an out-of-date clipping region (R5 has the very same bug though) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19413 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4fac07a0 |
|
12-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* started work on saving program settins, window frame is remembered for now * fixed some annoying bugs: - the snapping prevented some of the proximity checks from working while editing a path or using the transform box, now the Manipulators themself are responsible for mouse snapping and can do so at the time it works best for them - pressing the Esc key while using the transform box did reset the transformation, but didn't exit the transform mode (return to path editing) * improved layout of some views when the window is resized git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19266 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f4bd80a2 |
|
10-Sep-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* when loading an icon via drag&drop, the file will be remembered for saving later * added "Clean Up" feature to "Path" menu * added "Freeze Transformation" to "Shape" menu (will apply the current shape transformation onto the path and reset the shape transformation to identity) * small cleanup in ShapeListView * implemented zooming in CanvasView * added context menu while editing a path * implemented undo/redo for transforming points (press T or use context menu) * added "Split Points" feature (path editing context menu), it will make two points from one control point * improved selecting path points with selection rect * improved SVG import for zuMis BeOS icons (more precise scale) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18800 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0e1ba39f |
|
29-Aug-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* merged Icon-O-Matic from Ingos layout branch into trunk (r18134:18685) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18686 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
05fd3818 |
|
07-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* implemented more fine grained listener support in VectorPath (this separates the notification for shape changes versus other properties and improves the performance) * added affine properties to AffineTransformer (for testing only, will need to be implemented more carefully) * added Width property to ContourTransformer * changed the way how it is determined that paths need to stay open for the StrokeConverter, now it works correctly with sub-paths git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18064 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ce181bb0 |
|
21-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed memory leaks and display bugs * VectorPath objects were released one two many times by the Shape PathContainers (they don't acquire when a path is added, the Shape does that for them) the PathContainer of the Icon needs to release though, as it "owns" the paths * put the Selection class used by PathManipulator into the PathManipulator namespace, since the compiler seemed to use the wrong destructor (the one from the generic Selection class) * uses a better mechanism to track and render changed parts of icon git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17903 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f67876a0 |
|
21-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
some more "putting things together" for testing: * add a VectorPath to Document->Icon()->Paths() * add a Style to the global StyleManager * actually add a Shape to the Document->Icon()->Shapes() which uses the style and the path from above fleshing out of CanvasView: * use an offscreen bitmap/view to avoid flickering * use an IconRenderer to render the set Icon * implement support for zooming PathManipulator: * use the conversion from/to Canvas space and View space in CanvasView (I would have liked to solve this in a more generic way, so that PathManipulator didn't have to know CanvasView, but I was not very creative...) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17891 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
128277c9 |
|
13-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
the first steps towards Icon-O-Matic * added a framework with many classes that I think will be useful * currently, the StateView and Manipulator interface are used to allow editing a single VectorPath object, nothing more... the CommandStack framework is also used to support Undo/Redo git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17822 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0cbb6c11eec74201f566920c90ebd2c5546b7aa6 |
|
09-May-2015 |
Stephan Aßmus <superstippi@gmx.de> |
Icon-O-Matic: Make GradientTransformable a BReferenceable * Switch to using support/Referenceable.h instead of using an older copy of this code. * Make GradientTransformable a BReferenceable and fix #12033.
|
#
f4c2f7ebdb11576420c00fc4ecb23b32c3ce3137 |
|
10-Jan-2014 |
Jonathan Schleifer <js@webkeks.org> |
Remove variable length arrays of non-PODs. Variable length arrays of non-PODs are not part of the C++ standard, but a GNU extension that never worked correctly. Instead, BStackOrHeap array is used now, which makes sure that it's not too big for the stack, calls all constructors and is valid C++.
|
#
60128b54b483dc49e67e08ebbca3f08f5c47edea |
|
04-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
Icon-o-matic: some 64 bit fixes
|
#
546208a53940a26c6379c48a7854ade1a8250fc5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
518852fca73d16198413de528219fcdfa6b04647 |
|
29-Dec-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Dziadek: localize IconOMatic git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40025 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a9cee0f1c4f5e3031132cc6f79bcaffdb9a72e08 |
|
27-Jul-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Improved contex menu according to ticket #4081: * When right-clicking a path point directly, and it isn't currently selected, switch the selection before showing the context menu. * Don't show the "Select All" menu item when directly clicking any path point. * Fix the shortcuts. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31808 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c4b3726d9477810a630f9c0d0604a36473df559 |
|
09-Apr-2007 |
Stephan Aßmus <superstippi@gmx.de> |
culmulative update... * holding down space, or using the third mouse button, will force the "pan canvas" mode * using the mouse wheel zooms in and out * fixed issues with the undo commands when nudging something with the cursor keys * manipulators can now indicate wether they changed the mouse cursor * ChangePointCommand is no longer inserted if the point didn't change * new "flip" points feature in context menu, flips "in" and "out" curve control points * mouse wheel events are now propagated together with the mouse position * new "UndoesPrevious" method in Command interface (used to clean up command stack) * clean ups in CommandStack git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20623 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64dd737cf387c94e968bf95c2fb2bcaa668fc780 |
|
02-Dec-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed the dirty canvas when Icon-O-Matic is started in Haiku (and also improved performance of rendering icons, the background was cleared for no reason on each Draw() call) However there must be a bug still in the app_server which causes GetClippingRegion() to return an out-of-date clipping region (R5 has the very same bug though) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19413 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4fac07a0887406d944d78403f8a3b01a4e6154be |
|
12-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* started work on saving program settins, window frame is remembered for now * fixed some annoying bugs: - the snapping prevented some of the proximity checks from working while editing a path or using the transform box, now the Manipulators themself are responsible for mouse snapping and can do so at the time it works best for them - pressing the Esc key while using the transform box did reset the transformation, but didn't exit the transform mode (return to path editing) * improved layout of some views when the window is resized git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19266 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f4bd80a2dcc200d939292c877b3fdadb7f3a261e |
|
10-Sep-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* when loading an icon via drag&drop, the file will be remembered for saving later * added "Clean Up" feature to "Path" menu * added "Freeze Transformation" to "Shape" menu (will apply the current shape transformation onto the path and reset the shape transformation to identity) * small cleanup in ShapeListView * implemented zooming in CanvasView * added context menu while editing a path * implemented undo/redo for transforming points (press T or use context menu) * added "Split Points" feature (path editing context menu), it will make two points from one control point * improved selecting path points with selection rect * improved SVG import for zuMis BeOS icons (more precise scale) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18800 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0e1ba39f0440e200e30b6a648e70c3e8683dc5f7 |
|
29-Aug-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* merged Icon-O-Matic from Ingos layout branch into trunk (r18134:18685) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18686 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
05fd38183734488f0b1c9fb9c93626c4cf2c1a54 |
|
07-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* implemented more fine grained listener support in VectorPath (this separates the notification for shape changes versus other properties and improves the performance) * added affine properties to AffineTransformer (for testing only, will need to be implemented more carefully) * added Width property to ContourTransformer * changed the way how it is determined that paths need to stay open for the StrokeConverter, now it works correctly with sub-paths git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18064 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ce181bb0cd9855442f7a1db340e7e9d51f231e33 |
|
21-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed memory leaks and display bugs * VectorPath objects were released one two many times by the Shape PathContainers (they don't acquire when a path is added, the Shape does that for them) the PathContainer of the Icon needs to release though, as it "owns" the paths * put the Selection class used by PathManipulator into the PathManipulator namespace, since the compiler seemed to use the wrong destructor (the one from the generic Selection class) * uses a better mechanism to track and render changed parts of icon git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17903 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f67876a0c5b91684c175f3dc7989537c35c23f55 |
|
21-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
some more "putting things together" for testing: * add a VectorPath to Document->Icon()->Paths() * add a Style to the global StyleManager * actually add a Shape to the Document->Icon()->Shapes() which uses the style and the path from above fleshing out of CanvasView: * use an offscreen bitmap/view to avoid flickering * use an IconRenderer to render the set Icon * implement support for zooming PathManipulator: * use the conversion from/to Canvas space and View space in CanvasView (I would have liked to solve this in a more generic way, so that PathManipulator didn't have to know CanvasView, but I was not very creative...) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17891 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
128277c969aa806add78941cd2972754c37a1572 |
|
13-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
the first steps towards Icon-O-Matic * added a framework with many classes that I think will be useful * currently, the StateView and Manipulator interface are used to allow editing a single VectorPath object, nothing more... the CommandStack framework is also used to support Undo/Redo git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17822 a95241bf-73f2-0310-859d-f6bbb57e9c96
|