home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!decwrl!csus.edu!csusac!unify!openlook!openlook-request
- From: bryan@woody.s-strat.co.uk (Bryan Boreham)
- Newsgroups: comp.windows.open-look
- Subject: Re: OLIT v3 oddities.
- Message-ID: <j63ef38@openlook.Unify.Com>
- Date: 28 Aug 92 09:37:18 GMT
- Sender: news@Unify.Com
- Lines: 47
-
-
- scott@statsci.com (Scott Blachowicz) writes:
-
- > I'm using OLIT v3 as shipped with Sun's OpenWindows v3 software on a SPARC.
- >
- > I haven't been able to locate much documentation on OLIT v3. I just recompiled
- > and loaded a client program against OLIT v3. It had been using OLIT v2 in the
- > past. There are a couple of annoyances in running the new program.
- >
- > The resource 'inputFocusColor' default of 'red' is being used on objects like
- > OblongButton and ScrollingList types. Have the red highlight is rather
- > distracting and not particularly useful (it seems to me). How do I disable it?
- > Can I set some resource or callback on a widget to say that I don't want the
- > 'inputFocus'? Do I have to resort to inquiring the background color and
- > setting inputFocusColor to that?
-
- OLIT is too clever for that: it detects that the colors are the same, and
- uses reverse-field instead. You could use two colors that are slightly
- different, eg gray90 and gray91.
-
- However, what you should do is get the latest "Jumbo patch" for OLIT
- which adds a resource "XtNmouseless" to let you turn the whole business
- off. We have patchlevel 27 (this may not be generally available), which
- even fixes the annoying way that focus leaps into menu buttons.
-
- > I get warnings when I run the program without an OPENWINHOME set that points
- > to an OpenWindows v3 directory. It complains about not being able to find the
- > lib/Xol/scale.map file. I need to be able to run this program on X11R4, X11R5
- > and OpenWindows v2 servers. Can I disable that? What effect would it have on
- > the program? I've noticed a 'scaleMap' resource...can I set that to /dev/null?
- > Would it be legal to package the scaleMap file along with whatever other files
- > it needs into a program to send to others?
-
- I would regard scale.map as a necessary part of libXol; it must be accessible
- to the client. The server has no bearing on this.
-
- > I've noticed the difference in the WinAttr structure. That problem has a
- > backwards-compatibility hack to allow it to run on both OW2 and OW3 (i.e.
- > setting the resource '*UseShortOLWinAttr: true'). Will setting that resource
- > have any ill effects when being run against an OW2 version of olwm?
-
- Where exactly did you "notice" this? It isn't in the manual, but then
- you don't have one. I can see it in the source, now I know it's there,
- but I don't know what it is supposed to achieve.
-
- Bryan Boreham
- ALEX Technologies Ltd
-