File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ class UiWindow
38
38
PointToDraw ( const Point2d & point_ = Point2d(), const PaintColor & color_ = PaintColor() )
39
39
: point( point_ )
40
40
, color( color_ )
41
- {
42
- }
41
+ {}
43
42
44
43
Point2d point;
45
44
PaintColor color;
@@ -49,10 +48,9 @@ class UiWindow
49
48
{
50
49
LineToDraw ( const Point2d & start_ = Point2d(), const Point2d & end_ = Point2d(), const PaintColor & color_ = PaintColor() )
51
50
: start( start_ )
52
- , end ( end_ )
51
+ , end( end_ )
53
52
, color( color_ )
54
- {
55
- }
53
+ {}
56
54
57
55
Point2d start;
58
56
Point2d end;
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ void UiWindowX11::_display()
94
94
}
95
95
}
96
96
97
- uint32_t UiWindowX11::_convertColor (const PaintColor &color)
97
+ uint32_t UiWindowX11::_convertColor ( const PaintColor & color )
98
98
{
99
99
return static_cast <uint32_t >( ( color.red << 16 ) + ( color.green << 8 ) + color.blue );
100
100
}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class UiWindowX11 : public UiWindow
48
48
std::vector<RectangleToDraw> _rectangles;
49
49
50
50
void _setupImage ( const penguinV::Image & image );
51
- static uint32_t _convertColor (const PaintColor & color = PaintColor());
51
+ static uint32_t _convertColor ( const PaintColor & color = PaintColor() );
52
52
};
53
53
54
54
#endif
You can’t perform that action at this time.
0 commit comments