// SquidDynamicPane.h: interface for the SquidDynamicPane class. // ////////////////////////////////////////////////////////////////////// class SquidPortrait; #include <qframe.h> #include <qimage.h> #include <qslider.h> #include <qscrollview.h> class SquidDynamicPane : public QFrame { Q_OBJECT public: SquidDynamicPane( QWidget* parent, QImage *f1, QImage *f2 ); virtual ~SquidDynamicPane(); void resizeEvent( QResizeEvent* e ); void HScroll( int pct ); void VScroll( int pct ); void Redraw(); void GenDiffMask( int tol ); void SetBlendSize( int size ); bool maskdiffs; bool** diffmask; SquidPortrait* pic; QScrollView* scroll; int blendsize; public slots: void StippleStep( int s, bool f2w ); void Blend( int b ); void Stipple( int s ); private: QImage *f1, *f2, *img; QSlider* slider; int oldslid; };
# | 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/SidDynamicPane.h | |||||
#6 | 2050 | Sam Stafford | Settings. | ||
#5 | 2036 | Sam Stafford |
Uber-L33T "highlight" feature. Has to be seen to be believed. |
||
#4 | 2034 | Sam Stafford |
Working "subtraction" diff and zooming. Definitely need to make some decent toolbutton icons. |
||
#3 | 2030 | Sam Stafford |
Scrolling. It's not perfect, but I'm happy enough with it to move on with my life. |
||
#2 | 2023 | Sam Stafford |
Improvements to the middle pane slider - if the image is over a certain size, use a more efficient (but less cool-looking) algorithm to blend between the two images. |
||
#1 | 2016 | Sam Stafford |
Barely-functional Sid (about three hours worth of code). "Sid" = "Sam's Image Differ", for those who were curious. |