From c2ac71b4f0905c3d34483dc67dbc455baa47aeff Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 5 Jul 2008 23:19:02 +0200 Subject: whitespace --- src/Fl_Value_Dial.H | 23 ++++++++++++----------- src/Fl_Value_Dial.cxx | 13 +++++++------ 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 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(); -- cgit v1.2.3