[773] | 1 | // |
---|
| 2 | // "$Id: LineDial.h 3190 2004-01-06 06:43:03Z spitzak $" |
---|
| 3 | // |
---|
| 4 | // Copyright 1998-2003 by Bill Spitzak and others. |
---|
| 5 | // |
---|
| 6 | // This library is free software; you can redistribute it and/or |
---|
| 7 | // modify it under the terms of the GNU Library General Public |
---|
| 8 | // License as published by the Free Software Foundation; either |
---|
| 9 | // version 2 of the License, or (at your option) any later version. |
---|
| 10 | // |
---|
| 11 | // This library is distributed in the hope that it will be useful, |
---|
| 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 14 | // Library General Public License for more details. |
---|
| 15 | // |
---|
| 16 | // You should have received a copy of the GNU Library General Public |
---|
| 17 | // License along with this library; if not, write to the Free Software |
---|
| 18 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
| 19 | // USA. |
---|
| 20 | // |
---|
| 21 | // Please report all bugs and problems to "fltk-bugs@fltk.org". |
---|
| 22 | // |
---|
| 23 | |
---|
| 24 | #ifndef fltk_LineDial_h |
---|
| 25 | #define fltk_LineDial_h |
---|
| 26 | |
---|
| 27 | #include "Dial.h" |
---|
| 28 | |
---|
| 29 | namespace fltk { |
---|
| 30 | |
---|
| 31 | /*! Dial but the constructor sets type() to LINE, so it draws a |
---|
| 32 | pointer rather than a dot. */ |
---|
| 33 | class FL_API LineDial : public Dial { |
---|
| 34 | public: |
---|
| 35 | LineDial(int x,int y,int w,int h, const char *l = 0) : |
---|
| 36 | Dial(x,y,w,h,l) {type(LINE);} |
---|
| 37 | }; |
---|
| 38 | |
---|
| 39 | } |
---|
| 40 | #endif |
---|
| 41 | |
---|
| 42 | // |
---|
| 43 | // End of "$Id: LineDial.h 3190 2004-01-06 06:43:03Z spitzak $". |
---|
| 44 | // |
---|