Program: bbtk
Module: $RCSfile: bbwxLayoutSplit.cxx,v $
Language: C++
- Date: $Date: 2009/05/15 14:58:03 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2010/04/08 14:38:00 $
+ Version: $Revision: 1.13 $
=========================================================================*/
/* ---------------------------------------------------------------------
int orientation=0;
if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"0|H|HORIZONTAL")==true) { orientation=0; }
- if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"1|V|VERTICAL")==true) { orientation=1; }
+ if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"1|V|VERTICAL")==true) { orientation=1; }
- if (orientation==1) { w->SplitHorizontally( w1, w2, 100); }
+ if (orientation==1) { w->SplitHorizontally( w1, w2, 100); }
else { w->SplitVertically( w1, w2, 100); }
bbSetOutputWidget( w );
// std::cout << "pos = "<<pos<<std::endl;
win->SetSashPosition(pos,true);
- bbUserOnShowWidget("Widget1");
- bbUserOnShowWidget("Widget2");
+
}