diff --git a/src/ui/ui.h b/src/ui/ui.h index 6d0793afd..84fd67405 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -38,8 +38,7 @@ class UiWindow PointToDraw( const Point2d & point_ = Point2d(), const PaintColor & color_ = PaintColor() ) : point( point_ ) , color( color_ ) - { - } + {} Point2d point; PaintColor color; @@ -49,10 +48,9 @@ class UiWindow { LineToDraw( const Point2d & start_ = Point2d(), const Point2d & end_ = Point2d(), const PaintColor & color_ = PaintColor() ) : start( start_ ) - , end ( end_ ) + , end( end_ ) , color( color_ ) - { - } + {} Point2d start; Point2d end; diff --git a/src/ui/x11/x11_ui.cpp b/src/ui/x11/x11_ui.cpp index 1d5bfecd6..4c9b684e7 100644 --- a/src/ui/x11/x11_ui.cpp +++ b/src/ui/x11/x11_ui.cpp @@ -94,7 +94,7 @@ void UiWindowX11::_display() } } -uint32_t UiWindowX11::_convertColor(const PaintColor &color) +uint32_t UiWindowX11::_convertColor( const PaintColor & color ) { return static_cast( ( color.red << 16 ) + ( color.green << 8 ) + color.blue ); } diff --git a/src/ui/x11/x11_ui.h b/src/ui/x11/x11_ui.h index e10034a58..fb949bfea 100644 --- a/src/ui/x11/x11_ui.h +++ b/src/ui/x11/x11_ui.h @@ -48,7 +48,7 @@ class UiWindowX11 : public UiWindow std::vector _rectangles; void _setupImage( const penguinV::Image & image ); - static uint32_t _convertColor(const PaintColor & color = PaintColor()); + static uint32_t _convertColor( const PaintColor & color = PaintColor() ); }; #endif