aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
Diffstat (limited to 'dw')
-rw-r--r--dw/fltkcomplexbutton.cc2
-rw-r--r--dw/fltkcomplexbutton.hh4
-rw-r--r--dw/fltkui.cc2
-rw-r--r--dw/fltkviewbase.cc4
-rw-r--r--dw/fltkviewbase.hh2
-rw-r--r--dw/fltkviewport.cc2
6 files changed, 8 insertions, 8 deletions
diff --git a/dw/fltkcomplexbutton.cc b/dw/fltkcomplexbutton.cc
index 211a37e8..39257bde 100644
--- a/dw/fltkcomplexbutton.cc
+++ b/dw/fltkcomplexbutton.cc
@@ -126,7 +126,7 @@ int ComplexButton::handle(int event) {
return 1;
case FL_SHORTCUT:
if (!(shortcut() ?
- Fl::test_shortcut(shortcut()) : test_shortcut())) return 0;
+ Fl::test_shortcut(shortcut()) : test_shortcut())) return 0;
if (Fl::visible_focus() && handle(FL_FOCUS)) Fl::focus(this);
goto triggered_by_keyboard;
case FL_FOCUS : /* FALLTHROUGH */
diff --git a/dw/fltkcomplexbutton.hh b/dw/fltkcomplexbutton.hh
index 6266694a..e4ca2e2b 100644
--- a/dw/fltkcomplexbutton.hh
+++ b/dw/fltkcomplexbutton.hh
@@ -23,7 +23,7 @@
#include <FL/Fl_Group.H>
// values for type()
-#define FL_NORMAL_BUTTON 0 /**< value() will be set to 1 during the press of the button and
+#define FL_NORMAL_BUTTON 0 /**< value() will be set to 1 during the press of the button and
reverts back to 0 when the button is released */
#define FL_TOGGLE_BUTTON 1 ///< value() toggles between 0 and 1 at every click of the button
#define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) /**< is set to 1 at button press, and all other
@@ -49,7 +49,7 @@ protected:
static Fl_Widget_Tracker *key_release_tracker;
static void key_release_timeout(void*);
void simulate_key_action();
-
+
virtual void draw();
public:
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index f79dea80..c29a32ec 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -980,7 +980,7 @@ Fl_Menu_Item *FltkOptionMenuResource::newItem()
return item;
}
-
+
void FltkOptionMenuResource::addItem (const char *str,
bool enabled, bool selected)
{
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc
index de974578..eaaae1c4 100644
--- a/dw/fltkviewbase.cc
+++ b/dw/fltkviewbase.cc
@@ -143,7 +143,7 @@ void FltkViewBase::draw (const core::Rectangle *rect,
// fl_clip_box() can't handle values greater than SHRT_MAX!
if (X > x () + w () || Y > y () + h ())
return;
-
+
W = X + rect->width > x () + w () ? x () + w () - X : rect->width;
H = Y + rect->height > y () + h () ? y () + h () - Y : rect->height;
@@ -288,7 +288,7 @@ int FltkViewBase::handle (int event)
case FL_UNFOCUS:
focused_child = fl_oldfocus;
return 0;
-
+
default:
return Fl_Group::handle (event);
}
diff --git a/dw/fltkviewbase.hh b/dw/fltkviewbase.hh
index 4fb7df9d..b1b6c4ab 100644
--- a/dw/fltkviewbase.hh
+++ b/dw/fltkviewbase.hh
@@ -23,7 +23,7 @@ private:
public:
Fl_Offscreen offscreen;
-
+
BackBuffer ();
~BackBuffer ();
void setSize(int w, int h);
diff --git a/dw/fltkviewport.cc b/dw/fltkviewport.cc
index 135550e8..9e75932f 100644
--- a/dw/fltkviewport.cc
+++ b/dw/fltkviewport.cc
@@ -147,7 +147,7 @@ void FltkViewport::hscrollbarCallback (Fl_Widget *hscrollbar,void *viewportPtr)
// ----------------------------------------------------------------------
-void FltkViewport::resize(int X, int Y, int W, int H)
+void FltkViewport::resize(int X, int Y, int W, int H)
{
bool dimension_changed = W != w() || H != h();