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.

116 lines
3.5 KiB

18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: dialog_orient_footprints.h
  3. // Purpose:
  4. // Author:
  5. // Modified by:
  6. // Created: 11/07/2008 13:32:12
  7. // RCS-ID:
  8. // Copyright:
  9. // Licence:
  10. /////////////////////////////////////////////////////////////////////////////
  11. // Generated by DialogBlocks (unregistered), 11/07/2008 13:32:12
  12. #ifndef _DIALOG_ORIENT_FOOTPRINTS_H_
  13. #define _DIALOG_ORIENT_FOOTPRINTS_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_ORIENT_FOOTPRINTS 10000
  29. #define ID_TEXTCTRLROT_VALUE 10003
  30. #define ID_TEXTCTRL_FOOTPRINTS_FILTER 10001
  31. #define ID_CHECKBOX_APPLY_TO_LOCKED 10002
  32. #define SYMBOL_DIALOG_ORIENT_FOOTPRINTS_STYLE wxDEFAULT_DIALOG_STYLE
  33. #define SYMBOL_DIALOG_ORIENT_FOOTPRINTS_TITLE _("Footprints Orientation")
  34. #define SYMBOL_DIALOG_ORIENT_FOOTPRINTS_IDNAME ID_DIALOG_ORIENT_FOOTPRINTS
  35. #define SYMBOL_DIALOG_ORIENT_FOOTPRINTS_SIZE wxSize(400, 300)
  36. #define SYMBOL_DIALOG_ORIENT_FOOTPRINTS_POSITION wxDefaultPosition
  37. ////@end control identifiers
  38. /*!
  39. * dialog_orient_footprints class declaration
  40. */
  41. class dialog_orient_footprints: public wxDialog
  42. {
  43. DECLARE_DYNAMIC_CLASS( dialog_orient_footprints )
  44. DECLARE_EVENT_TABLE()
  45. public:
  46. /// Constructors
  47. dialog_orient_footprints();
  48. dialog_orient_footprints( WinEDA_PcbFrame* parent,
  49. wxWindowID id = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_IDNAME,
  50. const wxString& caption = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_TITLE,
  51. const wxPoint& pos = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_POSITION,
  52. const wxSize& size = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_SIZE,
  53. long style = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_STYLE );
  54. /// Creation
  55. bool Create( wxWindow* parent, wxWindowID id = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_IDNAME, const wxString& caption = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_TITLE, const wxPoint& pos = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_POSITION, const wxSize& size = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_SIZE, long style = SYMBOL_DIALOG_ORIENT_FOOTPRINTS_STYLE );
  56. /// Destructor
  57. ~dialog_orient_footprints();
  58. /// Initialises member variables
  59. void Init();
  60. /// Creates the controls and sizers
  61. void CreateControls();
  62. ////@begin dialog_orient_footprints event handler declarations
  63. /// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG_ORIENT_FOOTPRINTS
  64. void OnCloseWindow( wxCloseEvent& event );
  65. /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
  66. void OnOkClick( wxCommandEvent& event );
  67. /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CANCEL
  68. void OnCancelClick( wxCommandEvent& event );
  69. ////@end dialog_orient_footprints event handler declarations
  70. ////@begin dialog_orient_footprints member function declarations
  71. /// Retrieves bitmap resources
  72. wxBitmap GetBitmapResource( const wxString& name );
  73. /// Retrieves icon resources
  74. wxIcon GetIconResource( const wxString& name );
  75. ////@end dialog_orient_footprints member function declarations
  76. /// Should we show tooltips?
  77. static bool ShowToolTips();
  78. ////@begin dialog_orient_footprints member variables
  79. wxTextCtrl* m_OrientationCtrl;
  80. wxTextCtrl* m_FilterPattern;
  81. wxCheckBox* m_ApplyToLocked;
  82. wxButton* m_CloseButton;
  83. ////@end dialog_orient_footprints member variables
  84. WinEDA_PcbFrame * m_Parent;
  85. };
  86. #endif
  87. // _DIALOG_ORIENT_FOOTPRINTS_H_