diff options
author | Johannes Schickel | 2008-05-12 22:37:21 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-12 22:37:21 +0000 |
commit | e99c9048a8feb8f8bf5cf4406eff23ddc0b945ee (patch) | |
tree | 32759b774d77275aec244e743aba0d008fb74c51 /engines/kyra | |
parent | 16ac1bcebf790effb6dc87636bfbdfce12f1a01b (diff) | |
download | scummvm-rg350-e99c9048a8feb8f8bf5cf4406eff23ddc0b945ee.tar.gz scummvm-rg350-e99c9048a8feb8f8bf5cf4406eff23ddc0b945ee.tar.bz2 scummvm-rg350-e99c9048a8feb8f8bf5cf4406eff23ddc0b945ee.zip |
Formatting.
svn-id: r32078
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/staticres.cpp | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index 36703aafba..7ba19e9966 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -1679,19 +1679,15 @@ void GUI_HoF::initStaticData() { GUI_V2_BUTTON(_scrollUpButton, 0x17, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x18, 0x0F, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); GUI_V2_BUTTON(_scrollDownButton, 0x18, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x18, 0x0F, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); - for (int i = 0; i < 4; ++i) { + for (int i = 0; i < 4; ++i) GUI_V2_BUTTON(_sliderButtons[0][i], 0x18+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x0A, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); - } - for (int i = 0; i < 4; ++i) { + for (int i = 0; i < 4; ++i) GUI_V2_BUTTON(_sliderButtons[1][i], 0x1C+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x0A, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); - } - for (int i = 0; i < 4; ++i) { + for (int i = 0; i < 4; ++i) GUI_V2_BUTTON(_sliderButtons[2][i], 0x20+i, 0, 0, 0, 0, 0, 0x2200, 0, 0, 0, 0x6E, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); - } - for (uint i = 0; i < ARRAYSIZE(_menuButtons); ++i) { + for (uint i = 0; i < ARRAYSIZE(_menuButtons); ++i) GUI_V2_BUTTON(_menuButtons[i], 0x10+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0, 0, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); - } Button::Callback clickLoadSlotFunctor = BUTTON_FUNCTOR(GUI_HoF, this, &GUI_HoF::clickLoadSlot); Button::Callback clickSaveSlotFunctor = BUTTON_FUNCTOR(GUI_HoF, this, &GUI_HoF::clickSaveSlot); @@ -2082,19 +2078,15 @@ void GUI_MR::initStaticData() { GUI_V2_BUTTON(_scrollUpButton, 22, 0, 0, 4, 4, 4, 0x4487, 0, 0, 0, 0x18, 0x0F, 0xFF, 0xF0, 0xFF, 0xF0, 0xFF, 0xF0, 0); GUI_V2_BUTTON(_scrollDownButton, 23, 0, 0, 4, 4, 4, 0x4487, 0, 0, 0, 0x18, 0x0F, 0xFF, 0xF0, 0xFF, 0xF0, 0xFF, 0xF0, 0); - for (int i = 0; i < 4; ++i) { + for (int i = 0; i < 4; ++i) GUI_V2_BUTTON(_sliderButtons[0][i], 0x18+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x0A, 0x0E, 0xFF, 0xF0, 0xFF, 0xF0, 0xFF, 0xF0, 0); - } - for (int i = 0; i < 4; ++i) { + for (int i = 0; i < 4; ++i) GUI_V2_BUTTON(_sliderButtons[1][i], 0x1C+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x0A, 0x0E, 0xFF, 0xF0, 0xFF, 0xF0, 0xFF, 0xF0, 0); - } - for (int i = 0; i < 4; ++i) { + for (int i = 0; i < 4; ++i) GUI_V2_BUTTON(_sliderButtons[2][i], 0x20+i, 0, 0, 0, 0, 0, 0x2200, 0, 0, 0, 0x6E, 0x0E, 0xFF, 0xF0, 0xFF, 0xF0, 0xFF, 0xF0, 0); - } - for (uint i = 0; i < ARRAYSIZE(_menuButtons); ++i) { + for (uint i = 0; i < ARRAYSIZE(_menuButtons); ++i) GUI_V2_BUTTON(_menuButtons[i], 0x0F+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0, 0, 0xFF, 0xF0, 0xFF, 0xF0, 0xFF, 0xF0, 0); - } Button::Callback clickLoadSlotFunctor = BUTTON_FUNCTOR(GUI_MR, this, &GUI_MR::clickLoadSlot); Button::Callback clickSaveSlotFunctor = BUTTON_FUNCTOR(GUI_MR, this, &GUI_MR::clickSaveSlot); |