aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_quit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_quit.cpp')
-rw-r--r--engines/titanic/pet_control/pet_quit.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_quit.cpp b/engines/titanic/pet_control/pet_quit.cpp
index c31db26f54..c489fd9d5b 100644
--- a/engines/titanic/pet_control/pet_quit.cpp
+++ b/engines/titanic/pet_control/pet_quit.cpp
@@ -46,9 +46,13 @@ bool CPetQuit::reset() {
return false;
setName("PetExit", pet);
- uint v = getPetSection()->getDataIndex(0);
- // TODO
+ uint col = getPetSection()->getDataIndex(0);
+ _text.setText("Are you sure you want to quit?");
+ _text.setColor(0, col);
+
+ _btnYes.reset("PetQuitOut", pet, MODE_UNSELECTED);
+ _btnYes.reset("PetQuitIn", pet, MODE_SELECTED);
return true;
}