From a8e400ef711bf7756ae93dd10d4a2224e3527b3c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 13 Aug 2017 21:21:30 -0400 Subject: TITANIC: Show PET Sound sliders --- engines/titanic/pet_control/pet_sound.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'engines/titanic/pet_control/pet_sound.cpp') diff --git a/engines/titanic/pet_control/pet_sound.cpp b/engines/titanic/pet_control/pet_sound.cpp index f4d45038e9..f4fd821187 100644 --- a/engines/titanic/pet_control/pet_sound.cpp +++ b/engines/titanic/pet_control/pet_sound.cpp @@ -51,11 +51,11 @@ bool CPetSound::setup(CPetControl *petControl, CPetGlyphs *owner) { _parrotVolume.setThumbSize(Point(25, 15)); _parrotVolume.translate(Point(415, 376)); - _parrotVolume.setOrientation(ORIENTATION_HORIZONTAL); - _parrotVolume.setBounds(Rect(17, 60, 147, 75)); - _parrotVolume.setSlidingBounds(Rect(35, 65, 127, 71)); - _parrotVolume.setThumbSize(Point(25, 15)); - _parrotVolume.translate(Point(415, 376)); + _speechVolume.setOrientation(ORIENTATION_HORIZONTAL); + _speechVolume.setBounds(Rect(17, 60, 147, 75)); + _speechVolume.setSlidingBounds(Rect(35, 65, 127, 71)); + _speechVolume.setThumbSize(Point(25, 15)); + _speechVolume.translate(Point(415, 376)); _element.setBounds(Rect(0, 0, 165, 77)); _element.translate(Point(415, 376)); @@ -93,10 +93,10 @@ bool CPetSound::reset() { if (pet) { setName("PetSound", pet); _element.reset("PetVolChannels", pet, MODE_UNSELECTED); - _musicVolume.reset("PetVolSlug"); - _masterVolume.reset("PetVolSlug"); - _parrotVolume.reset("PetVolSlug"); - _speechVolume.reset("PetVolSlug"); + _musicVolume.setupThumb2("PetVolSlug", pet); + _masterVolume.setupThumb2("PetVolSlug", pet); + _parrotVolume.setupThumb2("PetVolSlug", pet); + _speechVolume.setupThumb2("PetVolSlug", pet); CPetSection *section = getPetSection(); uint col = section->getColor(0); -- cgit v1.2.3