diff options
author | Paul Gilbert | 2015-02-18 22:05:25 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-18 22:05:25 -0500 |
commit | cd5bc0ec7ec7652a39d550aea4f387eec45fa382 (patch) | |
tree | 113aff8f3c36ddfdaf67b73a1edb03c79e58306c /engines/xeen/dialogs_options.cpp | |
parent | aa89e602a2d261a24861bf65877bba3fab647409 (diff) | |
download | scummvm-rg350-cd5bc0ec7ec7652a39d550aea4f387eec45fa382.tar.gz scummvm-rg350-cd5bc0ec7ec7652a39d550aea4f387eec45fa382.tar.bz2 scummvm-rg350-cd5bc0ec7ec7652a39d550aea4f387eec45fa382.zip |
XEEN: Simplify use of addButton when setting up button lists
Diffstat (limited to 'engines/xeen/dialogs_options.cpp')
-rw-r--r-- | engines/xeen/dialogs_options.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/xeen/dialogs_options.cpp b/engines/xeen/dialogs_options.cpp index 8f02559837..4b4974b9aa 100644 --- a/engines/xeen/dialogs_options.cpp +++ b/engines/xeen/dialogs_options.cpp @@ -155,17 +155,17 @@ void OptionsMenu::showTitles2() { } void OptionsMenu::setupButtons(SpriteResource *buttons) { - addButton(Common::Rect(124, 87, 124 + 53, 87 + 10), 'S', buttons, false); - addButton(Common::Rect(126, 98, 126 + 47, 98 + 10), 'L', buttons, false); - addButton(Common::Rect(91, 110, 91 + 118, 110 + 10), 'C', buttons, false); - addButton(Common::Rect(85, 121, 85 + 131, 121 + 10), 'O', buttons, false); + addButton(Common::Rect(124, 87, 124 + 53, 87 + 10), 'S'); + addButton(Common::Rect(126, 98, 126 + 47, 98 + 10), 'L'); + addButton(Common::Rect(91, 110, 91 + 118, 110 + 10), 'C'); + addButton(Common::Rect(85, 121, 85 + 131, 121 + 10), 'O'); } void WorldOptionsMenu::setupButtons(SpriteResource *buttons) { - addButton(Common::Rect(93, 53, 93 + 134, 53 + 20), 'S', buttons, true); - addButton(Common::Rect(93, 78, 93 + 134, 78 + 20), 'L', buttons, true); - addButton(Common::Rect(93, 103, 93 + 134, 103 + 20), 'C', buttons, true); - addButton(Common::Rect(93, 128, 93 + 134, 128 + 20), 'O', buttons, true); + addButton(Common::Rect(93, 53, 93 + 134, 53 + 20), 'S', buttons); + addButton(Common::Rect(93, 78, 93 + 134, 78 + 20), 'L', buttons); + addButton(Common::Rect(93, 103, 93 + 134, 103 + 20), 'C', buttons); + addButton(Common::Rect(93, 128, 93 + 134, 128 + 20), 'O', buttons); } /*------------------------------------------------------------------------*/ |