summaryrefslogtreecommitdiff
path: root/src/Fl_Value_Dial.H
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-05-18 09:34:30 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-05-18 09:34:30 +0000
commitb957c92f76e834f7727c2bcf259566cbd78b8002 (patch)
treedb424b74dc780388a97f7a187b12aa1be6538cc3 /src/Fl_Value_Dial.H
parent1cca92c3c8e00147917b6b6749d4e541cdc3174f (diff)
add keyboard handling to Fl_Value_Dial
add keyboard handling to Fl_Value_Dial
Diffstat (limited to 'src/Fl_Value_Dial.H')
-rw-r--r--src/Fl_Value_Dial.H28
1 files changed, 15 insertions, 13 deletions
diff --git a/src/Fl_Value_Dial.H b/src/Fl_Value_Dial.H
index 313d5a9..7d41aa5 100644
--- a/src/Fl_Value_Dial.H
+++ b/src/Fl_Value_Dial.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Value_Dial.H,v 1.1 2005/05/17 09:20:38 hofmann Exp $"
+// "$Id: Fl_Value_Dial.H,v 1.2 2005/05/18 11:34:30 hofmann Exp $"
//
// Value dial header file for the Fast Light Tool Kit (FLTK).
//
@@ -29,21 +29,23 @@
#include <FL/Fl_Dial.H>
class Fl_Value_Dial : public Fl_Dial {
- uchar textfont_, textsize_;
- unsigned textcolor_;
-public:
- void draw();
- Fl_Value_Dial(int x,int y,int w,int h, const char *l = 0);
- Fl_Font textfont() const {return (Fl_Font)textfont_;}
- void textfont(uchar s) {textfont_ = s;}
- uchar textsize() const {return textsize_;}
- void textsize(uchar s) {textsize_ = s;}
- Fl_Color textcolor() const {return (Fl_Color)textcolor_;}
- void textcolor(unsigned s) {textcolor_ = s;}
+ uchar textfont_, textsize_;
+ unsigned textcolor_;
+ public:
+ void draw();
+ int handle(int event);
+
+ Fl_Value_Dial(int x,int y,int w,int h, const char *l = 0);
+ Fl_Font textfont() const {return (Fl_Font)textfont_;}
+ void textfont(uchar s) {textfont_ = s;}
+ uchar textsize() const {return textsize_;}
+ void textsize(uchar s) {textsize_ = s;}
+ Fl_Color textcolor() const {return (Fl_Color)textcolor_;}
+ void textcolor(unsigned s) {textcolor_ = s;}
};
#endif
//
-// End of "$Id: Fl_Value_Dial.H,v 1.1 2005/05/17 09:20:38 hofmann Exp $".
+// End of "$Id: Fl_Value_Dial.H,v 1.2 2005/05/18 11:34:30 hofmann Exp $".
//