X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Flayerbox.cpp;h=b6e865aac175620e900dd81ab66687f444be3604;hb=2ee84c5948ede7fc2f7b4435c5edef42a030ac05;hp=8024476fbf27765806d0be33f453a0b73bb834ea;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/widgets/layerbox.cpp b/src/widgets/layerbox.cpp index 8024476..b6e865a 100644 --- a/src/widgets/layerbox.cpp +++ b/src/widgets/layerbox.cpp @@ -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;