27class FL_EXPORT
Fl_Tile :
public Fl_Group {
30 Fl_Tile(
int X,
int Y,
int W,
int H,
const char *L=0);
35 FL_DEPRECATED(
"since 1.4.0 - use move_intersection(p) instead",
38 void size_range(
int index,
int minw,
int minh,
int maxw=0x7FFFFFFF,
int maxh=0x7FFFFFFF);
39 void size_range(Fl_Widget *w ,
int minw,
int minh,
int maxw=0x7FFFFFFF,
int maxh=0x7FFFFFFF);
40 void init_size_range(
int default_min_w = -1,
int default_min_h = -1);
54 void set_cursor(
int n);
56 typedef struct {
int minw, minh, maxw, maxh; }
Size_Range;
59 int size_range_size_, size_range_capacity_;
60 int default_min_w_, default_min_h_;
Fl_Cursor
The following constants define the mouse cursors that are available in FLTK.
Definition Enumerations.H:1281
Fl_Group and Fl_End classes.
virtual void on_remove(int)
Allow derived groups to act when a child widget is removed from the group.
Definition Fl_Group.cxx:571
int handle(int) FL_OVERRIDE
Handles the specified event.
Definition Fl_Group.cxx:145
virtual int on_move(int, int)
Allow derived groups to act when a widget is moved within the group.
Definition Fl_Group.cxx:499
void resize(int, int, int, int) FL_OVERRIDE
Resizes the Fl_Group widget and all of its children.
Definition Fl_Group.cxx:825
virtual int on_insert(Fl_Widget *, int)
Allow derived groups to act when a widget is added as a child.
Definition Fl_Group.cxx:475
Rectangle with standard FLTK coordinates (X, Y, W, H).
Definition Fl_Rect.H:30
void request_grow_b(int old_b, int &new_b, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:425
void request_grow_r(int old_r, int &new_r, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:384
void request_grow_t(int old_t, int &new_t, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:404
void request_shrink_b(int old_b, int &new_b, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:318
Fl_Tile(int X, int Y, int W, int H, const char *L=0)
Creates a new Fl_Tile widget using the given position, size, and label string.
Definition Fl_Tile.cxx:921
virtual void drag_intersection(int oldx, int oldy, int newx, int newy)
Drags the intersection at (oldx,oldy) to (newx,newy).
Definition Fl_Tile.cxx:498
void request_shrink_t(int old_t, int &new_t, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:271
void request_shrink_r(int old_r, int &new_r, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:224
void request_grow_l(int old_l, int &new_l, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:363
virtual void move_intersection(int oldx, int oldy, int newx, int newy)
Drags the intersection at (oldx,oldy) to (newx,newy).
Definition Fl_Tile.cxx:453
void request_shrink_l(int old_l, int &new_l, Fl_Rect *final_size)
Request for children to change their layout.
Definition Fl_Tile.cxx:177
void position(int oldx, int oldy, int newx, int newy)
Definition Fl_Tile.H:36
int cursor_
current cursor index (0..3)
Definition Fl_Tile.H:43
Fl_Cursor * cursors_
points at the array of 4 cursors (may be overridden)
Definition Fl_Tile.H:44
Fl_Cursor cursor(int n)
Returns the cursor for cursor index n.
Definition Fl_Tile.H:50
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46
#define FL_DEPRECATED(msg, func)
Enclosing a function or method in FL_DEPRECATED marks it as no longer recommended.
Definition fl_attr.h:57