diff options
author | Johannes Schickel | 2008-04-04 18:14:10 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-04 18:14:10 +0000 |
commit | 24439e7056f540ceaf78b7cc3e671a0c0dcd7f79 (patch) | |
tree | 3442e95da2e86bf637502eb1ffba713b0502b99f | |
parent | cd47709a2a12d94f3ff5c79a2bd60d6240dabd00 (diff) | |
download | scummvm-rg350-24439e7056f540ceaf78b7cc3e671a0c0dcd7f79.tar.gz scummvm-rg350-24439e7056f540ceaf78b7cc3e671a0c0dcd7f79.tar.bz2 scummvm-rg350-24439e7056f540ceaf78b7cc3e671a0c0dcd7f79.zip |
Made sliders working.
svn-id: r31387
-rw-r--r-- | engines/kyra/staticres.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index 5ee30b8df1..1552996348 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -1486,7 +1486,8 @@ void GUI_v2::initStaticData() { GUI_V2_BUTTON(_sliderButtons[1][i], 0x1D+i, 0, 0, 1, 1, 1, 0x4487, 0, 0, 0, 0x0A, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); } for (int i = 0; i < 3; ++i) { - GUI_V2_BUTTON(_sliderButtons[2][i], 0x21+i, 0, 0, 0, 0, 0, 0x2200, 0, 0, 0, 0x6E, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); + // original used flags 0x2200 here, as long as our input code isn't 100% correct we have to use 0x1100 here though + GUI_V2_BUTTON(_sliderButtons[2][i], 0x21+i, 0, 0, 0, 0, 0, 0x1100, 0, 0, 0, 0x6E, 0x0E, 0xC7, 0xCF, 0xC7, 0xCF, 0xC7, 0xCF, 0); } for (uint i = 0; i < ARRAYSIZE(_menuButtons); ++i) { |