aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_inventory.h
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_inventory.h
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_inventory.h')
-rw-r--r--engines/titanic/pet_control/pet_inventory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_inventory.h b/engines/titanic/pet_control/pet_inventory.h
index 7710ee0799..7efc0755d8 100644
--- a/engines/titanic/pet_control/pet_inventory.h
+++ b/engines/titanic/pet_control/pet_inventory.h
@@ -26,7 +26,7 @@
#include "titanic/support/simple_file.h"
#include "titanic/pet_control/pet_section.h"
#include "titanic/pet_control/pet_inventory_glyphs.h"
-#include "titanic/pet_control/pet_text.h"
+#include "titanic/gfx/text_control.h"
namespace Titanic {
@@ -35,7 +35,7 @@ namespace Titanic {
*/
class CPetInventory : public CPetSection {
private:
- CPetText _text;
+ CTextControl _text;
CPetInventoryGlyphs _items;
CGameObject *_itemBackgrounds[46];
CGameObject *_itemGlyphs[46];
@@ -134,7 +134,7 @@ public:
/**
* Get a reference to the tooltip text associated with the section
*/
- virtual CPetText *getText() { return &_text; }
+ virtual CTextControl *getText() { return &_text; }
/**
* Special retrieval of glyph background image