Add ImGuiIdIssuer class for child id

This commit is contained in:
scawful
2023-11-24 13:27:59 -05:00
parent 5f3ca25c80
commit 8448697c4d
2 changed files with 36 additions and 0 deletions

View File

@@ -1,6 +1,12 @@
#include "common.h"
#include <imgui/imgui.h>
#include <chrono>
#include <cstdint>
#include <functional>
#include <memory>
#include <stack>
#include <string>
namespace yaze {
@@ -139,6 +145,9 @@ uint16_t ldle16b_i(uint8_t const *const p_arr, size_t const p_index) {
return ldle16b(p_arr + (2 * p_index));
}
// Initialize the static member
std::stack<ImGuiID> ImGuiIdIssuer::idStack;
} // namespace core
} // namespace app
} // namespace yaze