1998-10-20 01:39:29 +04:00
|
|
|
//
|
|
|
|
// Tile header file for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
2016-05-09 14:29:59 +03:00
|
|
|
// Copyright 1998-2016 by Bill Spitzak and others.
|
1998-10-20 01:39:29 +04:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
2014-10-19 18:17:47 +04:00
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
2011-07-19 08:49:30 +04:00
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/COPYING.php
|
1998-10-20 01:39:29 +04:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-04-16 04:13:17 +04:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/bugs.php
|
1998-10-20 01:39:29 +04:00
|
|
|
//
|
1998-10-06 22:21:25 +04:00
|
|
|
|
|
|
|
#ifndef Fl_Tile_H
|
|
|
|
#define Fl_Tile_H
|
|
|
|
|
|
|
|
#include "Fl_Group.H"
|
|
|
|
|
2014-10-19 18:17:47 +04:00
|
|
|
/*
|
|
|
|
The Fl_Tile class lets you resize its children by dragging
|
|
|
|
the border between them.
|
2008-09-14 19:45:27 +04:00
|
|
|
*/
|
2014-10-19 18:17:47 +04:00
|
|
|
|
2002-08-14 20:49:38 +04:00
|
|
|
class FL_EXPORT Fl_Tile : public Fl_Group {
|
1998-10-06 22:21:25 +04:00
|
|
|
public:
|
2022-12-30 21:14:36 +03:00
|
|
|
int handle(int event) FL_OVERRIDE;
|
2016-05-09 14:29:59 +03:00
|
|
|
Fl_Tile(int X, int Y, int W, int H, const char *L=0);
|
2022-12-30 21:14:36 +03:00
|
|
|
void resize(int X, int Y, int W, int H) FL_OVERRIDE;
|
2023-02-02 22:54:19 +03:00
|
|
|
void move_intersection(int oldx, int oldy, int newx, int newy);
|
2023-02-10 18:27:42 +03:00
|
|
|
FL_DEPRECATED("in 1.4.0 - use move_intersection(p) instead",
|
2023-02-02 22:54:19 +03:00
|
|
|
void position(int oldx, int oldy, int newx, int newy)) { return move_intersection(oldx, oldy, newx, newy); }
|
|
|
|
void position(int x, int y) { Fl_Group::position(x, y); }
|
1998-10-06 22:21:25 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|