mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-23 01:16:49 +00:00
refactor: unglob std::wstring
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
#include "Button.h"
|
||||
#include "../Textures/Textures.h"
|
||||
|
||||
Button::Button(int id, int x, int y, const wstring& msg)
|
||||
Button::Button(int id, int x, int y, const std::wstring& msg)
|
||||
{
|
||||
init(id, x, y, 200, 20, msg);
|
||||
}
|
||||
|
||||
Button::Button(int id, int x, int y, int w, int h, const wstring& msg)
|
||||
Button::Button(int id, int x, int y, int w, int h, const std::wstring& msg)
|
||||
{
|
||||
init(id, x, y, w, h, msg);
|
||||
}
|
||||
|
||||
// 4J - added
|
||||
void Button::init(int id, int x, int y, int w, int h, const wstring& msg)
|
||||
void Button::init(int id, int x, int y, int w, int h, const std::wstring& msg)
|
||||
{
|
||||
active = true;
|
||||
visible = true;
|
||||
|
||||
Reference in New Issue
Block a user