[comp.windows.x.motif] bitmap editor

spot@TR4.GP.CS.CMU.EDU (Scott Draves) (09/18/90)

I need a motif widget similar to the bitmap program
that comes with X.  Before I go off and write it,
is there anybody who has something similar and is
willing to share code?

Assuming I have to work from scratch, is be better
to be a sub-class of the BulletinBoard or Manager
classes?  Let me briefly describe what I am planning:

             BitmapEditor
            /          \
       Pallette      ScrolledWindow
          |              |
          |\           DrawingArea
          |\ Button
           \ Button
             Button

Where Palette is probably really a RowColumn, and the buttons in
it are the usual sort of Mac-painting tools, and color choice.
The bitmap would be displayed in the DrawingArea.  Does any of
make sense?

Also, for the buttons in that pallette, what's the best way to
indicate which of them is "active?"  The mac draws that tool
in inverse.  I can't find any advice in the Style Guide.

			Consume
Scott Draves		Be Silent
spot@cs.cmu.edu		Die