summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-05 23:19:02 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-05 23:19:02 +0200
commitc2ac71b4f0905c3d34483dc67dbc455baa47aeff (patch)
tree6636a043d41823d2d4b77e8f5ea92c777d506276
parentae7d0f00376f8bfdf12a40823406ff7b108a3d77 (diff)
whitespace
-rw-r--r--src/Fl_Value_Dial.H23
-rw-r--r--src/Fl_Value_Dial.cxx13
2 files changed, 19 insertions, 17 deletions
diff --git a/src/Fl_Value_Dial.H b/src/Fl_Value_Dial.H
index 94fda5a..5f841ab 100644
--- a/src/Fl_Value_Dial.H
+++ b/src/Fl_Value_Dial.H
@@ -10,19 +10,20 @@
#include <FL/Fl_Dial.H>
class Fl_Value_Dial : public Fl_Dial {
- uchar textfont_, textsize_;
- unsigned textcolor_;
+ private:
+ uchar textfont_, textsize_;
+ unsigned textcolor_;
public:
- void draw();
- int handle(int event);
+ 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;}
+ 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
diff --git a/src/Fl_Value_Dial.cxx b/src/Fl_Value_Dial.cxx
index f210ca3..71775c2 100644
--- a/src/Fl_Value_Dial.cxx
+++ b/src/Fl_Value_Dial.cxx
@@ -10,12 +10,13 @@
#include "Fl_Value_Dial.H"
Fl_Value_Dial::Fl_Value_Dial(int X, int Y, int W, int H, const char*l)
- : Fl_Dial(X,Y,W,H,l) {
- step(1,100);
- textfont_ = FL_HELVETICA;
- textsize_ = 10;
- textcolor_ = FL_BLACK;
- }
+ : Fl_Dial(X,Y,W,H,l)
+{
+ step(1,100);
+ textfont_ = FL_HELVETICA;
+ textsize_ = 10;
+ textcolor_ = FL_BLACK;
+}
void Fl_Value_Dial::draw() {
int sxx = x(), syy = y(), sww = w(), shh = h();