Fl_Tile.H 1.0 KB

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