kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (05/27/89)
There has been a fair amount of concern lately about the location of the Athena
widget set in the X distribution as distributed by the MIT X Consortium. To
make the distinction between the standardized Xt Instrinsics and the
non-standard Athena widgets (Xaw) and Miscellaneous Utilities (Xmu), we have
restructured our sources as follows:
o Header (include) files have been moved.
- all Xaw header files have been moved to X11/Xaw/
- all Xmu header files have been moved to X11/Xmu/
- X11/XawMisc.h has been moved to X11/Xmu/Misc.h
o Convience function names in Xaw have been renamed from Xt* to Xaw*
(e.g. XtTextReplace is replaced by XawTextReplace).
o All other references to Xt in the Athena Widget set have been changed
to Xaw. (e.g XtListReturnStruct is replaced by XawListReturnStruct).
o All Core clients have been updated to use the new syntax.
Class names for Athena widgets have not been changed (there are some advantages
to being first :-). To simplify conversion, R4 will include configuration
parameters to support the following:
o The imake rules will allow links to be created from X11 to
X11/Xaw/ and X11/Xmu/ for all the header files that have been moved.
o The cpp symbol -DXAW_BC will enable macros for all of the old Xt*
function and variable names, so that existing applications can
be recompiled.
Here is a detailed list of compatability macros that will be defined
when -DXAW_BC is used.
Dialog.h
#define XtDialogGetValueString XawDialogGetValueString
#define XtDialogAddButton XawDialogAddButton
------------------------------------------------------------
Form.h
#define XtFormDoLayout XawFormDoLayout
------------------------------------------------------------
List.h
#define XtListReturnStruct XawListReturnStruct
#define XT_LIST_NONE XAW_LIST_NONE
#define XtListChange XawListChange
#define XtListUnhighlight XawListUnhighlight
#define XtListHighlight XawListHighlight
#define XtListShowCurrent XawListShowCurrent
------------------------------------------------------------
Paned.h (VPaned.h)
#define XtPanedSetMinMax XawPanedSetMinMax
#define XtPanedGetMinMax XawPanedGetMinMax
#define XtPanedGetNumSub XawPanedGetNumSub
#define XtPanedAllowResize XawPanedAllowResize
#define XtPanedSetRefigureMode XawPanedSetRefigureMode
------------------------------------------------------------
Scroll.h
#define XtScrollBarSetThumb XawScrollBarSetThumb
------------------------------------------------------------
Text.h
typedef long XtTextPosition;
typedef struct _XawTextSource XtTextSourceRec, *XtTextSource;
typedef struct _XawTextSink XtTextSinkRec, *XtTextSink;
#define XtTextBlock XawTextBlock
#define XtTextBlockPtr XawTextBlockPtr
#define EditDone XawEditDone
#define EditError XawEditError
#define PositionError XawPositionError
#define XtEditDone XawEditDone
#define XtEditError XawEditError
#define XtPositionError XawPositionError
#define XttextRead XawtextRead
#define XttextAppend XawtextAppend
#define XttextEdit XawtextEdit
#define XtTextEditType XawTextEditType
#define XtselectNull XawselectNull
#define XtselectPosition XawselectPosition
#define XtselectChar XawselectChar
#define XtselectWord XawselectWord
#define XtselectLine XawselectLine
#define XtselectParagraph XawselectParagraph
#define XtselectAll XawselectAll
#define XtTextSelectType XawTextSelectType
#define XtTextDisableRedisplay XawTextDisableRedisplay
#define XtTextEnableRedisplay XawTextEnableRedisplay
#define XtTextGetSource XawTextGetSource
#define XtTextDisplay XawTextDisplay
#define XtTextSetSelectionArray XawTextSetSelectionArray
#define XtTextSetLastPos XawTextSetLastPos
#define XtTextGetSelectionPos XawTextGetSelectionPos
#define XtTextSetSource XawTextSetSource
#define XtTextReplace XawTextReplace
#define XtTextTopPosition XawTextTopPosition
#define XtTextSetInsertionPoint XawTextSetInsertionPoint
#define XtTextGetInsertionPoint XawTextGetInsertionPoint
#define XtTextUnsetSelection XawTextUnsetSelection
#define XtTextChangeOptions XawTextChangeOptions
#define XtTextGetOptions XawTextGetOptions
#define XtTextSetSelection XawTextSetSelection
#define XtTextInvalidate XawTextInvalidate
#define XtAsciiSinkCreate XawAsciiSinkCreate
#define XtAsciiSinkDestroy XawAsciiSinkDestroy
#define XtDiskSourceCreate XawDiskSourceCreate
#define XtDiskSourceDestroy XawDiskSourceDestroy
#define XtStringSourceCreate XawStringSourceCreate
#define XtStringSourceDestroy XawStringSourceDestroy
------------------------------------------------------------
TextSrcP.h
#define _XtTextSink _XawTextSink
#define _XtTextSource _XawTextSource
#define XtisOn XawisOn
#define XtisOff XawisOff
#define XtsmTextSelect XawsmTextSelect
#define XtsmTextExtend XawsmTextExtend
#define XtactionStart XawactionStart
#define XtactionAdjust XawactionAdjust
#define XtactionEnd XawactionEnd
#define XtsdLeft XawsdLeft
#define XtsdRight XawsdRight
#define XtstPositions XawstPositions
#define XtstWhiteSpace XawstWhiteSpace
#define XtstEOL XawstEOL
#define XtstParagraph XawstParagraph
#define XtstAll XawstAll
#define XtTextSelectionAction XawTextSelectionAction
#define XtTextSelection XawTextSelection
#define XtTextScanDirection XawTextScanDirection
#define XtTextScanType XawTextScanType
------------------------------------------------------------
Chris D. Peterson
MIT X Consortium
Net: kit@expo.lcs.mit.edu
Phone: (617) 253 - 9608
Address: MIT - Room NE43-213battle@alphard.cs.utk.edu (David Battle) (05/28/89)
In article <8905261745.AA20078@expo.lcs.mit.edu> kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) writes: > [A description of toolkit related things which will change in R4.] When is R4 scheduled to be released? -David