#include <wx/bmpcbox.h>
#include "vtkImageData.h"
-#ifdef WIN32
-#define FILENAME "/data/colorsfunction.txt"
-#else
-#define FILENAME "colorsfunction.txt"
-#endif
-
+#define COLORSFUNCTIONFILENAME "colorsfunction.txt"
class HistogramDialogComboBox : public wxPanel
{
void OnEditBitmapCombo(wxCommandEvent& event);
void OnBitmapComboItemSelected(wxCommandEvent& event);
+ void BitmapComboItemSelect(int value);
void OnColorLevelChanged(wxCommandEvent& event);
void OnWindowLevelChanged(wxCommandEvent& event);
double GetWindowLevel();
double GetColorLevel();
+ void InitCurrentPathColorsFuntion();
+ std::string GetFileNameOfColorsFunction();
private:
double _maxgreyvalue;
int _currentitem;
+ std::string _currentpathColorsFuntion;
+
/*
* Represents the color of the backGround. Default color is the parent color.
*/