2019-06-19 16:24:39 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-06-15 16:38:43 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2019-06-19 16:24:39 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2023-06-15 16:38:43 +00:00
|
|
|
#include <wx/scrolwin.h>
|
2019-06-19 16:24:39 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2023-06-15 16:38:43 +00:00
|
|
|
#include <wx/string.h>
|
2019-06-19 16:24:39 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/notebook.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/button.h>
|
2022-11-19 19:39:32 +00:00
|
|
|
#include <wx/checkbox.h>
|
2019-06-19 16:24:39 +00:00
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/valtext.h>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/slider.h>
|
2022-11-19 19:39:32 +00:00
|
|
|
#include <wx/radiobox.h>
|
2023-06-15 16:38:43 +00:00
|
|
|
#include <wx/panel.h>
|
2019-06-19 16:24:39 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-06-15 16:38:43 +00:00
|
|
|
/// Class BITMAP2CMP_PANEL_BASE
|
2019-06-19 16:24:39 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-06-15 16:38:43 +00:00
|
|
|
class BITMAP2CMP_PANEL_BASE : public wxPanel
|
2019-06-19 16:24:39 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxNotebook* m_Notebook;
|
|
|
|
wxScrolledWindow* m_InitialPicturePanel;
|
|
|
|
wxScrolledWindow* m_GreyscalePicturePanel;
|
|
|
|
wxScrolledWindow* m_BNPicturePanel;
|
|
|
|
wxStaticText* m_staticTextISize;
|
|
|
|
wxStaticText* m_SizeXValue;
|
|
|
|
wxStaticText* m_SizeYValue;
|
|
|
|
wxStaticText* m_SizePixUnits;
|
|
|
|
wxStaticText* m_staticTextDPI;
|
|
|
|
wxStaticText* m_InputXValueDPI;
|
|
|
|
wxStaticText* m_InputYValueDPI;
|
|
|
|
wxStaticText* m_DPIUnit;
|
|
|
|
wxStaticText* m_staticTextBPP;
|
|
|
|
wxStaticText* m_BPPValue;
|
|
|
|
wxStaticText* m_BPPunits;
|
2022-11-19 19:39:32 +00:00
|
|
|
wxButton* m_buttonLoad;
|
|
|
|
wxCheckBox* m_aspectRatioCheckbox;
|
2019-06-19 16:24:39 +00:00
|
|
|
wxStaticText* m_staticTextOSize;
|
|
|
|
wxTextCtrl* m_UnitSizeX;
|
|
|
|
wxTextCtrl* m_UnitSizeY;
|
|
|
|
wxChoice* m_PixelUnit;
|
|
|
|
wxStaticText* m_ThresholdText;
|
|
|
|
wxSlider* m_sliderThreshold;
|
|
|
|
wxCheckBox* m_checkNegative;
|
2023-05-13 09:45:25 +00:00
|
|
|
wxStaticBoxSizer* m_sizerPcbLayer;
|
|
|
|
wxChoice* m_chPCBLayer;
|
2022-11-19 19:39:32 +00:00
|
|
|
wxRadioBox* m_rbOutputFormat;
|
|
|
|
wxButton* m_buttonExportFile;
|
|
|
|
wxButton* m_buttonExportClipboard;
|
2019-06-19 16:24:39 +00:00
|
|
|
|
Fix various typos
Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
2022-07-03 04:20:05 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2019-06-19 16:24:39 +00:00
|
|
|
virtual void OnPaintInit( wxPaintEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPaintGreyscale( wxPaintEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPaintBW( wxPaintEvent& event ) { event.Skip(); }
|
2022-11-19 19:39:32 +00:00
|
|
|
virtual void OnLoadFile( wxCommandEvent& event ) { event.Skip(); }
|
2019-06-19 16:24:39 +00:00
|
|
|
virtual void ToggleAspectRatioLock( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSizeChangeX( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSizeChangeY( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSizeUnitChange( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnThresholdChange( wxScrollEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnNegativeClicked( wxCommandEvent& event ) { event.Skip(); }
|
2022-11-19 19:39:32 +00:00
|
|
|
virtual void OnFormatChange( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnExportToFile( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnExportToClipboard( wxCommandEvent& event ) { event.Skip(); }
|
2019-06-19 16:24:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2023-06-15 16:38:43 +00:00
|
|
|
BITMAP2CMP_PANEL_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
2019-06-19 16:24:39 +00:00
|
|
|
|
2023-06-15 16:38:43 +00:00
|
|
|
~BITMAP2CMP_PANEL_BASE();
|
2019-06-19 16:24:39 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|