X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Flayerbox.cpp;h=b6e865aac175620e900dd81ab66687f444be3604;hb=2ee84c5948ede7fc2f7b4435c5edef42a030ac05;hp=f40cf92bc85490a10d7dc18a4ac7c267805e357d;hpb=48105dec9198cf5a81dd9286010d0d45e28f70c3;p=architektonas diff --git a/src/widgets/layerbox.cpp b/src/widgets/layerbox.cpp index f40cf92..b6e865a 100644 --- a/src/widgets/layerbox.cpp +++ b/src/widgets/layerbox.cpp @@ -16,8 +16,8 @@ #include "layerbox.h" -#include "rs_layer.h" -#include "rs_layerlist.h" +#include "layer.h" +#include "layerlist.h" /** * Default Constructor. You must call init manually before using @@ -39,7 +39,7 @@ LayerBox::~LayerBox() { } -RS_Layer * LayerBox::getLayer() +Layer * LayerBox::getLayer() { return currentLayer; } @@ -51,7 +51,7 @@ RS_Layer * LayerBox::getLayer() * available. * @param showByBlock true: Show attribute ByBlock. */ -void LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchanged) +void LayerBox::init(LayerList & layerList, bool showByBlock, bool showUnchanged) { this->showByBlock = showByBlock; this->showUnchanged = showUnchanged; @@ -63,7 +63,7 @@ void LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchang for(uint i=0; igetName() != "ByBlock" || showByBlock)) // insertItem(lay->getName()); @@ -78,7 +78,7 @@ void LayerBox::init(RS_LayerList & layerList, bool showByBlock, bool showUnchang /** * Sets the layer shown in the combobox to the given layer. */ -void LayerBox::setLayer(RS_Layer & layer) +void LayerBox::setLayer(Layer & layer) { currentLayer = &layer; @@ -118,9 +118,8 @@ bool LayerBox::isUnchanged() } /** - * Called when the color has changed. This method - * sets the current color to the value chosen or even - * offers a dialog to the user that allows him/ her to + * Called when the color has changed. This method sets the current color to + * the value chosen or even offers a dialog to the user that allows him/her to * choose an individual color. */ void LayerBox::slotLayerChanged(int index)