// SquidPortrait.h: interface for the SquidPortrait class. // ////////////////////////////////////////////////////////////////////// class SquidPortrait : public QFrame { public: SquidPortrait( QWidget* parent, QImage* i ); virtual ~SquidPortrait(); void drawContents( QPainter* p ); void Zoom( float factor ); void ShowDiff( QRect r, QPoint pos ); void mousePressEvent( QMouseEvent* e ); QImage* image; QValueList<QRect> *diffs; private: QWMatrix zoom; QPixmap* buf; };
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 2401 | Sam Stafford |
Rename SID to SQUID - avoids conflicts with another program. Also lets me use cool squid icon. |
||
//guest/sam_stafford/sid/src/SidPortrait.h | |||||
#4 | 2048 | Sam Stafford |
You can now click on highlighted diffs to get 2x zoomed versions of them ("detail views" or something) in floating windows. |
||
#3 | 2036 | Sam Stafford |
Uber-L33T "highlight" feature. Has to be seen to be believed. |
||
#2 | 2034 | Sam Stafford |
Working "subtraction" diff and zooming. Definitely need to make some decent toolbutton icons. |
||
#1 | 2016 | Sam Stafford |
Barely-functional Sid (about three hours worth of code). "Sid" = "Sam's Image Differ", for those who were curious. |