Used a constant for the default high value.

This commit is contained in:
skidau 2014-09-07 14:25:06 +10:00
parent 8abe9622fd
commit 7863295555
2 changed files with 2 additions and 1 deletions

View file

@ -911,7 +911,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
//options
for (auto& groupSetting : group->settings)
{
if (groupSetting.get()->high == 100)
if (groupSetting.get()->high == DEFAULT_HIGH_VALUE)
{
PadSettingCheckBox* setting_cbox = new PadSettingCheckBox(parent, groupSetting.get());
if (groupSetting.get()->is_iterate == true)

View file

@ -7,6 +7,7 @@
#define SLIDER_TICK_COUNT 100
#define DETECT_WAIT_TIME 2500
#define PREVIEW_UPDATE_TIME 25
#define DEFAULT_HIGH_VALUE 100
// might have to change this setup for wiimote
#define PROFILES_PATH "Profiles/"