gui.cpp

changeset 114
fe1bfc5f59ed
parent 113
bbaa40226ec9
child 116
4fde8fdf258a
equal deleted inserted replaced
113:bbaa40226ec9 114:fe1bfc5f59ed
553 break; 553 break;
554 554
555 case OBJ_BFC: 555 case OBJ_BFC:
556 { 556 {
557 LDBFC* bfc = static_cast<LDBFC*> (obj); 557 LDBFC* bfc = static_cast<LDBFC*> (obj);
558 zText = LDBFC::saStatements[bfc->dStatement]; 558 zText = LDBFC::saStatements[bfc->eStatement];
559 } 559 }
560 break; 560 break;
561 561
562 case OBJ_Radial: 562 case OBJ_Radial:
563 { 563 {
564 LDRadial* pRad = static_cast<LDRadial*> (obj); 564 LDRadial* pRad = static_cast<LDRadial*> (obj);
565 zText.format ("%d / %d %s", pRad->dSegments, pRad->dDivisions, 565 zText.format ("%s: %d / %d %s", pRad->makeFileName ().chars (),
566 pRad->radialTypeName()); 566 pRad->dSegments, pRad->dDivisions, pRad->radialTypeName());
567 567
568 if (pRad->eRadialType == LDRadial::Ring || pRad->eRadialType == LDRadial::Cone) 568 if (pRad->eRadialType == LDRadial::Ring || pRad->eRadialType == LDRadial::Cone)
569 zText.appendformat (" %d", pRad->dRingNum); 569 zText.appendformat (" %d", pRad->dRingNum);
570 570
571 zText.appendformat (" %s", pRad->vPosition.getStringRep (true).chars ()); 571 zText.appendformat (" %s", pRad->vPosition.getStringRep (true).chars ());

mercurial