]> Shamusworld >> Repos - architektonas/blobdiff - src/base/staticgraphicview.cpp
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / base / staticgraphicview.cpp
index 76896efcbc8f1a857ac5245bca5c50905b83f143..e27ec5470171e2861be0fccb4668bbcdbaf6ee55 100644 (file)
@@ -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 &)
 {
 }