Newsgroups: comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!m.cs.uiuc.edu!flute.cs.uiuc.edu!totty From: totty@flute.cs.uiuc.edu (Brian Totty) Subject: Free Widgets Pixel Editor (was: Re: A decent bitmap editor for X ??) Message-ID: <1991Jun8.171036.28774@m.cs.uiuc.edu> Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager)) Nntp-Posting-Host: flute.cs.uiuc.edu Reply-To: totty@flute.cs.uiuc.edu (Brian Totty) Organization: Picasso Group, DCS, University of Illinois, Urbana-Champaign References: <242@qt.cs.utexas.edu> <25308@well.sf.ca.us> Date: Sat, 8 Jun 1991 17:10:36 GMT Another advantage to using the Free Widgets pixel editor program is that the program is built around a pixel editing widget. This makes the program very modular. The goal was to isolate a "common denominator" of functionality used in most image editing applications (bitmap editors, paint programs, font editors, etc.) and encapsulate this in one reusable module. More complex image editing functionality above and beyond that provided by the widget can be done by the application program. Extra functionality can be added pretty easily. You can use the PixelEditor widget in your own image editing applications. All the brush shapes/tools/button click handling/zoom/grid selection/draw color/etc. are built into the PixelEditor widget. Hooks are provided via callbacks & function interfaces to allow expandability. In fact, the PixEditT C program to implement the editor is only 894 lines long! All the rest of the code is in the PixelEditor widget itself. Give it a try, and send suggestions if you like. If you are interested in the Free Widgets effort to collect a set of useful free widgets, send mail to free-widgets-request@kazoo.cs.uiuc.edu. --- Bri / Brian Totty o o /__ __ o 1304 W. Springfield Avenue o / / / / Urbana, IL 61801 \_/ "We have corn in /__/ / / totty@cs.uiuc.edu Massachusetts too!"