summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-04-08 01:16:50 -0400
committerLioncash <mathew1800@gmail.com>2013-04-08 01:16:50 -0400
commit1db10b139cb1f9b92b2e90eb86f236dcd30333b4 (patch)
tree6e1564d368ffabc06196e82d41413fe83082b184 /Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
parent5b2d9a7d9f80389cd130661c481dcbdf650a724f (diff)
Remove all tab/space mismatches from the DolphinWX project (at least 99%. I promise!)
Also fix up the dangling else's. Shit just looks incredibly ugly in terms of actual structure in the code. I took the liberty of adding comments in FifoPlayerDlg.cpp, LogConfigWindow.cpp, LogWindow.cpp, and FrameAui.cpp to better explain some things. If any comments are wrong, don't hesitate to complain.
Diffstat (limited to 'Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
index efb7db59af..6ac5355bfe 100644
--- a/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
+++ b/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
@@ -111,7 +111,9 @@ void InputConfigDialog::UpdateBitmaps(wxTimerEvent& WXUNUSED(event))
dc.DrawCircle( 32, 32, 32);
}
else
+ {
dc.DrawRectangle( 16, 16, 32, 32 );
+ }
if ( GROUP_TYPE_CURSOR != (*g)->control_group->type )
{
@@ -217,7 +219,9 @@ void InputConfigDialog::UpdateBitmaps(wxTimerEvent& WXUNUSED(event))
for (unsigned int n = 0; n<button_count; ++n)
{
if ( buttons & bitmasks[n] )
+ {
dc.SetBrush( *wxRED_BRUSH );
+ }
else
{
unsigned char amt = 255 - (*g)->control_group->controls[n]->control_ref->State() * 128;