~ubuntu-branches/ubuntu/wily/flrig/wily

« back to all changes in this revision

Viewing changes to .pc/0001-License-Declaration.patch/src/include/flslider2.h

  • Committer: Package Import Robot
  • Author(s): Kamal Mostafa
  • Date: 2014-06-07 11:28:52 UTC
  • Revision ID: package-import@ubuntu.com-20140607112852-pj9xhtlvwpgqjy5x
Tags: 1.3.15-1
* Initial release (Closes: #750861)
  flrig version 1.3.15 plus the following upstream commits:
  - 0001-License-Declaration.patch
  - 0002-FL_APPS-folder.patch
  - 0003-rig-home-dir.patch
  - 0004-RTS-DTR-restore.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ----------------------------------------------------------------------------
 
2
//      flslider2.h
 
3
//
 
4
// Copyright (C) 2010
 
5
//              Stelios Bounanos, M0GLD
 
6
//
 
7
// This file is part of fldigi.
 
8
//
 
9
// fldigi is free software; you can redistribute it and/or modify
 
10
// it under the terms of the GNU General Public License as published by
 
11
// the Free Software Foundation; either version 3 of the License, or
 
12
// (at your option) any later version.
 
13
//
 
14
// fldigi is distributed in the hope that it will be useful,
 
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
// GNU General Public License for more details.
 
18
//
 
19
// You should have received a copy of the GNU General Public License
 
20
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
21
// ----------------------------------------------------------------------------
 
22
 
 
23
#ifndef FL_SLIDER2_
 
24
#define FL_SLIDER2_
 
25
 
 
26
#include <FL/Fl_Slider.H>
 
27
#include <FL/Fl_Value_Slider.H>
 
28
#include <FL/Fl_Counter.H>
 
29
#include <FL/Fl_Value_Input.H>
 
30
#include <FL/Fl_Spinner.H>
 
31
 
 
32
class Fl_Slider2 : public Fl_Slider
 
33
{
 
34
public:
 
35
        Fl_Slider2(int x, int y, int w, int h, const char* l = 0)
 
36
                : Fl_Slider(x, y, w, h, l) { }
 
37
        int handle(int event);
 
38
};
 
39
 
 
40
class Fl_Value_Slider2 : public Fl_Value_Slider
 
41
{
 
42
public:
 
43
        Fl_Value_Slider2(int x, int y, int w, int h, const char* l = 0)
 
44
                : Fl_Value_Slider(x, y, w, h, l) { }
 
45
        int handle(int event);
 
46
};
 
47
 
 
48
class Fl_Counter2 : public Fl_Counter
 
49
{
 
50
public:
 
51
        Fl_Counter2(int x, int y, int w, int h, const char* l = 0)
 
52
                : Fl_Counter(x, y, w, h, l) { }
 
53
        int handle(int event);
 
54
};
 
55
 
 
56
class Fl_Value_Input2 : public Fl_Value_Input
 
57
{
 
58
public:
 
59
        Fl_Value_Input2(int x, int y, int w, int h, const char* l = 0)
 
60
                : Fl_Value_Input(x, y, w, h, l) { }
 
61
        int handle(int event);
 
62
};
 
63
 
 
64
class Fl_Spinner2 : public Fl_Spinner
 
65
{
 
66
public:
 
67
        Fl_Spinner2(int x, int y, int w, int h, const char* l = 0)
 
68
                : Fl_Spinner(x, y, w, h, l) { }
 
69
        int handle(int event);
 
70
};
 
71
 
 
72
#endif // FL_SLIDER2_