[PATCH] Add ability to acquire pick colors as mouse is dragged.

Vic Fryzel vic at shellsage.com
Sat Dec 30 20:57:25 GMT 2006


I realized after the fact that I could fix a few obvious bugs in the patch, 
like implementing the correct event method and respawning the correct method.  
A fixed patch is attached.

Thanks,
Vic

On Friday 29 December 2006 8:46 am, Vic Fryzel wrote:
> The attached patch applies to the file:
> trunk/KDE/kdelibs/kdeui/dialogs/kcolordialog.cpp
>
> This patch makes kcolordialog grab & update the currently selected color
> as the mouse is dragged.  The final color is still set upon mouse release
> (the normal functionality).  I think this is useful so that users can get
> a "preview" of the color they're hovering over before they release.
>
> I was unable to test the patch as I'm unable to get trunk to compile at
> the moment.  It seems pretty straight forward, but if someone could apply
> it and test it for me I'd be most obliged.
>
> Thanks,
> Vic
>
> --
> Vic Fryzel (vic at shellsage dot com)
> http://shellsage.com/
> Key id C7B780CA = 3235 2261 807B 451C DA4D  DFBA CAA7 80CF C7B7 80CA

-- 
Vic Fryzel (vic at shellsage dot com)
http://shellsage.com/
Key id C7B780CA = 3235 2261 807B 451C DA4D  DFBA CAA7 80CF C7B7 80CA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kcolordialog.cpp.draggrabcolor.correctevents.patch
Type: text/x-diff
Size: 600 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061230/a2d6d86e/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061230/a2d6d86e/attachment.sig>


More information about the kde-core-devel mailing list