#
c6c2c042 |
|
08-Aug-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Add perspective transformations As part of adding perspective transformations, agg_trans_perspective.h was patched to fix a multiple definitions error. This change has been submitted for review to the "upstream" repositories at [1], [2], and [3]. Also includes various other improvements such as VertexSource being split into its own file, code style improvements, and documentation improvements. [1] https://sourceforge.net/p/agg/patches/6/ [2] https://github.com/ghaerr/agg-2.6/pull/9 [3] https://github.com/aggeom/agg-2.6/pull/7 Change-Id: I4bffd2f87354bde10155e23145a232a925be6ff3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6801 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
405c9dc3 |
|
14-Aug-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Improve saving-related error messages Improves the errors that are given to the user when exporting to an HVIF file failed. Examples of errors improved include errors related to having too many shapes, too many paths, or too many points in a path. Also changes the icon shown in the alert box from an info icon to an error icon. Fixes #13978 Change-Id: I12a08e9857a95bd4d41da029320fa6f8182c3aa5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6837 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
64279352 |
|
22-Jun-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Generalize some classes * Turns PathContainer, ShapeContainer, StyleContainer into Container. * Makes Shape use Container for storing Tansformers instead of reinventing the wheel yet again. * Moves common logic from AddPathsCommand, AddStylesCommand, AddShapesCommand, and AddTransformersCommand to AddCommand. * Factors out common logic from two more commands similar to above. This adds the MoveCommand and RemoveCommand classes. * Cleans up some code style. Change-Id: I59eca94a1c45eac608514f269f6e5f8628f93fab Reviewed-on: https://review.haiku-os.org/c/haiku/+/6640 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
098eaec6 |
|
08-Jun-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Add reference images Fixes #2748 Also fixes a comment misstating a function's name and code style. Change-Id: I609a1f1e100ded647818e70b428cedc48cf29036 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6604 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
13f2f8de |
|
22-May-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Move some functions to header files Change-Id: I3b12e88e133cfe8e9b0f5830f69d582bbaaa93c2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6466 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
92ed3726 |
|
30-May-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Icon-O-Matic: check number of items when exporting Silently saving only part of the data is not nice and confusing. The error message just says "Out of range" now however, which is not really great either. We could improve the error reporting, and, as mentionned in the ticket, also warn in the UI when the limit is reached (a marker near the shape/path/fill lists maybe?) so the user knows they need to simplify their picture. Part of #13978 Change-Id: I978ff3d377b3652c7f1c5fac4f429ade0398d5f7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2852 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
60128b54 |
|
04-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
Icon-o-matic: some 64 bit fixes
|
#
6ff66b0b |
|
19-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* fixed warnings in icon-o-matic (one of which was actually a style issue ;-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38270 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64eb49fd |
|
15-Feb-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Cleanup in the Gradient department. No fuctional change. Renamed BGradient::color_step to BGradient::ColorStop as it's called everywhere else. Also renamed BGradient::gradient_type to just BGradient::Type. Renamed BGradient::Type() to GetType(). * Simplification of method names in Painter.cpp. Some not yet complete and yet inactive code to accelerate vertical gradients (bypassing AGG for this special case). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52de6dce |
|
08-Nov-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Moved the gradient_type and color_step structs into the BGradient class/namespace. Renamed the B_GRADIENT_* types to TYPE_* as the context is already given. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28564 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
991547ef |
|
14-Oct-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Artur Wyszynski: * Implemented BGradient, BGradientLinear, BGradientRadial, BGradientDiamond, BGradientConic and BGradientRadialFocus new Interface Kit classes. * Implemented all the (AGG-based) backend necessary in the app_server to render gradients (Painter, DrawingEngine) * app_server/View can convert a BGradient layout to screen coordinates. * Added BGradient methods of the Fill* methods in BView. * Implemented a test app and added it to the image as a demo. * Adopted Icon-O-Matic and libs/icon in order to avoid clashing with the new BGradient class. Re-use some parts where possible. Awesome work, Artur! Thanks a lot. Now a more modern looking GUI has just become much easier to implement! :-) TODO: * Remove the need to have gradient type twice in the app_server protocol. * Refactor some parts of the patch to remove duplicated code (Painter, DrawingEngine). * Adopt the BPicture protocol to know about BGradients. * Review some parts of the BArchivable implementation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28109 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04700250 |
|
19-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Small cleanup for 80 char/line limit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27064 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
129302e4 |
|
08-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed two bugs related to #1445, on BeOS R5, BFS has a bug that prevents attributes to be written under a certain name when they already exist under the same name but with a different type * the code that did the saving to a temporary file, then copied the attributes of the original file, then clobbered the original file prevented saving the icon in the icon attribute reliably, disabled this code for now and added TODO how it should work better git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22205 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8745d98 |
|
25-May-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* added "NativeSaver" which combines the MessageExporter and AttributeSaver to save the document also as icon attribute to a native Icon-O-Matic document file * added cmd-Y short cut to main window (on a German keyboard, Y and Z are swapped, but the Undo/Redo shortcuts are still "Z" while Z is much harder to reach than Y) * fixed warning in SetColorCommand.cpp * FlatIconExporter needs to save the attribute using B_VECTOR_ICON_TYPE (of course) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
774831e7 |
|
16-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
big clean up of Save and Export stuff: * implemented SavePanel that let's you chose the Export format * introduced DocumentSaver class and several implementations * Document no longer remembers any entry_refs, but a native and export document saver, for other export formats than HVIF, it is no longer necessary to go through the file panel, simply invoking Export will do * this makes it much easier to have a custom saver that sends a message with an HVIF icon to another app instead of saving to a file * cleaned up File menu * last used export format is persistent git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19307 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3ec18e87 |
|
17-Sep-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
various GCC 4 build fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18875 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
|
#
60128b54b483dc49e67e08ebbca3f08f5c47edea |
|
04-May-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
Icon-o-matic: some 64 bit fixes
|
#
6ff66b0bc0e1f5559bd9e06d24ffa82917dc08ad |
|
19-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* fixed warnings in icon-o-matic (one of which was actually a style issue ;-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38270 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
64eb49fd247e510f572ead9f2fbec5b39acd3fe9 |
|
15-Feb-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Cleanup in the Gradient department. No fuctional change. Renamed BGradient::color_step to BGradient::ColorStop as it's called everywhere else. Also renamed BGradient::gradient_type to just BGradient::Type. Renamed BGradient::Type() to GetType(). * Simplification of method names in Painter.cpp. Some not yet complete and yet inactive code to accelerate vertical gradients (bypassing AGG for this special case). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
52de6dce94e48d957a3bb96d6b256f45a953f4c2 |
|
08-Nov-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Moved the gradient_type and color_step structs into the BGradient class/namespace. Renamed the B_GRADIENT_* types to TYPE_* as the context is already given. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28564 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
991547ef6c1fca650f0fba855206296ef54bc441 |
|
14-Oct-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Artur Wyszynski: * Implemented BGradient, BGradientLinear, BGradientRadial, BGradientDiamond, BGradientConic and BGradientRadialFocus new Interface Kit classes. * Implemented all the (AGG-based) backend necessary in the app_server to render gradients (Painter, DrawingEngine) * app_server/View can convert a BGradient layout to screen coordinates. * Added BGradient methods of the Fill* methods in BView. * Implemented a test app and added it to the image as a demo. * Adopted Icon-O-Matic and libs/icon in order to avoid clashing with the new BGradient class. Re-use some parts where possible. Awesome work, Artur! Thanks a lot. Now a more modern looking GUI has just become much easier to implement! :-) TODO: * Remove the need to have gradient type twice in the app_server protocol. * Refactor some parts of the patch to remove duplicated code (Painter, DrawingEngine). * Adopt the BPicture protocol to know about BGradients. * Review some parts of the BArchivable implementation. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28109 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
047002500870aece787630083d29e931651ea61c |
|
19-Aug-2008 |
Stephan Aßmus <superstippi@gmx.de> |
Small cleanup for 80 char/line limit. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27064 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
129302e4c139af929452956dd9caa93e21d4302d |
|
08-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed two bugs related to #1445, on BeOS R5, BFS has a bug that prevents attributes to be written under a certain name when they already exist under the same name but with a different type * the code that did the saving to a temporary file, then copied the attributes of the original file, then clobbered the original file prevented saving the icon in the icon attribute reliably, disabled this code for now and added TODO how it should work better git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22205 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8745d98e92b2e25d6a9024cecc951e9a8ed8de4 |
|
25-May-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* added "NativeSaver" which combines the MessageExporter and AttributeSaver to save the document also as icon attribute to a native Icon-O-Matic document file * added cmd-Y short cut to main window (on a German keyboard, Y and Z are swapped, but the Undo/Redo shortcuts are still "Z" while Z is much harder to reach than Y) * fixed warning in SetColorCommand.cpp * FlatIconExporter needs to save the attribute using B_VECTOR_ICON_TYPE (of course) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
774831e7c242f07168f07e1d804d93fe63687702 |
|
16-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
big clean up of Save and Export stuff: * implemented SavePanel that let's you chose the Export format * introduced DocumentSaver class and several implementations * Document no longer remembers any entry_refs, but a native and export document saver, for other export formats than HVIF, it is no longer necessary to go through the file panel, simply invoking Export will do * this makes it much easier to have a custom saver that sends a message with an HVIF icon to another app instead of saving to a file * cleaned up File menu * last used export format is persistent git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19307 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3ec18e87d6cfa48715a6ed10bcd03858d832093b |
|
17-Sep-2006 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
various GCC 4 build fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18875 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
|