Improved detection of hover

- account for presence of fill or outline colors
- allow for a couple of pixels of slop
This commit is contained in:
Jim Evins
2015-09-08 17:53:37 -04:00
parent 81923681b3
commit b12f4a2478
7 changed files with 43 additions and 16 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ namespace glabels
// Drawing Methods
////////////////////////////
public:
void draw( QPainter* painter ) const;
QPainterPath path( double scale ) const;
void draw( QPainter* painter ) const;
QPainterPath hoverPath( double scale ) const;
////////////////////////////