Skip to content

Commit 28d23af

Browse files
committed
Fix format.
1 parent a087eb9 commit 28d23af

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

src/ui/ui.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ class UiWindow
3838
PointToDraw( const Point2d & point_ = Point2d(), const PaintColor & color_ = PaintColor() )
3939
: point( point_ )
4040
, color( color_ )
41-
{
42-
}
41+
{}
4342

4443
Point2d point;
4544
PaintColor color;
@@ -49,10 +48,9 @@ class UiWindow
4948
{
5049
LineToDraw( const Point2d & start_ = Point2d(), const Point2d & end_ = Point2d(), const PaintColor & color_ = PaintColor() )
5150
: start( start_ )
52-
, end ( end_ )
51+
, end( end_ )
5352
, color( color_ )
54-
{
55-
}
53+
{}
5654

5755
Point2d start;
5856
Point2d end;

src/ui/x11/x11_ui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void UiWindowX11::_display()
9494
}
9595
}
9696

97-
uint32_t UiWindowX11::_convertColor(const PaintColor &color)
97+
uint32_t UiWindowX11::_convertColor( const PaintColor & color )
9898
{
9999
return static_cast<uint32_t>( ( color.red << 16 ) + ( color.green << 8 ) + color.blue );
100100
}

src/ui/x11/x11_ui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class UiWindowX11 : public UiWindow
4848
std::vector<RectangleToDraw> _rectangles;
4949

5050
void _setupImage( const penguinV::Image & image );
51-
static uint32_t _convertColor(const PaintColor & color = PaintColor());
51+
static uint32_t _convertColor( const PaintColor & color = PaintColor() );
5252
};
5353

5454
#endif

0 commit comments

Comments
 (0)