# HG changeset patch # User Santeri Piippo # Date 1366073346 -10800 # Node ID fa2f0008135740d71d9981ee32ba5b3e36435547 # Parent 125e8031dbf1152415fb43387070601b20ebbe59 Added object list representation for radials diff -r 125e8031dbf1 -r fa2f00081357 gui.cpp --- 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 (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;