buixuanan / fritzing

Automatically exported from code.google.com/p/fritzing
0 stars 0 forks source link

need a scalpel cursor, and optionally an "un-scalpel" cursor for the stripboard #1528

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When the mouse is over the cuttable part of the stripboard, it should change to 
a cursor representing a cutting action.  If that section has already been cut, 
it would be a nice bonus if the cursor had a second "restore cut" image.

A cursor is a 32x32 b&w bitmap, with a second 32x32 mask.  One point (x-y 
coordinate) in the bitmap is designated as the cursor hotspot.  Here's some 
further explanation from the Qt API for QCursor:

The cursor bitmap (B) and mask (M) bits are combined like this:

B=1 and M=1 gives black.
B=0 and M=1 gives white.
B=0 and M=0 gives transparent.
B=1 and M=0 gives an XOR'd result.

Original issue reported on code.google.com by irasc...@gmail.com on 25 Jun 2011 at 9:17

GoogleCodeExporter commented 9 years ago
r5400

Original comment by irasc...@gmail.com on 16 Aug 2011 at 8:10