FLTK 1.4.0
Fl_Tile.H
1 //
2 // Tile header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2016 by Bill Spitzak and others.
5 //
6 // This library is free software. Distribution and use rights are outlined in
7 // the file "COPYING" which should have been included with this file. If this
8 // file is missing or damaged, see the license at:
9 //
10 // https://www.fltk.org/COPYING.php
11 //
12 // Please see the following page on how to report bugs and issues:
13 //
14 // https://www.fltk.org/bugs.php
15 //
16 
17 #ifndef Fl_Tile_H
18 #define Fl_Tile_H
19 
20 #include "Fl_Group.H"
21 
22 /*
23  The Fl_Tile class lets you resize its children by dragging
24  the border between them.
25 */
26 
27 class FL_EXPORT Fl_Tile : public Fl_Group {
28 public:
29  int handle(int event);
30  Fl_Tile(int X, int Y, int W, int H, const char *L=0);
31  void resize(int X, int Y, int W, int H);
32  void position(int oldx, int oldy, int newx, int newy);
33 };
34 
35 #endif
The Fl_Group class is the FLTK container widget.
Definition: Fl_Group.H:42
int handle(int)
Handles the specified event.
Definition: Fl_Group.cxx:145
void resize(int, int, int, int)
Resizes the Fl_Group widget and all of its children.
Definition: Fl_Group.cxx:737
The Fl_Tile class lets you resize its children by dragging the border between them.
Definition: Fl_Tile.H:27
void position(int X, int Y)
Repositions the window or widget.
Definition: Fl_Widget.H:338