Ref T709, smaller style changes

This commit is contained in:
Klaus Basan
2019-08-12 00:41:19 +02:00
committed by Mat Sutcliffe
parent 26afc5160d
commit 0b728053f0
3 changed files with 13 additions and 14 deletions

View File

@@ -17,7 +17,6 @@
namespace XSwiftBus namespace XSwiftBus
{ {
void CMessageBox::draw() void CMessageBox::draw()
{ {
const int messageCount = static_cast<int>(m_messages.size()); const int messageCount = static_cast<int>(m_messages.size());
@@ -139,7 +138,6 @@ namespace XSwiftBus
m_messageBox.setMessages(end - lines, end); m_messageBox.setMessages(end - lines, end);
m_messageBox.enableArrows(m_position > lines, m_position < m_messages.size()); m_messageBox.enableArrows(m_position > lines, m_position < m_messages.size());
} }
} }
//! \endcond //! \endcond

View File

@@ -21,7 +21,6 @@
namespace XSwiftBus namespace XSwiftBus
{ {
/*! /*!
* Class representing a single line of text to be drawn in a message box. * Class representing a single line of text to be drawn in a message box.
*/ */
@@ -78,6 +77,9 @@ namespace XSwiftBus
int m_boxLeft = 0; int m_boxLeft = 0;
int m_boxRight = 0; int m_boxRight = 0;
int m_boxTop = 0; int m_boxTop = 0;
int m_boxBottom = 0;
int m_lines = 10;
int m_durationMs = 2500;
// Screen // Screen
DataRef<xplane::data::sim::graphics::view::window_width> m_screenWidth; DataRef<xplane::data::sim::graphics::view::window_width> m_screenWidth;
@@ -131,7 +133,6 @@ namespace XSwiftBus
CCommand m_scrollToBottomCommand; CCommand m_scrollToBottomCommand;
CCommand m_debugCommand; CCommand m_debugCommand;
}; };
} //ns
}
#endif #endif