home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!att-out!cbfsb!cbnewsf.cb.att.com!dac
- From: dac@cbnewsf.cb.att.com (david.a.copperman)
- Subject: reverse video weirdness in OL 3.0
- Message-ID: <1993Jan7.162437.20313@cbfsb.cb.att.com>
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- Date: Thu, 7 Jan 1993 16:24:37 GMT
- Lines: 40
-
- Last year I developed a prototype application using, I have thought,
- OLIT 2.0. Yesterday, I recompiled and ran it under what is supposed to
- be OLIT 3.0. Using this latter stuff, reverse video (i.e., swapping the
- values for XtNforeground and XtNbackground in a button or a text field)
- simply causes the indicated widget to become completely black. Anyone
- ever experience this and know why?
-
- The reason I said that I appeared to be using 2.0 or 3.0 is from the
- libraries. Our 2.0 lib directory has these libraries for X, Xt, and OL,
- respectively:
- libX11.sa.4.3
- libXt.sa.4.0
- libXol.so.3.0
- The 3.0 libraries are:
- libX11.sa.4.3
- libXt.sa.4.1
- libXol.so.3.1
-
- These are the SUN -distributed archives, but somehow those version numbers
- don't seem very different from OL 2 to 3. Do we have the right stuff?
-
- A last question, if you have the patience. Using either OL version, I
- have always had strange behavior with popups. I don't use the OL popup
- widgets, but rather created my own structures using transientShellWidgets
- for all popups. In my 2.0 application, most of the popups, when they
- come up a second time, can take 5 to 10 seconds to appear. Honest! They
- don't do it the first time, and generally don't after the second. Also,
- my basic mode is to have buttons which cause popups to appear when the
- buttons are clicked on; while the popup is visible , its button is made
- reverse video, and is toggled back when the popup disappears. Frequently,
- over the course of random popups appearance and disappearance, buttons
- will appear in reverse and straight video incorrectly - reversed when
- the popup is down, straight when it is up. My code only wants reverse
- video when the popup is visible, and I'm confident after countless hours
- of scanning it that it's written correctly. Again, any thoughts?
-
- Much thanks.
-
- Dave Copperman
- dac@hoqaa.att.com
-