summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--editor/tests-private.hpp2
-rw-r--r--editor/tests.cpp9
2 files changed, 0 insertions, 11 deletions
diff --git a/editor/tests-private.hpp b/editor/tests-private.hpp
index 15c6abaf..c4acc80d 100644
--- a/editor/tests-private.hpp
+++ b/editor/tests-private.hpp
@@ -30,8 +30,6 @@ protected:
base_test();
};
-void label_left(StringView label, float width);
-
enum class Test : uint32_t {
none, path, raycast, COUNT,
};
diff --git a/editor/tests.cpp b/editor/tests.cpp
index 58402ac0..2d9215a5 100644
--- a/editor/tests.cpp
+++ b/editor/tests.cpp
@@ -11,15 +11,6 @@ namespace floormat::tests {
static_assert(arraySize(tests_data::fields) == (size_t)Test::COUNT);
-void label_left(StringView label, float width) // copy-pasted from inspect.cpp
-{
- float x = ImGui::GetCursorPosX();
- ImGui::TextEx(label.data(), label.data() + label.size());
- ImGui::SameLine();
- ImGui::SetCursorPosX(x + width + ImGui::GetStyle().ItemInnerSpacing.x);
- ImGui::SetNextItemWidth(-1);
-}
-
Pointer<base_test> tests_data::make_test_none() { return {}; }
} // namespace floormat::tests