X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionblockstoggleview.cpp;h=89bbcd8f12fb0fd8ff7d8339348a1aaf6c895ca5;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=176f363af70df4c37272125cebb61b47dd1ea0ce;hpb=865303923fcb231a171992b75a73364ff469ff8c;p=architektonas diff --git a/src/actions/actionblockstoggleview.cpp b/src/actions/actionblockstoggleview.cpp index 176f363..89bbcd8 100644 --- a/src/actions/actionblockstoggleview.cpp +++ b/src/actions/actionblockstoggleview.cpp @@ -19,7 +19,7 @@ #include "drawing.h" #include "graphicview.h" -ActionBlocksToggleView::ActionBlocksToggleView(RS_EntityContainer & container, +ActionBlocksToggleView::ActionBlocksToggleView(EntityContainer & container, GraphicView & graphicView): ActionInterface("Toggle Block Visibility", container, graphicView) { @@ -31,11 +31,11 @@ ActionBlocksToggleView::~ActionBlocksToggleView() void ActionBlocksToggleView::trigger() { - RS_DEBUG->print("toggle block"); + DEBUG->print("toggle block"); if (graphic) { - RS_Block * block = graphic->getActiveBlock(); + Block * block = graphic->getActiveBlock(); graphic->toggleBlock(block); }