mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Ref T709, smaller style changes
This commit is contained in:
committed by
Mat Sutcliffe
parent
26afc5160d
commit
0b728053f0
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user