Box type constants and functions
Boxtype:to_down | Boxtype:to_frame |
Most widgets support selection of different styles through setting their box property; some also have a down_box property used when the widget is pressed. Boxtype and Frametype are a table naming the different box and frame styles.
(This needs to be updated for Lua Fltk names)
Boxtype.none means nothing is drawn at all, so whatever is already on the screen remains. The FL_..._FRAME types only draw their edges, leaving the interior unchanged. In the above diagram the blue color is the area that is not drawn by the box.
Here are the boxtype values:
Here are the Frametype values:
Returns a Frametype similar to the Boxtype
b. Note that this won't work on all Boxtypes.
Returns a Boxtype similar to b that's "down". Note that this
won't work on all Boxtypes.
Boxtype:to_down(Boxtype b): Boxtype
doctool generated at Sun Aug 5 20:52:29 2001