You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. #ifndef __dialog_lib_edit_draw_item__
  2. #define __dialog_lib_edit_draw_item__
  3. /**
  4. * @file
  5. * Subclass of DIALOG_LIB_EDIT_DRAW_ITEM_BASE, which is generated by
  6. * wxFormBuilder.
  7. */
  8. class LIB_DRAW_ITEM;
  9. #include "dialog_lib_edit_draw_item_base.h"
  10. /**
  11. * Dialog to edit library component graphic items.
  12. */
  13. class DIALOG_LIB_EDIT_DRAW_ITEM : public DIALOG_LIB_EDIT_DRAW_ITEM_BASE
  14. {
  15. public:
  16. /** Constructor */
  17. DIALOG_LIB_EDIT_DRAW_ITEM( wxWindow* parent, const wxString& itemName );
  18. wxString GetWidth( void );
  19. void SetWidth( const wxString& width );
  20. bool GetApplyToAllConversions( void );
  21. void SetApplyToAllConversions( bool applyToAll );
  22. void EnableApplyToAllConversions( bool enable = true );
  23. bool GetApplyToAllUnits( void );
  24. void SetApplyToAllUnits( bool applyToAll );
  25. void EnableApplyToAllUnits( bool enable = true );
  26. int GetFillStyle( void );
  27. void SetFillStyle( int fillStyle );
  28. void EnableFillStyle( bool enable = true );
  29. void SetWidthUnits( const wxString& units );
  30. };
  31. #endif // __dialog_lib_edit_draw_item__