mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add standard 'hud.*' elements ids
This commit is contained in:
parent
78de9c39d8
commit
dd027e38fe
2 changed files with 4 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ std::shared_ptr<UINode> create_debug_panel(
|
|||
Player* player
|
||||
) {
|
||||
auto panel = std::make_shared<Panel>(glm::vec2(250, 200), glm::vec4(5.0f), 2.0f);
|
||||
panel->setId("hud.debug-panel");
|
||||
panel->setPos(glm::vec2(10, 10));
|
||||
|
||||
static int fps = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue