Skip to content
Snippets Groups Projects
Commit 6d48f03c authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

oops

parent f68e1c13
No related branches found
No related tags found
No related merge requests found
...@@ -615,6 +615,11 @@ onelabWindow::onelabWindow(int deltaFontSize) ...@@ -615,6 +615,11 @@ onelabWindow::onelabWindow(int deltaFontSize)
FL_NORMAL_SIZE += _deltaFontSize; FL_NORMAL_SIZE += _deltaFontSize;
} }
int onelabWindow::meshAuto(){ return _gear->menu()[3].value(); }
int onelabWindow::mergeAuto(){ return _gear->menu()[4].value(); }
int onelabWindow::hideNewViews(){ return _gear->menu()[5].value(); }
int onelabWindow::showLastStep(){ return _gear->menu()[6].value(); }
static bool getFlColor(const std::string &str, Fl_Color &c) static bool getFlColor(const std::string &str, Fl_Color &c)
{ {
if(str == "1"){ if(str == "1"){
......
...@@ -51,10 +51,10 @@ class onelabWindow{ ...@@ -51,10 +51,10 @@ class onelabWindow{
bool isBusy(); bool isBusy();
void show(){ _win->show(); } void show(){ _win->show(); }
int shown(){ return _win->shown(); } int shown(){ return _win->shown(); }
int meshAuto(){ return _gear->menu()[2].value(); } int meshAuto();
int mergeAuto(){ return _gear->menu()[3].value(); } int mergeAuto();
int hideNewViews(){ return _gear->menu()[4].value(); } int hideNewViews();
int showLastStep(){ return _gear->menu()[5].value(); } int showLastStep();
std::string getPath(Fl_Tree_Item *item) std::string getPath(Fl_Tree_Item *item)
{ {
char path[1024]; char path[1024];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment