FLTK 1.4.4
Loading...
Searching...
No Matches
Fl_Light_Button.H
1
//
2
// Lighted button header file for the Fast Light Tool Kit (FLTK).
3
//
4
// Copyright 1998-2022 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
void
draw
()
FL_OVERRIDE
;
39
public
:
40
int
handle
(
int
)
FL_OVERRIDE
;
41
Fl_Light_Button
(
int
x
,
int
y
,
int
w
,
int
h
,
const
char
*l = 0);
42
};
43
44
#endif
Fl_Button::handle
int handle(int) FL_OVERRIDE
Handles the specified event.
Definition
Fl_Button.cxx:104
Fl_Button::draw
void draw() FL_OVERRIDE
Draws the widget.
Definition
Fl_Button.cxx:68
Fl_Button::Fl_Button
Fl_Button(int X, int Y, int W, int H, const char *L=0)
The constructor creates the button using the given position, size, and label.
Definition
Fl_Button.cxx:274
Fl_Light_Button::Fl_Light_Button
Fl_Light_Button(int x, int y, int w, int h, const char *l=0)
Creates a new Fl_Light_Button widget using the given position, size, and label string.
Definition
Fl_Light_Button.cxx:142
Fl_Widget::x
void x(int v)
Internal use only.
Definition
Fl_Widget.H:150
Fl_Widget::w
void w(int v)
Internal use only.
Definition
Fl_Widget.H:154
Fl_Widget::y
void y(int v)
Internal use only.
Definition
Fl_Widget.H:152
Fl_Widget::h
void h(int v)
Internal use only.
Definition
Fl_Widget.H:156
FL_OVERRIDE
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition
fl_attr.h:46
FL
Fl_Light_Button.H
Generated by
1.13.2