Back to index

plt-scheme  4.2.1
Functions | Variables
xwScrollbar.c File Reference
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <xwArrow.h>
#include <xwSlider2.h>
#include <stdio.h>
#include <./xwScrollbarP.h>

Go to the source code of this file.

Functions

static void Scroll ()
static void _resolve_inheritance ()
static void initialize ()
static void resize ()
static void insert_child ()
static Boolean set_values ()
static void scroll_response ()
static void up ()
static void down ()
static void thumbscroll ()
static void copy_background ()
static void up (Widget arrow, XtPointer client_data, XtPointer call_data)
static void down (Widget arrow, XtPointer client_data, XtPointer call_data)
static void thumbscroll (Widget w, XtPointer client_data, XtPointer call_data)
static void copy_background (Widget self, int offset, XrmValue *value)
static void Scroll (Widget self, XEvent *event, String *params, Cardinal *num_params)
static void _resolve_inheritance (WidgetClass class)
static void initialize (Widget request, Widget self, ArgList args, Cardinal *num_args)
static void resize (Widget self)
static void insert_child (Widget child)
static Boolean set_values (Widget old, Widget request, Widget self, ArgList args, Cardinal *num_args)
static void scroll_response (Widget wdg, XtPointer client_data, XtPointer call_data)
void XfwfSetScrollbar (Widget self, double pos, double size)
void XfwfGetScrollbar (Widget self, double *hpos, double *vpos)

Variables

static XtActionsRec actionsList []
static XtResource resources []
XfwfScrollbarClassRec xfwfScrollbarClassRec
WidgetClass xfwfScrollbarWidgetClass = (WidgetClass) &xfwfScrollbarClassRec

Function Documentation

static void _resolve_inheritance ( ) [static]
static void _resolve_inheritance ( WidgetClass  class) [static]

Definition at line 286 of file xwScrollbar.c.

{
  XfwfScrollbarWidgetClass c = (XfwfScrollbarWidgetClass) class;
  XfwfScrollbarWidgetClass super;
  static CompositeClassExtensionRec extension_rec = {
    NULL, NULLQUARK, XtCompositeExtensionVersion,
    sizeof(CompositeClassExtensionRec), True};
  CompositeClassExtensionRec *ext;
  ext = (XtPointer)XtMalloc(sizeof(*ext));
  *ext = extension_rec;
  ext->next_extension = c->composite_class.extension;
  c->composite_class.extension = ext;
  if (class == xfwfScrollbarWidgetClass) return;
  super = (XfwfScrollbarWidgetClass)class->core_class.superclass;
  if (c->xfwfScrollbar_class.scroll_response == XtInherit_scroll_response)
    c->xfwfScrollbar_class.scroll_response = super->xfwfScrollbar_class.scroll_response;
}

Here is the call graph for this function:

static void copy_background ( ) [static]
static void copy_background ( Widget  self,
int  offset,
XrmValue *  value 
) [static]

Definition at line 133 of file xwScrollbar.c.

{
    value->addr = (XtPointer) &((XfwfScrollbarWidget)self)->core.background_pixel;
}
static void down ( ) [static]

Here is the caller graph for this function:

static void down ( Widget  arrow,
XtPointer  client_data,
XtPointer  call_data 
) [static]

Definition at line 95 of file xwScrollbar.c.

{
    Widget self = (Widget) client_data;
    XfwfScrollInfo info;

    XfwfGetThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, &info);
    if (((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical) {
       info.reason = XfwfSDown;
       info.flags = XFWF_VPOS;
       info.vpos = min(1.0, info.vpos + ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
    } else {
       info.reason = XfwfSRight;
       info.flags = XFWF_HPOS;
       info.hpos = min(1.0, info.hpos + ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
    }
    XtCallCallbackList(self, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollCallback, &info);
}

Here is the call graph for this function:

static void initialize ( ) [static]
static void initialize ( Widget  request,
Widget  self,
ArgList  args,
Cardinal *  num_args 
) [static]

Definition at line 308 of file xwScrollbar.c.

{
    Position x, y, xa2, xslider, ya2, yslider;
    int w, h, wa, ha, wslider, hslider;
    Pixel bg, thumb_bg;

    ((XfwfScrollbarWidget)self)->xfwfScrollbar.initializing = True;
    ((XfwfScrollbarWidgetClass)self->core.widget_class)->xfwfCommon_class.compute_inside(self, &x, &y, &w, &h);
    w = max(1, w);
    h = max(1, h);
    if (((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical) {
       ha = wa = wslider = w;
       xa2 = xslider = x;
       hslider = ((int)h - 2*ha > 0) ? h - 2*ha : 10;
       yslider = y + ha;
       ya2 = yslider + hslider;
    } else {
       wa = ha = hslider = h;
       ya2 = yslider = y;
       wslider = ((int)w - 2*wa > 0) ? w - 2*wa : 10;
       xslider = x + wa;
       xa2 = xslider + wslider;
    }
    XtVaGetValues(self, XtNbackground, &bg, NULL),
    ((XfwfScrollbarWidgetClass)self->core.widget_class)->xfwfCommon_class.set_color(self, bg, &thumb_bg);
    ((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow1 = XtVaCreateManagedWidget
       ("_arrow1", xfwfArrowWidgetClass, self,
        XtNx, x,
        XtNy, y,
        XtNwidth, max(1, wa),
        XtNheight, max(1, ha),
        XtNframeWidth, 0,
        XtNforeground, BlackPixelOfScreen(XtScreen(self)),
        XtNinitialDelay, ((XfwfScrollbarWidget)self)->xfwfScrollbar.initialDelay,
        XtNrepeatDelay, ((XfwfScrollbarWidget)self)->xfwfScrollbar.repeatDelay,
        XtNtraversalOn, False,
        XtNhighlightThickness, 0,
        XtNdirection, ((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical?XfwfTop:XfwfLeft,
        XtNouterOffset, 0,
        XtNbackground, bg,
        XtNarrowShadow, 2,
         XtNhighlightColor, ((XfwfScrollbarWidget)self)->xfwfCommon.highlightColor,
        NULL);
    XtAddCallback(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow1, XtNcallback, up, self);
    ((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow2 = XtVaCreateManagedWidget
       ("_arrow2", xfwfArrowWidgetClass, self,
        XtNx, xa2,
        XtNy, ya2,
        XtNwidth, max(1, wa),
        XtNheight, max(1, ha),
        XtNframeWidth, 0,
        XtNforeground, BlackPixelOfScreen(XtScreen(self)),
        XtNinitialDelay, ((XfwfScrollbarWidget)self)->xfwfScrollbar.initialDelay,
        XtNrepeatDelay, ((XfwfScrollbarWidget)self)->xfwfScrollbar.repeatDelay,
        XtNtraversalOn, False,
        XtNhighlightThickness, 0,
        XtNdirection, ((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical?XfwfBottom:XfwfRight,
        XtNouterOffset, 0,
        XtNbackground, bg,
        XtNarrowShadow, 2,
         XtNhighlightColor, ((XfwfScrollbarWidget)self)->xfwfCommon.highlightColor,
        NULL);
    XtAddCallback(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow2, XtNcallback, down, self);
    ((XfwfScrollbarWidget)self)->xfwfScrollbar.slider = XtVaCreateManagedWidget
       ("_slider", xfwfSlider2WidgetClass, self,
        XtNx, xslider,
        XtNy, yslider,
        XtNwidth, max(1, wslider),
        XtNheight, max(1, hslider),
        XtNthumbColor, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollbarForeground,
        XtNframeWidth, 0,
        XtNinitialDelay, ((XfwfScrollbarWidget)self)->xfwfScrollbar.initialDelay,
        XtNrepeatDelay, ((XfwfScrollbarWidget)self)->xfwfScrollbar.repeatDelay,
        XtNtraversalOn, False,
        XtNhighlightThickness, 0,
        XtNouterOffset, 0,
        XtNborderWidth, 0,
        XtNbackground, thumb_bg,
         XtNthumbFrameWidth, 1,
        NULL);
    XtAddCallback(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, XtNscrollCallback, thumbscroll, self);
    XtVaGetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, XtNscrollResponse, &((XfwfScrollbarWidget)self)->xfwfScrollbar.slider_scroll, NULL);
    ((XfwfScrollbarWidget)self)->xfwfScrollbar.initializing = False;
}

Here is the call graph for this function:

static void insert_child ( ) [static]
static void insert_child ( Widget  child) [static]

Definition at line 429 of file xwScrollbar.c.

{ Widget self = XtParent(child); {
    if (((XfwfScrollbarWidget)self)->xfwfScrollbar.initializing)
       xfwfBoardClassRec.composite_class.insert_child(child);
    else {
       char s[500];
       (void)sprintf(s, "Cannot add children to a scrollbar (\"%s\"->\"%s\")",
                    XtName(child), XtName(self));
       XtWarning(s);
    }
}
}

Here is the call graph for this function:

static void resize ( ) [static]
static void resize ( Widget  self) [static]

Definition at line 397 of file xwScrollbar.c.

{
    Position x, y, xa2, xslider, ya2, yslider;
    int w, h, wa, ha, wslider, hslider;

    ((XfwfScrollbarWidgetClass)self->core.widget_class)->xfwfCommon_class.compute_inside(self, &x, &y, &w, &h);
    w = max(1, w);
    h = max(1, h);
    if (((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical) {
       wa = wslider = w;
       xa2 = xslider = x;
       ha = wa;
       hslider = ((int)h - 2*ha > 0) ? h - 2*ha : 10;
       yslider = y + ha;
       ya2 = yslider + hslider;
    } else {
       ha = hslider = h;
       ya2 = yslider = y;
       wa = ha;
       wslider = ((int)w - 2*wa > 0) ? w - 2*wa : 10;
       xslider = x + wa;
       xa2 = xslider + wslider;
    }
    XtConfigureWidget(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow1, x, y, max(1, wa), max(1, ha), 0);
    XtConfigureWidget(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow2, xa2, ya2, max(1, wa), max(1, ha), 0);
    XtConfigureWidget(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, xslider, yslider, max(1, wslider), max(1, hslider), 0);
}
static void Scroll ( ) [static]
static void Scroll ( Widget  self,
XEvent*  event,
String*  params,
Cardinal*  num_params 
) [static]

Definition at line 225 of file xwScrollbar.c.

{
    XfwfScrollInfo info;

    XfwfGetThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, &info);
    info.reason = XfwfCvtStringToScrollReason(params[0]);
    switch (info.reason) {
    case XfwfSUp: 
       info.flags = XFWF_VPOS;
       info.vpos = max(0.0, info.vpos - ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
       break;
    case XfwfSDown:
       info.flags = XFWF_VPOS;
       info.vpos = min(1.0, info.vpos + ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
       break;
    case XfwfSLeft:
       info.flags = XFWF_HPOS;
       info.hpos = max(0.0, info.hpos - ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
       break;
    case XfwfSRight:
       info.flags = XFWF_HPOS;
       info.hpos = min(1.0, info.hpos + ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
       break;
    case XfwfSPageUp:
       info.flags = XFWF_VPOS;
       info.vpos = max(0.0, info.vpos - info.vsize);
       break;
    case XfwfSPageDown:
       info.flags = XFWF_VPOS;
       info.vpos = min(1.0, info.vpos + info.vsize);
       break;
    case XfwfSPageLeft:
       info.flags = XFWF_HPOS;
       info.hpos = max(0.0, info.hpos - info.hsize);
       break;
    case XfwfSPageRight:
       info.flags = XFWF_HPOS;
       info.hpos = min(1.0, info.hpos + info.hsize);
       break;
    case XfwfSTop:
       info.flags = XFWF_VPOS;
       info.vpos = 0.0;
       break;
    case XfwfSBottom:
       info.flags = XFWF_VPOS;
       info.vpos = 1.0;
       break;
    case XfwfSLeftSide:
       info.flags = XFWF_HPOS;
       info.hpos = 0.0;
       break;
    case XfwfSRightSide:
       info.flags = XFWF_HPOS;
       info.hpos = 1.0;
       break;
    default: break;                       /* Not understood */
    }

    XtCallCallbackList(self, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollCallback, &info);
}

Here is the call graph for this function:

static void scroll_response ( ) [static]

Here is the caller graph for this function:

static void scroll_response ( Widget  wdg,
XtPointer  client_data,
XtPointer  call_data 
) [static]

Definition at line 476 of file xwScrollbar.c.

{
    Widget self = (Widget) client_data;

    ((XfwfScrollbarWidget)self)->xfwfScrollbar.slider_scroll(wdg, ((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, call_data);
}
static Boolean set_values ( ) [static]
static Boolean set_values ( Widget  old,
Widget  request,
Widget  self,
ArgList  args,
Cardinal *  num_args 
) [static]

Definition at line 446 of file xwScrollbar.c.

{
    if (((XfwfScrollbarWidget)old)->xfwfScrollbar.vertical != ((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical) {
       XtWarning("Cannot change the \"vertical\" resource of a scrollbar\n");
       ((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical = ((XfwfScrollbarWidget)old)->xfwfScrollbar.vertical;
    }
    if (((XfwfScrollbarWidget)old)->xfwfScrollbar.scrollbarForeground != ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollbarForeground) {
       XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, XtNthumbColor, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollbarForeground, NULL);
       XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow1, XtNforeground, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollbarForeground, NULL);
       XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow2, XtNforeground, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollbarForeground, NULL);
    }
    if (((XfwfScrollbarWidget)old)->xfwfScrollbar.shadow != ((XfwfScrollbarWidget)self)->xfwfScrollbar.shadow) {
       XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, XtNthumbFrameWidth, ((XfwfScrollbarWidget)self)->xfwfScrollbar.shadow, NULL);
       XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow1, XtNarrowShadow, ((XfwfScrollbarWidget)self)->xfwfScrollbar.shadow, NULL);
       XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow2, XtNarrowShadow, ((XfwfScrollbarWidget)self)->xfwfScrollbar.shadow, NULL);
    }
    if (((XfwfScrollbarWidget)old)->xfwfScrollbar.minsize != ((XfwfScrollbarWidget)self)->xfwfScrollbar.minsize) {
       XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, XtNminsize, ((XfwfScrollbarWidget)self)->xfwfScrollbar.minsize, NULL);
    }
    if (((XfwfScrollbarWidget)old)->xfwfScrollbar.drawgrayScrollbar != ((XfwfScrollbarWidget)self)->xfwfScrollbar.drawgrayScrollbar) {
      XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow1, XtNdrawgrayArrow, ((XfwfScrollbarWidget)self)->xfwfScrollbar.drawgrayScrollbar, NULL);
      XtVaSetValues(((XfwfScrollbarWidget)self)->xfwfScrollbar.arrow2, XtNdrawgrayArrow, ((XfwfScrollbarWidget)self)->xfwfScrollbar.drawgrayScrollbar, NULL);
    }
    return False;
}
static void thumbscroll ( ) [static]

Here is the caller graph for this function:

static void thumbscroll ( Widget  w,
XtPointer  client_data,
XtPointer  call_data 
) [static]

Definition at line 117 of file xwScrollbar.c.

{
    Widget self = (Widget) client_data;
    XfwfScrollInfo *info = (XfwfScrollInfo*) call_data;

    if (((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical)
       info->flags &= XFWF_VPOS;
    else
       info->flags &= XFWF_HPOS;
    XtCallCallbackList(self, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollCallback, info);
}
static void up ( ) [static]

Here is the caller graph for this function:

static void up ( Widget  arrow,
XtPointer  client_data,
XtPointer  call_data 
) [static]

Definition at line 73 of file xwScrollbar.c.

{
    Widget self = (Widget) client_data;
    XfwfScrollInfo info;

    XfwfGetThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, &info);
    if (((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical) {
       info.reason = XfwfSUp;
       info.flags = XFWF_VPOS;
       info.vpos = max(0.0, info.vpos - ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
    } else {
       info.reason = XfwfSLeft;
       info.flags = XFWF_HPOS;
       info.hpos = max(0.0, info.hpos - ((XfwfScrollbarWidget)self)->xfwfScrollbar.increment);
    }
    XtCallCallbackList(self, ((XfwfScrollbarWidget)self)->xfwfScrollbar.scrollCallback, &info);
}

Here is the call graph for this function:

void XfwfGetScrollbar ( Widget  self,
double *  hpos,
double *  vpos 
)

Definition at line 506 of file xwScrollbar.c.

{
    XfwfScrollInfo info;

    XfwfGetThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, &info);
    if (hpos) *hpos = info.hpos;
    if (vpos) *vpos = info.vpos;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void XfwfSetScrollbar ( Widget  self,
double  pos,
double  size 
)

Definition at line 487 of file xwScrollbar.c.

{
    if (! XtIsSubclass(self, xfwfScrollbarWidgetClass))
       XtError("XfwfSetScrollbar called with incorrect widget type");
    if (pos < 0.0 || pos > 1.0 || size < 0.0 || size > 1.0)
       XtError("XfwfSetScrollbar called with incorrect arguments");
    if (((XfwfScrollbarWidget)self)->xfwfScrollbar.vertical) {
       XfwfResizeThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, 1.0, size);
       XfwfMoveThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, 0.0, pos);
    } else {
       XfwfResizeThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, size, 1.0);
       XfwfMoveThumb(((XfwfScrollbarWidget)self)->xfwfScrollbar.slider, pos, 0.0);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

XtActionsRec actionsList[] [static]
Initial value:
 {
{"Scroll", Scroll},
}

Definition at line 16 of file xwScrollbar.c.

XtResource resources[] [static]
Initial value:
 {
{XtNvertical,XtCVertical,XtRBoolean,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.vertical),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.vertical),XtRImmediate,(XtPointer)True },
{XtNscrollCallback,XtCScrollCallback,XtRCallback,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.scrollCallback),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.scrollCallback),XtRImmediate,(XtPointer)NULL },
{XtNscrollResponse,XtCScrollResponse,XtRXTCallbackProc,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.scrollResponse),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.scrollResponse),XtRImmediate,(XtPointer)scroll_response },
{XtNinitialDelay,XtCInitialDelay,XtRCardinal,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.initialDelay),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.initialDelay),XtRImmediate,(XtPointer)500 },
{XtNrepeatDelay,XtCRepeatDelay,XtRCardinal,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.repeatDelay),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.repeatDelay),XtRImmediate,(XtPointer)50 },
{XtNincrement,XtCIncrement,XtRFloat,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.increment),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.increment),XtRString,(XtPointer)"0.05"},
{XtNscrollbarForeground,XtCScrollbarForeground,XtRPixel,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.scrollbarForeground),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.scrollbarForeground),XtRCallProc,(XtPointer)copy_background },
{XtNshadow,XtCShadow,XtRDimension,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.shadow),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.shadow),XtRImmediate,(XtPointer)2 },
{XtNminsize,XtCMinsize,XtRDimension,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.minsize),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.minsize),XtRImmediate,(XtPointer)20 },
{XtNframeWidth,XtCFrameWidth,XtRDimension,sizeof(((XfwfScrollbarRec*)NULL)->xfwfFrame.frameWidth),XtOffsetOf(XfwfScrollbarRec,xfwfFrame.frameWidth),XtRImmediate,(XtPointer)2 },
{XtNframeType,XtCFrameType,XtRFrameType,sizeof(((XfwfScrollbarRec*)NULL)->xfwfFrame.frameType),XtOffsetOf(XfwfScrollbarRec,xfwfFrame.frameType),XtRImmediate,(XtPointer)XfwfSunken },
{XtNdrawgrayScrollbar,XtCDrawgrayScrollbar,XtRBoolean,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.drawgrayScrollbar),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.drawgrayScrollbar),XtRImmediate,(XtPointer)FALSE },
{XtNegdeBar,XtCEgdeBar,XtRBoolean,sizeof(((XfwfScrollbarRec*)NULL)->xfwfScrollbar.egdeBar),XtOffsetOf(XfwfScrollbarRec,xfwfScrollbar.egdeBar),XtRImmediate,(XtPointer)FALSE },
}

Definition at line 139 of file xwScrollbar.c.

Definition at line 155 of file xwScrollbar.c.

WidgetClass xfwfScrollbarWidgetClass = (WidgetClass) &xfwfScrollbarClassRec

Definition at line 223 of file xwScrollbar.c.