aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
Diffstat (limited to 'dw')
-rw-r--r--dw/fltkui.cc6
-rw-r--r--dw/ooffloatsmgr.cc2
-rw-r--r--dw/style.hh8
-rw-r--r--dw/types.hh2
-rw-r--r--dw/widget.hh2
5 files changed, 10 insertions, 10 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index c650712a..db7c94e2 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -42,7 +42,7 @@
static Fl_Color fltkui_dimmed(Fl_Color c, Fl_Color bg)
{
return fl_color_average(c, bg, .33f);
-};
+}
//----------------------------------------------------------------------------
/*
@@ -78,7 +78,7 @@ CustInput2::CustInput2 (int x, int y, int w, int h, const char* l) :
placeholder = NULL;
showing_placeholder = false;
usual_color = FL_BLACK; /* just init until widget style is set */
-};
+}
/*
* Show normal text.
@@ -235,7 +235,7 @@ CustTextEditor::CustTextEditor (int x, int y, int w, int h, const char* l) :
buffer(new Fl_Text_Buffer());
usual_color = FL_BLACK; /* just init until widget style is set */
text_copy = NULL;
-};
+}
CustTextEditor::~CustTextEditor ()
{
diff --git a/dw/ooffloatsmgr.cc b/dw/ooffloatsmgr.cc
index a3175081..08a74924 100644
--- a/dw/ooffloatsmgr.cc
+++ b/dw/ooffloatsmgr.cc
@@ -1282,7 +1282,7 @@ bool OOFFloatsMgr::affectsLeftBorder (core::Widget *widget)
bool OOFFloatsMgr::affectsRightBorder (core::Widget *widget)
{
return widget->getStyle()->vloat == core::style::FLOAT_RIGHT;
-};
+}
bool OOFFloatsMgr::mayAffectBordersAtAll ()
{
diff --git a/dw/style.hh b/dw/style.hh
index 587a8622..8e2d4ca5 100644
--- a/dw/style.hh
+++ b/dw/style.hh
@@ -262,14 +262,14 @@ enum VAlignType {
VALIGN_SUB,
VALIGN_SUPER,
VALIGN_TEXT_TOP,
- VALIGN_TEXT_BOTTOM,
+ VALIGN_TEXT_BOTTOM
};
enum TextTransform {
TEXT_TRANSFORM_NONE,
TEXT_TRANSFORM_CAPITALIZE,
TEXT_TRANSFORM_UPPERCASE,
- TEXT_TRANSFORM_LOWERCASE,
+ TEXT_TRANSFORM_LOWERCASE
};
/**
@@ -345,7 +345,7 @@ enum Position {
POSITION_STATIC,
POSITION_RELATIVE,
POSITION_ABSOLUTE,
- POSITION_FIXED,
+ POSITION_FIXED
};
enum TextDecoration {
@@ -361,7 +361,7 @@ enum WhiteSpace {
WHITE_SPACE_PRE,
WHITE_SPACE_NOWRAP,
WHITE_SPACE_PRE_WRAP,
- WHITE_SPACE_PRE_LINE,
+ WHITE_SPACE_PRE_LINE
};
enum FloatType {
diff --git a/dw/types.hh b/dw/types.hh
index bfe7ce89..36910d10 100644
--- a/dw/types.hh
+++ b/dw/types.hh
@@ -224,7 +224,7 @@ struct Content
ALL = 0xff,
REAL_CONTENT = 0xff ^ (START | END),
SELECTION_CONTENT = TEXT | BREAK, // WIDGET_* must be set additionally
- ANY_WIDGET = WIDGET_IN_FLOW | WIDGET_OOF_CONT | WIDGET_OOF_REF,
+ ANY_WIDGET = WIDGET_IN_FLOW | WIDGET_OOF_CONT | WIDGET_OOF_REF
};
/* Content is embedded in struct Word therefore we
diff --git a/dw/widget.hh b/dw/widget.hh
index 8631b9db..3149c87b 100644
--- a/dw/widget.hh
+++ b/dw/widget.hh
@@ -93,7 +93,7 @@ protected:
*
* The dw::Image widget uses this flag, see dw::Image::setBuffer.
*/
- WAS_ALLOCATED = 1 << 6,
+ WAS_ALLOCATED = 1 << 6
};
/**