Roman Kantor wrote:

> Actually down (unless at the beginning of the table) is always odd -
> next or the same if it is detected as down (odd).
> 
> You can set your pair like:
> 
> Fl_Boxtype MY_DOWN_BOX =  fl_down(FL_FREE_BOXTYPE+1);
> Fl_Byxtype MY_UP_BOX = Fl_Boxtype(my_down_box-1);
> 
> Fl::set_boxtype(MY_UP_BOX, &my_up_box_function, ...);
> Fl::set_boxtype(MY_DOWN_BOX, &my_down_box_function, ...);
> 
> R.

Thanks. I did something similar:

#define FL_DIVIDER_BOX          FL_FREE_BOXTYPE
#define FL_DIVIDER_DOWN_BOX     (Fl_Boxtype(FL_FREE_BOXTYPE+1))

-- 
Alvin
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to