mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
generated ui nodes indexing
This commit is contained in:
parent
e57b0eca15
commit
1a4c70d21a
6 changed files with 50 additions and 58 deletions
|
|
@ -42,12 +42,11 @@ public:
|
|||
|
||||
const std::string& getId() const;
|
||||
const uinodes_map& getMap() const;
|
||||
uinodes_map& getMapWriteable();
|
||||
const std::shared_ptr<gui::UINode> getRoot() const;
|
||||
const std::shared_ptr<gui::UINode> get(const std::string& id) const;
|
||||
const uidocscript& getScript() const;
|
||||
int getEnvironment() const;
|
||||
// @brief Collect map of all uinodes having identifiers
|
||||
static void buildIndices(uinodes_map& map, std::shared_ptr<gui::UINode> node);
|
||||
|
||||
static std::unique_ptr<UiDocument> read(int env, std::string name, fs::path file);
|
||||
static std::shared_ptr<gui::UINode> readElement(fs::path file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue