Prechádzať zdrojové kódy

testbed: quick check for storage window

skypjack 10 mesiacov pred
rodič
commit
a9852a2d2f
1 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 5 1
      testbed/system/imgui_system.cpp

+ 5 - 1
testbed/system/imgui_system.cpp

@@ -6,9 +6,13 @@
 namespace testbed {
 
 void imgui_system(const entt::registry &registry) {
-    ImGui::Begin("Davey");
+    ImGui::Begin("Davey - registry");
     entt::davey(registry);
     ImGui::End();
+
+    ImGui::Begin("Davey - storage");
+    entt::davey(*registry.storage<int>());
+    ImGui::End();
 }
 
 } // namespace testbed