summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Command.c2
-rw-r--r--src/Label.c2
-rw-r--r--src/Text.c6
3 files changed, 10 insertions, 0 deletions
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}
diff --git a/src/Text.c b/src/Text.c
index be4d592..b0e7a2c 100644
--- a/src/Text.c
+++ b/src/Text.c
@@ -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