There are 4 bits for top/bottom/right/left, giving 16 possibilities. 
Top=1, bottom=2, left=4, right=8.

For back-compatibility the following numbers must work:

          5    1    9
       ??             ??
        4      0      8
       ??             ??
          6    2   10

That leaves 7 numbers and 4 positions so this should be possible.

fltk2.0 uses the following numbering:

          5    1    9
        3             11
   12   4      0      8
        7             15
          6    2   10

#12 centers the text in the space to the left of the widget.

13 acts like 5 and 14 acts like 6, but that is probably an accident. May

I think it would be best to pack all the possibilities into the bits, 
and add symbols describing each of them to the header file. Or'ing some 
of the bits such as TOP and LEFT "works" but is depreciated.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to