Re: get mouse feedback within plug-in?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 11 April 2008, Torsten Neuer wrote:
> Hi,
>
> > The current application needs interactive user-input with the
> > mouse. So far I have not found out how gimp could inform a plug-in
> > about mouse-movements (like the current cursor position) in a
> > drawable. Is a plug-in generally suitable for the task or how could I
> > implement such a tool? (I read the little tutorial on
> > developer.gimp.org. More how-tos would be welcome as well.)
>
> From what you write and what it looks like on your project page, you should
> probably write a tool instead of a plugin (you may find fitting examples
> under gimp-2.4.5/app/tools).  Also, you could then use any brush available
> to the Gimp.
>
>
>   Torsten

Just have a look at the current foreground selection tool (since GIMP 2.4), 
probably you can use much of its design or at least user interface.  Also 
make sure that you don't accidentally use the same algorithm ;-)  Since the 
usage seems to be similar, maybe this could even be made an alternative 
choosable algorithm there?

Daniel

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux