Public Member Functions | |
void | draw () |
void | layout () |
int | handle (int) |
Divider () |
|
Unlike other widgets the constructor does not take any dimensions, since it is assummed the container widget will size this correctly. |
|
Fltk calls this virtual function to draw the widget, after setting up the graphics (current window, xy translation, etc) so that any drawing functions will go into this widget. User code should not call this! You probably want to call redraw(). The default version calls draw_box() and draw_label(), thus drawing the box() to fill the widget and putting the label() and image() inside it to fill it, unless the align() flags are set to put it outside. Information on how to write your own version is here. Reimplemented from fltk::Widget. Reimplemented in fltk::ToolDivider. |
|
Returns 0 always. Items do not accept any events. Any results of clicking on them is handled by the parent Menu or Browser. Reimplemented from fltk::Widget. |
|
Resizes to a 2x2 square Reimplemented from fltk::Widget. Reimplemented in fltk::ToolDivider. |