#
2263aa8f |
|
10-Mar-2023 |
Zardshard <0azrune6@zard.anonaddy.com> |
Icon-O-Matic: Fix references not being acquired/released * Replaces the relavent raw pointers with BReferences * Fixes one observer not being released Fixes #12076 Fixes #16577 Change-Id: I67b68478911084637e9b474e56066aee7550ffaf Reviewed-on: https://review.haiku-os.org/c/haiku/+/6182 Tested-by: Automation <automation@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
fa19dd44 |
|
10-Dec-2015 |
looncraz <looncraz@looncraz.net> |
apps: Convert to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0045-0075, 0077-0087 from looncraz, unmodified.
|
#
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.
|
#
a184e9f5 |
|
12-May-2012 |
Stephan Aßmus <superstippi@gmx.de> |
Style clean up.
|
#
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.
|
#
ff3b4246 |
|
06-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41347 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
8dfea16f |
|
19-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
The transformation of the gradient used by the GradientControl is always set to the current transformation of the style's gradient, in order to never accidentally change that transformation while using assignment and comparison operators for convenience. However when resetting the transformation in the notification hook, it could lead to reentering the hook unnecessarily and even busy looping (thanks to Mark Erben for providing such an icon). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36865 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dc |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb3e35fc |
|
22-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 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
|
#
133f20b0 |
|
27-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed a little GUI layout issue git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23763 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c50a1ab8 |
|
11-Nov-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* fix spelling mistake diamont -> diamond (fixes #1618) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
015a014a |
|
21-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed quite a few selections bugs, most were caused by cyclic notifications, and the mechanism to prevent them not working... * could have fixed the "there are still listeners attached" bug (debugger drop) on exit, I have not seen it again, but I am not sure if it is really fixed * introduced a way to ask the user, if changes should be saved and then pick up the line of thought after saving git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22269 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cdb69c4a |
|
13-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* take care of invalidating resized menufields on BeOS git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22227 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5725361f |
|
08-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* some fixes to the GUI on BeOS, avoid an app_server bug when resizing the window after creating the views, but before Show() * make the MenuFields in the Style section follow left/right git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22204 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84153c7a |
|
21-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* various UI improvements and fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19347 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
|
#
c2c1e4c7 |
|
05-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added scroll view around canvas in Haiku version * used new layout features in StyleView for Haiku version git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19212 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
|
#
976ba534 |
|
12-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* don't loose sync of the current color in case gradient stop changes color for some reason git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18133 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61b0e9e3 |
|
12-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added a little bit of tracing to object destruction, since there seems to be a problem when quitting the app * added Undo/Redo commands for numerous operations - (un)assigning VectorPaths to Shapes - adding new VectorPaths - removing VectorPaths - adding Shapes - transforming Shapes - adding Styles - changing Style color * there was a mix up in classes inheriting from SimpleListView, RemoveItemList() gives a list of item pointers, not indices * GradientControl sent the focus notification to the window instead of the set BHandler target * StyleView takes care of transfering the current Style color or the focused gradient stop color to the CurrentColor object, so the current color of the SwatchGroup is synced * small improvement to layout of SwatchGroup * SwatchGroup no longer knows anything about a Style * fixed syncing the global Selection to the listview selection at least for ShapeListView * implemented cloning Shapes - added Transformer::Clone(VectorSource& source) to all Transformers - ShapeListView uses this when dropping shapes with shift pressed * updated NOTES * added Transformable::matrix_size, so that "6" isn't hardcoded everywhere (though it still is at most places) * added listener interface to TransformBox, this is used by the new TransformObjectsCommand, as long as the TransformBox still exists, the command modifies the TransformBox transformation instead of messing with the objects itself * fixed hotspot size in TransformBox by using the zoom level of the CanvasView * TransformBox rotates/scales correctly around the visible pivot * fixed TransformCommand toggling to transformation (the diff was bogus) * Gradient doesn't trigger unnecessary notifications in SetColor() * CanvasView doesn't eat keyboard events when the GradientControl or one of the ListViews has focus (is a hack currently...) * fixed bug in PropertyListView when it calls the PropertyChanged() hook: because of the notification mechanism, the Properties might be toast after the hook returns * moved all GetProperty() implementations from headers into .cpp files git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2205ee09 |
|
10-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added GradientControl which can edit a Gradient * filled out StyleView for configuring a Style * added SetGradientCommand for undo/redo editing a Gradient * Style::SetGradient() doesn't assume ownership of the Gradient passed in anymore git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18092 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e5799544 |
|
23-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
beginning to check up on gui components: * added a group of controls to access and manipulate colors (incomplete) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17917 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.
|
#
a184e9f5b12a808984023b8a840a32f6747db8cb |
|
12-May-2012 |
Stephan Aßmus <superstippi@gmx.de> |
Style clean up.
|
#
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.
|
#
ff3b4246cc2f33bc99570aae37fd538a536710f8 |
|
06-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41347 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
8dfea16fe399a8496a0dcdaf60d01f6c9c35b009 |
|
19-May-2010 |
Stephan Aßmus <superstippi@gmx.de> |
The transformation of the gradient used by the GradientControl is always set to the current transformation of the style's gradient, in order to never accidentally change that transformation while using assignment and comparison operators for convenience. However when resetting the transformation in the notification hook, it could lead to reentering the hook unnecessarily and even busy looping (thanks to Mark Erben for providing such an icon). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36865 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dcf39ce78e5885b481eee12e561ad6e096 |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb3e35fcec1ef41b413b3b121764509f436dee4d |
|
22-Jan-2009 |
Michael Lotz <mmlr@mlotz.ch> |
Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2 build. I sure hope that this doesn't break the build for anyone else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 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
|
#
133f20b00b1a67ad27403260844f30d9cf79eac9 |
|
27-Jan-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed a little GUI layout issue git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23763 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c50a1ab8a4e69936c56026eb70c9846a578c26e4 |
|
11-Nov-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* fix spelling mistake diamont -> diamond (fixes #1618) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22906 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
015a014aa74d4366a1c2c14ecef92483ebf3e532 |
|
21-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* fixed quite a few selections bugs, most were caused by cyclic notifications, and the mechanism to prevent them not working... * could have fixed the "there are still listeners attached" bug (debugger drop) on exit, I have not seen it again, but I am not sure if it is really fixed * introduced a way to ask the user, if changes should be saved and then pick up the line of thought after saving git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22269 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cdb69c4a025b9bc9d9fdd40b7f508b5fd7fc4dbb |
|
13-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* take care of invalidating resized menufields on BeOS git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22227 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5725361ffe6b7987fcedc7225c3a03081ea5dc86 |
|
08-Sep-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* some fixes to the GUI on BeOS, avoid an app_server bug when resizing the window after creating the views, but before Show() * make the MenuFields in the Style section follow left/right git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22204 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84153c7a0c3a6df07e996ca265884ec5308a1c2a |
|
21-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* various UI improvements and fixes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19347 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
|
#
c2c1e4c72582ca478af6357bf8ba0febe563418b |
|
05-Nov-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added scroll view around canvas in Haiku version * used new layout features in StyleView for Haiku version git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19212 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
|
#
976ba53424bffa21aed5bac87d7a10041b98dcc2 |
|
12-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* don't loose sync of the current color in case gradient stop changes color for some reason git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18133 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61b0e9e3149012ccbd48a10dcbc7f83600bb4769 |
|
12-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added a little bit of tracing to object destruction, since there seems to be a problem when quitting the app * added Undo/Redo commands for numerous operations - (un)assigning VectorPaths to Shapes - adding new VectorPaths - removing VectorPaths - adding Shapes - transforming Shapes - adding Styles - changing Style color * there was a mix up in classes inheriting from SimpleListView, RemoveItemList() gives a list of item pointers, not indices * GradientControl sent the focus notification to the window instead of the set BHandler target * StyleView takes care of transfering the current Style color or the focused gradient stop color to the CurrentColor object, so the current color of the SwatchGroup is synced * small improvement to layout of SwatchGroup * SwatchGroup no longer knows anything about a Style * fixed syncing the global Selection to the listview selection at least for ShapeListView * implemented cloning Shapes - added Transformer::Clone(VectorSource& source) to all Transformers - ShapeListView uses this when dropping shapes with shift pressed * updated NOTES * added Transformable::matrix_size, so that "6" isn't hardcoded everywhere (though it still is at most places) * added listener interface to TransformBox, this is used by the new TransformObjectsCommand, as long as the TransformBox still exists, the command modifies the TransformBox transformation instead of messing with the objects itself * fixed hotspot size in TransformBox by using the zoom level of the CanvasView * TransformBox rotates/scales correctly around the visible pivot * fixed TransformCommand toggling to transformation (the diff was bogus) * Gradient doesn't trigger unnecessary notifications in SetColor() * CanvasView doesn't eat keyboard events when the GradientControl or one of the ListViews has focus (is a hack currently...) * fixed bug in PropertyListView when it calls the PropertyChanged() hook: because of the notification mechanism, the Properties might be toast after the hook returns * moved all GetProperty() implementations from headers into .cpp files git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18122 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2205ee09148c5472af4cecc2b4cc15a65d643c1d |
|
10-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
* added GradientControl which can edit a Gradient * filled out StyleView for configuring a Style * added SetGradientCommand for undo/redo editing a Gradient * Style::SetGradient() doesn't assume ownership of the Gradient passed in anymore git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18092 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e57995449d5e5a8ed659229d98274bea0d824cef |
|
23-Jun-2006 |
Stephan Aßmus <superstippi@gmx.de> |
beginning to check up on gui components: * added a group of controls to access and manipulate colors (incomplete) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17917 a95241bf-73f2-0310-859d-f6bbb57e9c96
|