1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 11:15:18 +02:00

Factorize more guiEditBoxes code (#10789)

* Factorize more guiEditBoxes code
This commit is contained in:
Loïc Blot
2021-01-13 09:05:09 +01:00
committed by GitHub
parent 1946835ee8
commit 4b01282821
6 changed files with 104 additions and 182 deletions

View File

@@ -49,8 +49,6 @@ protected:
virtual void breakText();
//! sets the area of the given line
virtual void setTextRect(s32 line);
//! adds a letter to the edit box
virtual void inputChar(wchar_t c);
//! calculates the current scroll position
void calculateScrollPos();
//! calculated the FrameRect