Library component and draw object improvements and compile warning fix.
* Library component draw items now stored in Boost ptr_vector. * Updated draw item object comparison to include greater and less than condition. * Moved set parts per package code from component edit dialog to component object. * Moved set alternate body style code from component edit dialog to component object. * Tweaked component library file draw item sort order for improved file readability. * Documented component object draw item sort ordering. * Moved plot code to the appropriate library component and draw item objects. * Fixed compiler type conversion warning in plot_common.h.
This commit is contained in:
@@ -207,7 +207,7 @@ public:
|
||||
virtual void set_current_line_width( int width )
|
||||
{
|
||||
/* Handy override */
|
||||
current_pen_width = pen_diameter;
|
||||
current_pen_width = wxRound( pen_diameter );
|
||||
};
|
||||
virtual void set_default_line_width( int width ) {};
|
||||
virtual void set_dash( bool dashed );
|
||||
|
||||
Reference in New Issue
Block a user