[comp.windows.x] Xt and reverseVideo

marbru@attc.UUCP (Martin Brunecky) (03/28/91)

Xt has a concept of "reverseVideo" operation. Under reverseVideo,
the default StringToPixel resource converter swaps pixels
returned for background and foreground.

Now, I need to overload the default resource converter with on
of my own, doing slightly more.
Unfortunatelly, the app-rv value is stored in the application
context, an opaque structure to me. (it is defined in InitialI.h,
but such a header file is not available, for example, on VMS).

Is there any reasonable way to find out what the value of app-rv
(or for that matter, some other fields in app context, such
 as the list of attached display etc.) ?

The only "other" way to find the app-rv value is to inquire the
resource database; however, in my converter I do not have the
information necessary to do it....


-- 
=*= Opinions presented here are solely of my own and not those of Auto-trol =*=
Martin Brunecky                           {...}sunpeaks!auto-trol!marbru
(303) 252-2499                        (sometimes also:  marbru@auto-trol.COM )
Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404