Added object list representation for radials

Tue, 16 Apr 2013 03:49:06 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Tue, 16 Apr 2013 03:49:06 +0300
changeset 112
fa2f00081357
parent 111
125e8031dbf1
child 113
bbaa40226ec9

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;

mercurial