// Part of the Architektonas Project
// Originally part of QCad Community Edition by Andrew Mustun
// Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
//
// JLH = James L. Hammons <jlhamm@acm.org>
//
#include "dlgdimension.h"
-#include "rs_dimension.h"
+#include "dimension.h"
#include "drawing.h"
DlgDimension::DlgDimension(QWidget * parent/*= NULL*/, Qt::WindowFlags flags/*= 0*/):
{
}
-void DlgDimension::setDim(RS_Dimension & d)
+void DlgDimension::setDim(Dimension & d)
{
dim = &d;
ui.wPen->setPen(dim->getPen(false), true, false, "Pen");
if (graphic)
ui.cbLayer->init(*(graphic->getLayerList()), false, false);
- RS_Layer * lay = dim->getLayer(false);
+ Layer * lay = dim->getLayer(false);
if (lay)
ui.cbLayer->setLayer(*lay);