26 #ifndef __ImageLegendFrame_hh__
27 #define __ImageLegendFrame_hh__
29 #include <bias_config.h>
31 #ifndef BIAS_HAVE_WXWIDGETS
32 # error BIAS_HAVE_WXWIDGETS not defined but required by HistoFrame. Please enable BIAS_HAVE_WXWIDGETS in CMake configure step.
34 #include <Base/Common/BIASpragmaStart.hh>
36 #include <Base/Common/BIASpragmaEnd.hh>
37 #include <Utils/ImageValueBar.hh>
38 #include <wx/spinctrl.h>
60 wxPoint pos = wxPoint(10,10),
61 wxSize size = wxSize(300, 250));
67 void SetLegendSize(
unsigned width,
unsigned height);
71 wxSpinCtrl *ticksSpin_,*xSpin_,*
ySpin_;
72 void Setup(wxSize size = wxSize(300, 250));
73 void OnSize(wxSizeEvent& event);
74 void OnTicks(wxSpinEvent& event);
75 void OnLegendSize(wxSpinEvent& event);
77 void OnSave(wxCommandEvent& event);
78 void OnQuit(wxCommandEvent & event);
79 void OnClose(wxCloseEvent & event);
91 #endif // __HistoFrame_hh__
ImageValueBar< unsigned char > vbUC_
display image in wx application, provides zoom and investigation functionality
Frame to display a Image legend, for example in biasviewwx.
ImageValueBar< float > vbFL_
BIAS::ImageCanvas * window_
This is the base class for images in BIAS.