mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-26 01:11:25 +00:00
refactor: unglob std::wstring
This commit is contained in:
@@ -12,7 +12,7 @@ private:
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
wstring value;
|
||||
std::wstring value;
|
||||
unsigned int maxLength;
|
||||
int frame;
|
||||
|
||||
@@ -23,9 +23,9 @@ private:
|
||||
Screen *screen;
|
||||
|
||||
public:
|
||||
EditBox(Screen *screen, Font *font, int x, int y, int width, int height, const wstring& value);
|
||||
void setValue(const wstring& value);
|
||||
wstring getValue();
|
||||
EditBox(Screen *screen, Font *font, int x, int y, int width, int height, const std::wstring& value);
|
||||
void setValue(const std::wstring& value);
|
||||
std::wstring getValue();
|
||||
void tick();
|
||||
void keyPressed(wchar_t ch, int eventKey);
|
||||
void mouseClicked(int mouseX, int mouseY, int buttonNum);
|
||||
|
||||
Reference in New Issue
Block a user