[comp.windows.x] Defining Dwt

baxter@xmws.uucp (03/07/91)

Has anyone already typed a set of #defines for mapping Dwt* (names)
to Xm* (names)  (DECWindows name -> motif names)???

This would be the the form:

#define DwtNsensitive XmNsensitive

and

#define DwtToggleButtonCreate XmCreateToggleButton

I'd like to save all the ^&(*$^* typing if someone else has already done 
it... (and they surely have...)

Anyone?

Lincoln Baxter
baxter@xmws.uucp          OR          ...uunet!cbmvax!xmws!baxter

heiney@wsl.dec.com (Bob Heiney) (03/08/91)

> Has anyone already typed a set of #defines for mapping Dwt* (names)
> to Xm* (names)  (DECWindows name -> motif names)???

Try loading the DECwindows OSF/Motif Porting Tools subset (DXMPORT110) from
your Motif distribution tape.  Then you can

	cd /usr/lib/DXM/tools/filter
	DXm_port your_motif_source_directory

DXm_port will remap names like you want, and will also deal with the other
differences between XUI and OSF/Motif.  Areas requiring programmer intervention
are flagged.

/Bob
heiney@pa.dec.com