diff options
-rw-r--r-- | include/X11/Xaw3d/Text.h | 4 | ||||
-rw-r--r-- | src/Command.c | 2 | ||||
-rw-r--r-- | src/Label.c | 2 | ||||
-rw-r--r-- | src/Text.c | 6 |
4 files changed, 14 insertions, 0 deletions
diff --git a/include/X11/Xaw3d/Text.h b/include/X11/Xaw3d/Text.h index 42699a7..beef8ab 100644 --- a/include/X11/Xaw3d/Text.h +++ b/include/X11/Xaw3d/Text.h @@ -242,6 +242,10 @@ extern Widget XawTextGetSource( Widget /* w */ ); +extern Widget XawTextGetSink( + Widget /* w */ +); + extern XawTextPosition XawTextSearch( Widget /* w */, #if NeedWidePrototypes diff --git a/src/Command.c b/src/Command.c index 26a40fa..18efb9a 100644 --- a/src/Command.c +++ b/src/Command.c @@ -92,6 +92,8 @@ static XtResource resources[] = { {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, sizeof(Dimension), offset(command.corner_round), XtRImmediate, (XtPointer) 25}, + {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), + offset(threeD.shadow_width), XtRImmediate, (XtPointer) 2}, {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), XtOffsetOf(RectObjRec,rectangle.border_width), XtRImmediate, (XtPointer) 0} diff --git a/src/Label.c b/src/Label.c index 46b0465..e8743c5 100644 --- a/src/Label.c +++ b/src/Label.c @@ -115,6 +115,8 @@ static XtResource resources[] = { offset(label.pixmap), XtRImmediate, (XtPointer)None}, {XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), offset(label.resize), XtRImmediate, (XtPointer)True}, + {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), + offset(threeD.shadow_width), XtRImmediate, (XtPointer) 0}, {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), XtOffsetOf(RectObjRec,rectangle.border_width), XtRImmediate, (XtPointer)1} @@ -3312,6 +3312,12 @@ XawTextGetSource(Widget w) return ((TextWidget)w)->text.source; } +Widget +XawTextGetSink(Widget w) +{ + return (((TextWidget)w)->text.sink); +} + void XawTextDisplayCaret (Widget w, #if NeedWidePrototypes |