PopUpButton widget and PopUpToggleButton added ; Curve editor changed to handle any numbe of curve, since the curve editor is now shared between the curves. (CMakeLists changed -> CMake you project)

This commit is contained in:
Hombre
2010-11-04 01:04:11 +01:00
parent 4f3da272a2
commit 37c8063f41
30 changed files with 1618 additions and 629 deletions

View File

@@ -275,8 +275,8 @@ void ToolPanelCoordinator::readOptions () {
if (i<expList.size())
expList[i]->set_expanded (options.tpOpen[i]);
if (options.crvOpen.size()>1)
curve->expandCurve (options.crvOpen[0]);
//if (options.crvOpen.size()>1)
// curve->expandCurve (options.crvOpen[0]);
}
void ToolPanelCoordinator::writeOptions () {
@@ -286,8 +286,8 @@ void ToolPanelCoordinator::writeOptions () {
for (int i=0; i<expList.size(); i++)
options.tpOpen.push_back (expList[i]->get_expanded ());
options.crvOpen.clear ();
options.crvOpen.push_back (curve->isCurveExpanded());
//options.crvOpen.clear ();
//options.crvOpen.push_back (curve->isCurveExpanded());
}