]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_staticgraphicview.cpp
Partially fixed thumbnail rendering on Library Browser.
[architektonas] / src / base / rs_staticgraphicview.cpp
index 83d9deb145e588e7d967e232d8bdf2000a97f969..4064573066e17b64f2df09628055c2662163a582 100644 (file)
@@ -23,6 +23,8 @@ just me. >:-)
 
 #include "rs_staticgraphicview.h"
 
+#include "rs_debug.h"
+
 /**
  * Constructor.
  *
@@ -31,6 +33,8 @@ just me. >:-)
  */
 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);