Tue, 16 Apr 2013 03:49:06 +0300
Added object list representation for radials
gui.cpp | file | annotate | diff | comparison | revisions |
--- a/gui.cpp Tue Apr 16 02:13:11 2013 +0300 +++ b/gui.cpp Tue Apr 16 03:49:06 2013 +0300 @@ -559,6 +559,19 @@ } break; + case OBJ_Radial: + { + LDRadial* pRad = static_cast<LDRadial*> (obj); + zText.format ("%d / %d %s", pRad->dSegments, pRad->dDivisions, + g_saRadialTypeNames[pRad->eRadialType]); + + if (pRad->eRadialType == LDRadial::Ring || pRad->eRadialType == LDRadial::Cone) + zText.appendformat (" %d", pRad->dRingNum); + + zText.appendformat (" %s", pRad->vPosition.getStringRep (true).chars ()); + } + break; + default: zText = g_saObjTypeNames[obj->getType ()]; break;