]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_staticgraphicview.cpp
Partially fixed thumbnail rendering on Library Browser.
[architektonas] / src / base / rs_staticgraphicview.cpp
index 59b8b4c9d74f09a7ebe47534d96710bc16bfb941..4064573066e17b64f2df09628055c2662163a582 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
 // JLH  06/15/2010  Moved implementation (however trivial) from header to here.
 //
 
+/*
+To me, this is yet another useless class. It seems to me that this could be
+easily replaced by putting a bitmap creation method in GraphicView. But that's
+just me. >:-)
+*/
+
 #include "rs_staticgraphicview.h"
 
+#include "rs_debug.h"
+
 /**
  * Constructor.
  *
@@ -23,6 +33,8 @@
  */
 RS_StaticGraphicView::RS_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));
        painter = p;
        setBorders(5, 5, 5, 5);