X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Fstaticgraphicview.cpp;fp=src%2Fbase%2Fstaticgraphicview.cpp;h=e27ec5470171e2861be0fccb4668bbcdbaf6ee55;hb=16354e0421b316a62c6b9f7b0b4f3b8cf6f06284;hp=76896efcbc8f1a857ac5245bca5c50905b83f143;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/base/staticgraphicview.cpp b/src/base/staticgraphicview.cpp index 76896ef..e27ec54 100644 --- a/src/base/staticgraphicview.cpp +++ b/src/base/staticgraphicview.cpp @@ -31,11 +31,11 @@ just me. >:-) * @param w Width * @param h Height */ -RS_StaticGraphicView::RS_StaticGraphicView(int w, int h, PaintInterface * p): /*painter(p),*/ width(w), height(h) +StaticGraphicView::StaticGraphicView(int w, int h, PaintInterface * p): /*painter(p),*/ width(w), height(h) { //#warning "!!! PaintInterface * p passed in constructor is IGNORED !!!" //Not strictly true: it sets painter down below there... - setBackground(RS_Color(255, 255, 255)); + setBackground(Color(255, 255, 255)); painter = p; setBorders(5, 5, 5, 5); } @@ -43,14 +43,14 @@ RS_StaticGraphicView::RS_StaticGraphicView(int w, int h, PaintInterface * p): /* /** * Destructor */ -RS_StaticGraphicView::~RS_StaticGraphicView() +StaticGraphicView::~StaticGraphicView() { } /** * @return width of widget. */ -int RS_StaticGraphicView::getWidth() +int StaticGraphicView::getWidth() { return width; } @@ -58,7 +58,7 @@ int RS_StaticGraphicView::getWidth() /** * @return height of widget. */ -int RS_StaticGraphicView::getHeight() +int StaticGraphicView::getHeight() { return height; } @@ -66,33 +66,33 @@ int RS_StaticGraphicView::getHeight() /** * Handles paint events by redrawing the graphic in this view. */ -void RS_StaticGraphicView::paint() +void StaticGraphicView::paint() { - RS_DEBUG->print("RS_StaticGraphicView::paint begin"); + DEBUG->print("StaticGraphicView::paint begin"); drawIt(); - RS_DEBUG->print("RS_StaticGraphicView::paint end"); + DEBUG->print("StaticGraphicView::paint end"); } -/*virtual*/ void RS_StaticGraphicView::redraw() +/*virtual*/ void StaticGraphicView::redraw() { } -/*virtual*/ void RS_StaticGraphicView::adjustOffsetControls() +/*virtual*/ void StaticGraphicView::adjustOffsetControls() { } -/*virtual*/ void RS_StaticGraphicView::adjustZoomControls() +/*virtual*/ void StaticGraphicView::adjustZoomControls() { } -/*virtual*/ void RS_StaticGraphicView::setMouseCursor(RS2::CursorType) +/*virtual*/ void StaticGraphicView::setMouseCursor(RS2::CursorType) { } -/*virtual*/ void RS_StaticGraphicView::emulateMouseMoveEvent() +/*virtual*/ void StaticGraphicView::emulateMouseMoveEvent() { } -/*virtual*/ void RS_StaticGraphicView::updateGridStatusWidget(const QString &) +/*virtual*/ void StaticGraphicView::updateGridStatusWidget(const QString &) { }