mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-05 18:35:06 +00:00
refactor: nuke all widestrings and widechars everywhere
This commit is contained in:
@@ -3,19 +3,19 @@
|
||||
#include "minecraft/client/Options.h"
|
||||
#include "minecraft/client/gui/Button.h"
|
||||
|
||||
SmallButton::SmallButton(int id, int x, int y, const std::wstring& msg)
|
||||
SmallButton::SmallButton(int id, int x, int y, const std::string& msg)
|
||||
: Button(id, x, y, 150, 20, msg) {
|
||||
this->option = nullptr;
|
||||
}
|
||||
|
||||
SmallButton::SmallButton(int id, int x, int y, int width, int height,
|
||||
const std::wstring& msg)
|
||||
const std::string& msg)
|
||||
: Button(id, x, y, width, height, msg) {
|
||||
this->option = nullptr;
|
||||
}
|
||||
|
||||
SmallButton::SmallButton(int id, int x, int y, const Options::Option* item,
|
||||
const std::wstring& msg)
|
||||
const std::string& msg)
|
||||
: Button(id, x, y, 150, 20, msg) {
|
||||
this->option = item;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user