_currentitem = -1;
_maxgreyvalue = 0;
printf("EED HistogramDialogComboBox\n");
+#ifdef LINUX
+ std::string currentpath = crea::System::GetExecutablePath();
+ currentpath.append("/data/");
+ crea::System::createDirectory(currentpath.c_str());
+#endif
}
HistogramDialogComboBox::~HistogramDialogComboBox()
_bitmapsitems = dialog->getComboBoxItems();
//std::string currentpath = crea::System::GetDllAppPath("bbcreaMaracasVisu"); // JPR
- std::string dllLastName("bbcreaMaracasVisu");
- std::string currentpath = crea::System::GetDllAppPath(dllLastName);
+ std::string dllLastName;
+ std::string currentpath;
+ #ifdef WIN32
+ dllLastName = "bbcreaMaracasVisu";
+ currentpath = crea::System::GetDllAppPath(dllLastName);
+ #endif
+ #ifdef LINUX
+ currentpath = crea::System::GetExecutablePath();
+ currentpath.append("/data/");
+ #endif
currentpath.append(FILENAME);
std::vector<double> redvect,greenvect,bluevect;
std::string currentpath = "";
#ifdef WIN32
currentpath = crea::System::GetDllAppPath("bbcreaMaracasVisu");
+#endif
+#ifdef LINUX
+ currentpath = crea::System::GetExecutablePath();
+ currentpath.append("/data/");
#endif
currentpath.append(FILENAME);