Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!uunet!mmlai!burzio From: burzio@mmlai.UUCP (Tony Burzio) Newsgroups: comp.windows.x.motif Subject: bitmaps Keywords: too hard, wishes... Message-ID: <16@gauss.mmlai.UUCP> Date: 17 Aug 90 11:32:11 GMT Organization: Martin Marietta Labs, Baltimore Lines: 28 Here's a wish for bitmaps in Motif. Right now, creating a bitmap for a widget (or anything else) requires quite a bit of work with Xt to match the depth with the display and all that other stuff. This could (or should) be moved into the Motif functionality to make life easier. I envision (although probably hallucinate :-) a structure like: struct XmGenericBitmap { XmGenericBitmapDepth depth; XmGenericBitmapWidth width; XmGenericBitmapHeight height; XmGenericBitmapFormat format; XmGenericBitmapBits *data; } The depth should be anywhere from 1 to 24 (yes, 24). Formats could be anything, like UTAH_RLE, GIF, RAW, SUNRASTER, etc. Perhaps this could be a function that returns an acceptable X bitmap, although the widgets should accept this raw form of input. I'm tired of things like x11fish only working on an 8 bit display :-) ********************************************************************* Tony Burzio * What? When? You're kidding, right?! Martin Marietta Labs * mmlab!burzio@uunet.uu.net * *********************************************************************