1998-10-21 16:29:01 +00:00
|
|
|
//
|
|
|
|
// Shortcut header file for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
2010-11-28 21:06:39 +00:00
|
|
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
1998-10-21 16:29:01 +00:00
|
|
|
//
|
2011-07-19 04:49:30 +00:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
2020-07-01 18:03:10 +02:00
|
|
|
// https://www.fltk.org/COPYING.php
|
1998-10-21 16:29:01 +00:00
|
|
|
//
|
2020-07-01 18:03:10 +02:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-04-16 00:13:17 +00:00
|
|
|
//
|
2020-07-01 18:03:10 +02:00
|
|
|
// https://www.fltk.org/bugs.php
|
1998-10-21 16:29:01 +00:00
|
|
|
//
|
|
|
|
|
2021-12-08 15:52:15 +01:00
|
|
|
#ifndef _FLUID_SHORTCUT_BUTTON_H
|
|
|
|
#define _FLUID_SHORTCUT_BUTTON_H
|
|
|
|
|
1998-10-06 18:21:25 +00:00
|
|
|
#include <FL/Fl_Button.H>
|
|
|
|
|
|
|
|
class Shortcut_Button : public Fl_Button {
|
|
|
|
public:
|
|
|
|
int svalue;
|
|
|
|
int handle(int);
|
|
|
|
void draw();
|
2002-08-09 22:57:00 +00:00
|
|
|
Shortcut_Button(int X,int Y,int W,int H, const char* l = 0) :
|
|
|
|
Fl_Button(X,Y,W,H,l) {svalue = 0;}
|
1998-10-06 18:21:25 +00:00
|
|
|
};
|
2021-12-08 15:52:15 +01:00
|
|
|
|
2021-12-11 19:43:00 +01:00
|
|
|
class Widget_Bin_Button : public Fl_Button {
|
|
|
|
public:
|
|
|
|
int handle(int);
|
|
|
|
Widget_Bin_Button(int X,int Y,int W,int H, const char* l = 0) :
|
|
|
|
Fl_Button(X,Y,W,H,l) { }
|
|
|
|
};
|
|
|
|
|
|
|
|
class Widget_Bin_Window_Button : public Fl_Button {
|
|
|
|
public:
|
|
|
|
int handle(int);
|
|
|
|
Widget_Bin_Window_Button(int X,int Y,int W,int H, const char* l = 0) :
|
|
|
|
Fl_Button(X,Y,W,H,l) { }
|
|
|
|
};
|
|
|
|
|
2021-12-08 15:52:15 +01:00
|
|
|
#endif
|
|
|
|
|