Sdk/Console: Turn console into a widget (WIP)
This commit is contained in:
@@ -22,51 +22,21 @@ namespace Ndk
|
||||
* \return History of the console
|
||||
*/
|
||||
|
||||
inline const EntityHandle& Console::GetHistory() const
|
||||
inline const TextAreaWidget* Console::GetHistory() const
|
||||
{
|
||||
return m_history;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the entity representing the background of the console's history
|
||||
* \return Background history of the console
|
||||
*/
|
||||
|
||||
inline const EntityHandle& Console::GetHistoryBackground() const
|
||||
{
|
||||
return m_historyBackground;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the entity representing the input of the console
|
||||
* \return Input of the console
|
||||
*/
|
||||
|
||||
inline const EntityHandle& Console::GetInput() const
|
||||
inline const TextAreaWidget* Console::GetInput() const
|
||||
{
|
||||
return m_input;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the entity representing the background of the console's input
|
||||
* \return Background input of the console
|
||||
*/
|
||||
|
||||
inline const EntityHandle& Console::GetInputBackground() const
|
||||
{
|
||||
return m_inputBackground;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the size of the console
|
||||
* \return Size (Width, Height) of the console
|
||||
*/
|
||||
|
||||
inline const Nz::Vector2f& Console::GetSize() const
|
||||
{
|
||||
return m_size;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the font used by the console
|
||||
* \return A reference to the font currenty used
|
||||
@@ -76,14 +46,4 @@ namespace Ndk
|
||||
{
|
||||
return m_defaultFont;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Checks whether the console is visible
|
||||
* \return true If it is the case
|
||||
*/
|
||||
|
||||
inline bool Console::IsVisible() const
|
||||
{
|
||||
return m_opened;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user