mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Android build fixes for c++11
This commit is contained in:
parent
69247ca223
commit
22a891a925
15 changed files with 139 additions and 53 deletions
|
@ -1522,3 +1522,10 @@ void GUIEditBoxWithScrollBar::deserializeAttributes(io::IAttributes* in, io::SAt
|
|||
// setOverrideFont(in->getAttributeAsFont("OverrideFont"));
|
||||
setWritable(in->getAttributeAsBool("Writable"));
|
||||
}
|
||||
|
||||
bool GUIEditBoxWithScrollBar::isDrawBackgroundEnabled() const { return false; }
|
||||
bool GUIEditBoxWithScrollBar::isDrawBorderEnabled() const { return false; }
|
||||
void GUIEditBoxWithScrollBar::setCursorChar(const wchar_t cursorChar) { }
|
||||
wchar_t GUIEditBoxWithScrollBar::getCursorChar() const { return '|'; }
|
||||
void GUIEditBoxWithScrollBar::setCursorBlinkTime(irr::u32 timeMs) { }
|
||||
irr::u32 GUIEditBoxWithScrollBar::getCursorBlinkTime() const { return 500; }
|
||||
|
|
|
@ -128,6 +128,13 @@ public:
|
|||
//! Reads attributes of the element
|
||||
virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options);
|
||||
|
||||
virtual bool isDrawBackgroundEnabled() const;
|
||||
virtual bool isDrawBorderEnabled() const;
|
||||
virtual void setCursorChar(const wchar_t cursorChar);
|
||||
virtual wchar_t getCursorChar() const;
|
||||
virtual void setCursorBlinkTime(irr::u32 timeMs);
|
||||
virtual irr::u32 getCursorBlinkTime() const;
|
||||
|
||||
protected:
|
||||
//! Breaks the single text line.
|
||||
void breakText();
|
||||
|
|
|
@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <IEventReceiver.h>
|
||||
#include <IGUIButton.h>
|
||||
#include <IGUIEnvironment.h>
|
||||
#include <IrrlichtDevice.h>
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue