|
|
@ -125,6 +125,8 @@ for(auto& [name, cell] : $gui.cells()) { |
|
|
|
$gui.set<Rectangle>(id, {}); |
|
|
|
$gui.set<Rectangle>(id, {}); |
|
|
|
$gui.set<Label>(id, { guecs::to_wstring(name) }); |
|
|
|
$gui.set<Label>(id, { guecs::to_wstring(name) }); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$gui.init(); // must be called when done |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
You'll notice I have `guecs::to_wstring(name)` which uses the forbidden unicode conversion `codecvt` |
|
|
|
You'll notice I have `guecs::to_wstring(name)` which uses the forbidden unicode conversion `codecvt` |
|
|
|