aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-07-19 02:44:19 +0200
committerThierry Crozat2018-01-23 00:00:11 +0000
commitaa22029ffe4fc13470fb9068b5ac2d24410a1d6a (patch)
tree6fba8a00e804e89465050035b95ba49abd115955
parent36263aaa0bc3d2452f77264863d2f95dc26e806c (diff)
downloadscummvm-rg350-aa22029ffe4fc13470fb9068b5ac2d24410a1d6a.tar.gz
scummvm-rg350-aa22029ffe4fc13470fb9068b5ac2d24410a1d6a.tar.bz2
scummvm-rg350-aa22029ffe4fc13470fb9068b5ac2d24410a1d6a.zip
SUPERNOVA: Removes isVisible flag from GuiElement
-rw-r--r--engines/supernova/state.cpp1
-rw-r--r--engines/supernova/state.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 0b4b78fddd..f82d96118f 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -72,7 +72,6 @@ Object *Inventory::get(ObjectID id) const {
GuiElement::GuiElement()
: _text("")
, _isHighlighted(false)
- , _isVisible(true)
, _bgColorNormal(kColorWhite25)
, _bgColorHighlighted(kColorWhite44)
, _bgColor(kColorWhite25)
diff --git a/engines/supernova/state.h b/engines/supernova/state.h
index 14155d580f..92c9a216c0 100644
--- a/engines/supernova/state.h
+++ b/engines/supernova/state.h
@@ -83,10 +83,6 @@ public:
void setColor(int bgColor, int textColor, int bgColorHighlighted, int textColorHightlighted);
void setHighlight(bool isHighlighted);
-// virtual void onMouseOver() {}
-// virtual void onMouseOut() {}
-// virtual void onMouseClick() {}
-
Common::Point _textPosition;
char _text[128];
int _bgColor;
@@ -96,7 +92,6 @@ public:
int _textColorNormal;
int _textColorHighlighted;
bool _isHighlighted;
- bool _isVisible;
};
class GameManager {