aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_section.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-01 05:24:31 -0500
committerPaul Gilbert2017-01-01 05:24:31 -0500
commitd0d00f6beb9a2fab19455f653837af1b629d00da (patch)
tree7b92015c46e06490468da152b65374e61ce0b5a0 /engines/titanic/pet_control/pet_section.cpp
parentab7a152c3a47427b606503ac3ee16abf0cb94bbe (diff)
downloadscummvm-rg350-d0d00f6beb9a2fab19455f653837af1b629d00da.tar.gz
scummvm-rg350-d0d00f6beb9a2fab19455f653837af1b629d00da.tar.bz2
scummvm-rg350-d0d00f6beb9a2fab19455f653837af1b629d00da.zip
TITANIC: Rename CPetText to CTextControl
The class is used in several areas outside of the PET, so it makes better sense to not have it in the pet_control/ folder and named so
Diffstat (limited to 'engines/titanic/pet_control/pet_section.cpp')
-rw-r--r--engines/titanic/pet_control/pet_section.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_section.cpp b/engines/titanic/pet_control/pet_section.cpp
index aced697705..2c2238e3f9 100644
--- a/engines/titanic/pet_control/pet_section.cpp
+++ b/engines/titanic/pet_control/pet_section.cpp
@@ -39,7 +39,7 @@ static const uint PALETTE3[5] = {
};
void CPetSection::displayMessage(const CString &msg) {
- CPetText *text = getText();
+ CTextControl *text = getText();
if (text) {
text->setColor(getColor(1));
@@ -64,7 +64,7 @@ void CPetSection::removeText(int duration) {
}
void CPetSection::removeText() {
- CPetText *text = getText();
+ CTextControl *text = getText();
if (text)
text->setup();
}