mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Remove unused (de)serializeAttributes() methods
This commit is contained in:
parent
9b650b9efb
commit
05573d6d8d
10 changed files with 0 additions and 274 deletions
|
@ -652,26 +652,6 @@ void GUIEditBoxWithScrollBar::setBackgroundColor(const video::SColor &bg_color)
|
|||
m_bg_color_used = true;
|
||||
}
|
||||
|
||||
//! Writes attributes of the element.
|
||||
void GUIEditBoxWithScrollBar::serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options = 0) const
|
||||
{
|
||||
out->addBool("Border", m_border);
|
||||
out->addBool("Background", m_background);
|
||||
// out->addFont("OverrideFont", OverrideFont);
|
||||
|
||||
GUIEditBox::serializeAttributes(out, options);
|
||||
}
|
||||
|
||||
|
||||
//! Reads attributes of the element
|
||||
void GUIEditBoxWithScrollBar::deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options = 0)
|
||||
{
|
||||
GUIEditBox::deserializeAttributes(in, options);
|
||||
|
||||
setDrawBorder(in->getAttributeAsBool("Border"));
|
||||
setDrawBackground(in->getAttributeAsBool("Background"));
|
||||
}
|
||||
|
||||
bool GUIEditBoxWithScrollBar::isDrawBackgroundEnabled() const { return false; }
|
||||
bool GUIEditBoxWithScrollBar::isDrawBorderEnabled() const { return false; }
|
||||
void GUIEditBoxWithScrollBar::setCursorChar(const wchar_t cursorChar) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue