InvisibleBox Class Reference

Inherits Widget.

List of all members.

Public Member Functions

 InvisibleBox (int x, int y, int w, int h, const char *l=0)
 InvisibleBox (Box *b, int x, int y, int w, int h, const char *l)
void draw ()

Static Public Attributes

NamedStyledefault_style


Detailed Description

This Widget is invisible due to not having a box(). The label still prints so it can be used to position labels. Also this is useful as a Group::resizable() widget.


Constructor & Destructor Documentation

InvisibleBox::InvisibleBox Box b,
int  x,
int  y,
int  w,
int  h,
const char *  l
 

This constructor is for compatability with the fltk1 Fl_Box widget, and sets box() to b.


Member Function Documentation

void InvisibleBox::draw void   )  [virtual]
 

All special-casing for NO_BOX has been moved to the base Widget::draw() so this just calls that.

Reimplemented from Widget.


Member Data Documentation

NamedStyle * InvisibleBox::default_style [static]
 

Sets box() to NO_BOX, sets color() to GRAY75 for compatability with fltk1's Fl_Box widget.

Reimplemented from Widget.


The documentation for this class was generated from the following files:
Sun Jan 7 00:55:17 2007. FLTK ©2006 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.