diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp b/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp index 2727e7cf..765a0e0b 100644 --- a/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp +++ b/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp @@ -110,7 +110,7 @@ void dLytMsgWindowWood_c::initializeState_Invisible() { mCommon.resetToInvisble(); } void dLytMsgWindowWood_c::executeState_Invisible() { - if (mCommon.shouldBeOpen()) { + if (mShouldBeOpen) { mStateMgr.changeState(StateID_In); } } @@ -130,7 +130,7 @@ void dLytMsgWindowWood_c::finalizeState_In() {} void dLytMsgWindowWood_c::initializeState_Visible() {} void dLytMsgWindowWood_c::executeState_Visible() { - if (!mCommon.shouldBeOpen()) { + if (!mShouldBeOpen) { mStateMgr.changeState(StateID_Out); } } @@ -166,19 +166,19 @@ void dLytMsgWindowWood_c::draw() { mLyt.draw(); } -void dLytMsgWindowWood_c::vt_0x1C() { - mCommon.openMaybe(); +void dLytMsgWindowWood_c::open() { + mShouldBeOpen = true; } -bool dLytMsgWindowWood_c::vt_0x20() const { +bool dLytMsgWindowWood_c::isOpening() const { return !(*mStateMgr.getStateID() == StateID_In); } -void dLytMsgWindowWood_c::vt_0x24() { - mCommon.closeMaybe(); +void dLytMsgWindowWood_c::close() { + mShouldBeOpen = false; } -bool dLytMsgWindowWood_c::vt_0x28() const { +bool dLytMsgWindowWood_c::isClosing() const { return !(*mStateMgr.getStateID() == StateID_Out); } |
