mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
ui scripting related fixes
This commit is contained in:
parent
7f17face73
commit
302b649634
8 changed files with 21 additions and 9 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include "../window/Window.h"
|
||||
#include "../engine.h"
|
||||
#include "../settings.h"
|
||||
#include "../delegates.h"
|
||||
#include "../content/Content.h"
|
||||
#include "../content/ContentLUT.h"
|
||||
#include "../content/ContentPack.h"
|
||||
|
|
@ -46,7 +47,7 @@ inline uint64_t randU64() {
|
|||
((uint64_t)rand() << 56);
|
||||
}
|
||||
|
||||
static std::shared_ptr<Label> create_label(gui::wstringsupplier supplier) {
|
||||
static std::shared_ptr<Label> create_label(wstringsupplier supplier) {
|
||||
auto label = std::make_shared<Label>(L"-");
|
||||
label->textSupplier(supplier);
|
||||
return label;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue