/***********************************************************
* Artsoft Retro-Game Library *
*----------------------------------------------------------*
/***********************************************************
* Artsoft Retro-Game Library *
*----------------------------------------------------------*
gadget_draggable = (gi && gi->type & GD_TYPE_SCROLLBAR);
/* reset drag position for newly pressed scrollbar to "not dragging" */
gadget_draggable = (gi && gi->type & GD_TYPE_SCROLLBAR);
/* reset drag position for newly pressed scrollbar to "not dragging" */
if (gi->type & GD_TYPE_SCROLLBAR)
DrawGadget(gi, DG_UNPRESSED, gi->direct_draw);
if (gi->type & GD_TYPE_SCROLLBAR)
DrawGadget(gi, DG_UNPRESSED, gi->direct_draw);