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.

123 lines
3.7 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: dialog_initpcb.h
  3. // Purpose:
  4. // Author: jean-pierre Charras
  5. // Modified by:
  6. // Created: 15/02/2006 21:42:41
  7. // RCS-ID:
  8. // Copyright: License GNU
  9. // Licence:
  10. /////////////////////////////////////////////////////////////////////////////
  11. // Generated by DialogBlocks (unregistered), 15/02/2006 21:42:41
  12. #ifndef _DIALOG_INITPCB_H_
  13. #define _DIALOG_INITPCB_H_
  14. /*!
  15. * Includes
  16. */
  17. ////@begin includes
  18. ////@end includes
  19. /*!
  20. * Forward declarations
  21. */
  22. ////@begin forward declarations
  23. ////@end forward declarations
  24. /*!
  25. * Control identifiers
  26. */
  27. ////@begin control identifiers
  28. #define ID_DIALOG 10000
  29. #define SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|MAYBE_RESIZE_BORDER
  30. #define SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_TITLE _("Global Delete")
  31. #define SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_IDNAME ID_DIALOG
  32. #define SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_SIZE wxSize(400, 300)
  33. #define SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_POSITION wxDefaultPosition
  34. #define ID_CHECKBOX 10001
  35. #define ID_CHECKBOX1 10002
  36. #define ID_CHECKBOX2 10003
  37. #define ID_CHECKBOX3 10004
  38. #define ID_CHECKBOX4 10005
  39. #define ID_CHECKBOX5 10006
  40. #define ID_CHECKBOX6 10007
  41. #define ID_CHECKBOX7 10008
  42. #define ID_CHECKBOX8 10009
  43. #define ID_CHECKBOX9 10010
  44. ////@end control identifiers
  45. /*!
  46. * Compatibility
  47. */
  48. #ifndef wxCLOSE_BOX
  49. #define wxCLOSE_BOX 0x1000
  50. #endif
  51. /*!
  52. * WinEDA_PcbGlobalDeleteFrame class declaration
  53. */
  54. class WinEDA_PcbGlobalDeleteFrame: public wxDialog
  55. {
  56. DECLARE_DYNAMIC_CLASS( WinEDA_PcbGlobalDeleteFrame )
  57. DECLARE_EVENT_TABLE()
  58. public:
  59. /// Constructors
  60. WinEDA_PcbGlobalDeleteFrame( );
  61. WinEDA_PcbGlobalDeleteFrame( WinEDA_PcbFrame* parent, wxWindowID id = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_SIZE, long style = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_STYLE );
  62. /// Creation
  63. bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_SIZE, long style = SYMBOL_WINEDA_PCBGLOBALDELETEFRAME_STYLE );
  64. /// Creates the controls and sizers
  65. void CreateControls();
  66. ////@begin WinEDA_PcbGlobalDeleteFrame event handler declarations
  67. /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
  68. void OnOkClick( wxCommandEvent& event );
  69. /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
  70. void OnCancelClick( wxCommandEvent& event );
  71. ////@end WinEDA_PcbGlobalDeleteFrame event handler declarations
  72. ////@begin WinEDA_PcbGlobalDeleteFrame member function declarations
  73. /// Retrieves bitmap resources
  74. wxBitmap GetBitmapResource( const wxString& name );
  75. /// Retrieves icon resources
  76. wxIcon GetIconResource( const wxString& name );
  77. ////@end WinEDA_PcbGlobalDeleteFrame member function declarations
  78. /// Should we show tooltips?
  79. static bool ShowToolTips();
  80. void AcceptPcbDelete(wxCommandEvent& event);
  81. ////@begin WinEDA_PcbGlobalDeleteFrame member variables
  82. wxCheckBox* m_DelZones;
  83. wxCheckBox* m_DelTexts;
  84. wxCheckBox* m_DelEdges;
  85. wxCheckBox* m_DelDrawings;
  86. wxCheckBox* m_DelModules;
  87. wxCheckBox* m_DelTracks;
  88. wxCheckBox* m_DelMarkers;
  89. wxCheckBox* m_DelAlls;
  90. wxCheckBox* m_TrackFilterAR;
  91. wxCheckBox* m_TrackFilterLocked;
  92. ////@end WinEDA_PcbGlobalDeleteFrame member variables
  93. WinEDA_PcbFrame * m_Parent;
  94. };
  95. #endif
  96. // _DIALOG_INITPCB_H_