From 68c70f9b6dc96d50f677862c579a65085dd7d300 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Fri, 2 Nov 2012 19:07:18 -0400 Subject: [PATCH] Variable name cleanup --- src/preferences/appearance/FakeScrollBar.cpp | 8 ++++---- src/preferences/appearance/FakeScrollBar.h | 4 ++-- src/preferences/appearance/LookAndFeelSettingsView.cpp | 6 +++--- src/preferences/appearance/LookAndFeelSettingsView.h | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/preferences/appearance/FakeScrollBar.cpp b/src/preferences/appearance/FakeScrollBar.cpp index 8ca3de1737..aa8ee8b7fa 100644 --- a/src/preferences/appearance/FakeScrollBar.cpp +++ b/src/preferences/appearance/FakeScrollBar.cpp @@ -270,17 +270,17 @@ FakeScrollBar::SetValue(int32 value) void -FakeScrollBar::SetDoubleArrows(bool doublearrows) +FakeScrollBar::SetDoubleArrows(bool doubleArrows) { - fDoubleArrows = doublearrows; + fDoubleArrows = doubleArrows; Invalidate(); } void -FakeScrollBar::SetKnobStyle(uint32 style) +FakeScrollBar::SetKnobStyle(uint32 knobStyle) { - fKnobStyle = style; + fKnobStyle = knobStyle; Invalidate(); } diff --git a/src/preferences/appearance/FakeScrollBar.h b/src/preferences/appearance/FakeScrollBar.h index 383b3bcbfd..7f96f613d1 100644 --- a/src/preferences/appearance/FakeScrollBar.h +++ b/src/preferences/appearance/FakeScrollBar.h @@ -28,8 +28,8 @@ public: virtual void SetValue(int32 value); - void SetDoubleArrows(bool doublearrows); - void SetKnobStyle(uint32 style); + void SetDoubleArrows(bool doubleArrows); + void SetKnobStyle(uint32 knobStyle); void SetFromScrollBarInfo(const scroll_bar_info &info); diff --git a/src/preferences/appearance/LookAndFeelSettingsView.cpp b/src/preferences/appearance/LookAndFeelSettingsView.cpp index b63bd3934e..4ac5f43fdd 100644 --- a/src/preferences/appearance/LookAndFeelSettingsView.cpp +++ b/src/preferences/appearance/LookAndFeelSettingsView.cpp @@ -342,15 +342,15 @@ LookAndFeelSettingsView::_DoubleScrollBarArrows() void -LookAndFeelSettingsView::_SetDoubleScrollBarArrows(bool on) +LookAndFeelSettingsView::_SetDoubleScrollBarArrows(bool doubleArrows) { scroll_bar_info info; get_scroll_bar_info(&info); - info.double_arrows = on; + info.double_arrows = doubleArrows; set_scroll_bar_info(&info); - if (on) + if (doubleArrows) fArrowStyleDouble->SetValue(B_CONTROL_ON); else fArrowStyleSingle->SetValue(B_CONTROL_ON); diff --git a/src/preferences/appearance/LookAndFeelSettingsView.h b/src/preferences/appearance/LookAndFeelSettingsView.h index db2b5bddea..bc06657544 100644 --- a/src/preferences/appearance/LookAndFeelSettingsView.h +++ b/src/preferences/appearance/LookAndFeelSettingsView.h @@ -46,7 +46,7 @@ private: void _AdoptInterfaceToCurrentDecor(); bool _DoubleScrollBarArrows(); - void _SetDoubleScrollBarArrows(bool on); + void _SetDoubleScrollBarArrows(bool doubleArrows); int32 _ScrollBarKnobStyle(); void _SetScrollBarKnobStyle(int32 knobStyle);