rename ui

This commit is contained in:
2026-02-14 14:31:10 +01:00
parent 0df9d67dbb
commit ce9c88ad04
35 changed files with 157 additions and 71 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#include "UI.hpp"
#include "ui.hpp"
#include "gtest/gtest.h"
#include <iostream>
#define UNUSED(x) (void)(x)
#define UNUSED(x) (void)(x)
+1 -1
View File
@@ -4,7 +4,7 @@ TEST(UI_label, to_from_json)
{
UI_label label("label_text", Color(0, 0, 0), Color(255, 255, 255));
json j = label.to_json(0);
EXPECT_EQ(j["type"], "UI_label");
EXPECT_EQ(j["type"], "ui_label");
EXPECT_EQ(j["id"], 0);
EXPECT_EQ(j["text"], "label_text");
EXPECT_EQ(j["text_size"], 12);