> Sorry dude =)
>
> Keep trying!
No, I'm giving up. I think that your xforms library is not behaving as it
should. Line 225ff of slider.c:
if (ob->align == FL_ALIGN_CENTER)
{
fl_drw_slider(ob->boxtype, sp->x, sp->y, sp->w, sp->h,
ob->col1, ob->col2, ob->type, sp->slsize, val,
is_fill(ob->type) ? "":ob->label,
FL_SLIDER_ALL & ~sp->mouse, inv, ob->bw);
/* added 10/21/00 TCZ: need this to get the inside label right*/
/* otherwise fl_drw_slider draw lable centered on the filled part!*/
if(is_fill(ob->type))
fl_draw_object_label(ob);
}
else
Here we are drawing a slider with FL_ALIGN_CENTER and FL_HOR_FILL_SLIDER, so
is_fill(ob->type) returns 1. Ie, fl_drw_slider should know nothing about the
label that is being drawn in the middle of your yellow block.
Since I don't see any such nonsense, I conclude that the problem is at your
end.
Regards,
Angus