FLTK
Fl_Light_Button.H
1
//
2
// Lighted button header file for the Fast Light Tool Kit (FLTK).
3
//
4
// Copyright 1998-2010 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
/* \file
18
Fl_Light_Button widget . */
19
20
#ifndef Fl_Light_Button_H
21
#define Fl_Light_Button_H
22
23
#include "Fl_Button.H"
24
36
class
FL_EXPORT
Fl_Light_Button
:
public
Fl_Button
{
37
protected
:
38
virtual
void
draw
();
39
public
:
40
virtual
int
handle
(
int
);
41
Fl_Light_Button
(
int
x,
int
y,
int
w,
int
h,
const
char
*l = 0);
42
};
43
44
#endif
Fl_Button::draw
virtual void draw()
Draws the widget.
Definition:
Fl_Button.cxx:67
Fl_Button::handle
virtual int handle(int)
Handles the specified event.
Definition:
Fl_Button.cxx:81
Fl_Light_Button
This subclass displays the "on" state by turning on a light, rather than drawing pushed in...
Definition:
Fl_Light_Button.H:36
Fl_Button
Buttons generate callbacks when they are clicked by the user.
Definition:
Fl_Button.H:77
© 1998-2020 by Bill Spitzak and others.