On Wednesday 27 January 2010 12:31:27 you wrote: > Hi! > > I would like to add to your very good Geeqie the ability to select a > region of the image and copy it to the clipboard. > > Could you give me some pointers in order to speed up my getting around > the source code for this particular task? > > If I do manage, would you be interested in adding the feature to the > main release of the program? > > Best regards > > M.
Hi Massimo, Most of this functionality should be implemented in the pixbuf_renderer. This structure has the pointer to the image data and also the info about the geometry (zoom, viewport). The code for drawing the selection should go there too, maybe reuse the overlay code (we have a similar feature requests for displaying an image region and darkening the borders, please check the feature tracker first). The controls should go to layout_image.c and layout_util.c, but there could be a problem with conflicts with current functionality - all mouse buttons already have assigned functions and I don't want to change it randomly before we have a complete proposal. Feel free to ask if you have further questions. Vladimir ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel