summaryrefslogtreecommitdiffhomepage
path: root/editor/tests.cpp
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/tests.cpp
parentd2966deaf90e47b0bfb954ef588a015653c20d26 (diff)
b
Diffstat (limited to 'editor/tests.cpp')
-rw-r--r--editor/tests.cpp9
1 files changed, 0 insertions, 9 deletions
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