]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.h
2108 Bug Volume Rendering widget options are not stable
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / HistogramDialogComboBox.h
index c50d11a3d1f9902e45fbed243dd2254690ed422a..9fc89ac6600153985365952f9d7639396f3852bf 100644 (file)
 #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
 {
@@ -72,6 +67,7 @@ public:
 
        void OnEditBitmapCombo(wxCommandEvent& event);
        void OnBitmapComboItemSelected(wxCommandEvent& event);
+       void BitmapComboItemSelect(int value);
 
        void OnColorLevelChanged(wxCommandEvent& event);        
        void OnWindowLevelChanged(wxCommandEvent& event);       
@@ -94,6 +90,8 @@ public:
 
        double GetWindowLevel();
        double GetColorLevel();
+       void InitCurrentPathColorsFuntion();
+       std::string GetFileNameOfColorsFunction();
 
 private:
 
@@ -107,6 +105,8 @@ private:
        double _maxgreyvalue;
        int _currentitem;       
 
+       std::string _currentpathColorsFuntion;
+
        /*
        * Represents the color of the backGround. Default color is the parent color. 
        */