Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!thyme!kaleb From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley) Newsgroups: comp.windows.x Subject: Athena Widget (conceptual) questions Message-ID: <1991May6.222714.15065@thyme.jpl.nasa.gov> Date: 6 May 91 22:27:14 GMT Organization: Jet Propulsion Lab, Pasadena, CA Lines: 48 I'm playing with adding 3-D shadows to the Athena Widgets. Initially I sub-classed my 3-D part off of Core, so that I could put shadows on things like Logo, Mailbox, and Clock, and then I subclassed Simple off of my 3-D part. This works great except for Text, and its two children TextSrc and TextSink, because the text at the top, bottom, and margins wipes out the shadows. In order to eliminate that, I tried sub-classing the 3-D part off of Simple, and left Text sub-classed by itself off of simple, but that eliminates the Logo, Mailbox, and Clock, because they're sub-classed directly off of Core with no Simple part. The following questions come to mind: Would it be okay to add the 3-D to Logo, Mailbox, and Clock, (i.e. Core/3-D/Logo, as compared to Core/Simple/3-D/Label) and break the sub-classing in these cases? Should I add Simple to those three? Or are there some tricks to aid in this kind of mixed sub-classing? Maybe I should I stick to Core/3-D/Simple/... and attempt to fix the Text problems? If the latter is the right way to go, and given the size and complexity Text/TextSrc/TextSink (and/or AsciiText/AsciiSrc/AsciiSink), and given that this is a spare-time endeavor (spare time? What spare time?), what's the right way to fix the Text? Set x/y/width/height resources on the Src/Sink children? Widen the margins? Something I haven't seen or thought of yet? Any and all thoughts appreciated. BTW, don't ask me for my source. If and when I finish, I'll put them in contrib on export and hope that R5 doesn't break them too much. BTW2, without committing to anything, will R5 Athena be, pick one: - exactly the same as R4. - slightly different than R4. - substantially different than R4. - completely different than R4. -- Kaleb Keithley kaleb@thyme.jpl.nasa.gov Meep Meep Roadrunner Veep veep Quayle