47 std::function<
void(
double,
bool )> aOnChange );
double GetThreshold() const
Brightness cut deciding which pixels are traced, from 0 to 1.
int GetLayerSelection() const
Index into the layer names given to the constructor, or -1 when there were none.
DIALOG_CONVERT_IMAGE_TO_OUTLINES(wxWindow *aParent, const wxArrayString &aLayerNames, int aSelectedLayer, std::function< void(double, bool)> aOnChange)
std::function< void(double, bool)> m_onChange
void onSettingChanged(wxCommandEvent &aEvent)
void onThresholdScrolled(wxScrollEvent &aEvent)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)