fltk::ToolDivider Class Reference

Inheritance diagram for fltk::ToolDivider:

Inheritance graph
[legend]
Collaboration diagram for fltk::ToolDivider:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void draw ()
void layout ()

Detailed Description

It is similar to the fltk::Divider but improve the look for adjust in fltk::ToolBar.


Member Function Documentation

void ToolDivider::draw  )  [virtual]
 

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::Divider.

void ToolDivider::layout  )  [virtual]
 

Resize the wide to 8p according to the orientation.

Reimplemented from fltk::Divider.


Tue Jun 27 02:20:19 2006. FLTK Dock is copyright © 2006 by MD. Z. Hossain