#
e2a31283 |
| 05-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
many improvements and bug fixes: * added VertexSource::SetLast() used by PathSource to call agg::path_storage::close_polygon(). The StrokeTransformer avoids this of course. Affine and Perspecti
many improvements and bug fixes: * added VertexSource::SetLast() used by PathSource to call agg::path_storage::close_polygon(). The StrokeTransformer avoids this of course. Affine and PerspectiveTransformer forward this to their source. * TransformerItems watch their transformers for notifications * made VectorPath an IconObject * VectorPath no longer uses close_polygon() when converting to agg::path_storage to allow open strokes * added IconObjectListView which inherits from PropertyListView and allows to edit the properties of the last selected object from one of the other list views * fixed a couple bugs when adopting properties: - removed the Property* in the PropertyEditorView base class, and made GetProperty() virtual, as the base class pointer was not maintained and superfluous - delete the old PropertyObject in PropertyListView::SetTo when adopting the properties instead of the object whose properties were adopted... * added SetPropertiesCommand to allow Undo/Redo on changes of properties * Style is also an IconObject now (TODO: yet another list view for styles... :-) * Style watches its Gradient for notifications and builds and caches the color array now * removed generating the color array for each scanline in IconRenderer, so the performance is improved a lot * Shape watches its Transformers for notifications in order to trigger rerendering * StrokeTransformers adds a bunch of properties like stroke width, cap and join mode * StateView keyboard filter no longer steals keydown events from BTextViews * PropertyItemViews resize with the parent * refined the interface for PropertyListView for easier tracking of the changed properties in derived classes * added HasPendingNotifications() to Observable, so that IconObjects can track changes more easily when adopting a PropertyObject * the name is now part of any IconObject
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18045 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|
#
64d80db6 |
| 05-Jul-2006 |
Stephan Aßmus <superstippi@gmx.de> |
added extensive "PropertyObject" framework * Property is an abstract class for representing some property with an interface for setting/getting the value and cloning the property and such stuff *
added extensive "PropertyObject" framework * Property is an abstract class for representing some property with an interface for setting/getting the value and cloning the property and such stuff * PropertyObject holds a bunch of different Properties * various specific Property classes represent floats, integers, colors, booleans, options and so on * PropertyListView can edit the different properties in a given PropertyObject by using individual property editor views
The plan is to be able to convert some random object (for example a selected Shape or Transformer, Style or whatever) into a PropertyObject for being edited in the PropertyListView like it is done in WonderBrush...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18036 a95241bf-73f2-0310-859d-f6bbb57e9c96
show more ...
|