diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-02-05 13:32:07 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-02-05 13:32:07 +0100 |
| commit | 550dc273f3f362c635385d971e31d862817c1f4c (patch) | |
| tree | 98830c6204aa84ee523c6c0175cd56b8fb0d6919 /Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp | |
| parent | 235fa051714f509a09ef6860f02d566af426a0f4 (diff) | |
| parent | 68c70be9602be6ae2e8f5a5367b6fa874a3c9de1 (diff) | |
Merge pull request #2014 from degasus/master
HotKey: fix warnings
Diffstat (limited to 'Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp index a78c7b013c..3da0253581 100644 --- a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp +++ b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp @@ -41,7 +41,7 @@ struct ShapePosition }; // regular octagon -void DrawOctagon(wxDC* dc, ShapePosition p) +static void DrawOctagon(wxDC* dc, ShapePosition p) { const int vertices = 8; double radius = p.max; @@ -63,7 +63,7 @@ void DrawOctagon(wxDC* dc, ShapePosition p) } // irregular dodecagon -void DrawDodecagon(wxDC* dc, ShapePosition p) +static void DrawDodecagon(wxDC* dc, ShapePosition p) { const int vertices = 12; @@ -108,7 +108,7 @@ static void DrawCoordinate(wxDC &dc, ControlState x, ControlState y) DrawCenteredRectangle(dc, xc, yc, COORD_VIS_SIZE, COORD_VIS_SIZE); } -void DrawButton(unsigned int* const bitmasks, unsigned int buttons, unsigned int n, wxDC& dc, ControlGroupBox* g, unsigned int row) +static void DrawButton(unsigned int* const bitmasks, unsigned int buttons, unsigned int n, wxDC& dc, ControlGroupBox* g, unsigned int row) { if (buttons & bitmasks[(row * 8) + n]) { |
