summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-03 18:46:50 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-03 18:46:50 +0100
commitf9ada1a260aa978261512573c73f00987a4f875b (patch)
tree3f8350c843a1e2481bf5dacdf84a04b3ab385ae3 /editor
parentd2966deaf90e47b0bfb954ef588a015653c20d26 (diff)
b
Diffstat (limited to 'editor')
-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