diff options
-rw-r--r-- | include/cru/platform/Color.h | 5 | ||||
-rw-r--r-- | include/cru/platform/graphics/web_canvas/WebCanvasBrush.h | 9 | ||||
-rw-r--r-- | src/platform/graphics/web_canvas/Brush.cpp | 0 | ||||
-rw-r--r-- | src/platform/graphics/web_canvas/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/CMakeLists.txt | 2 |
5 files changed, 13 insertions, 4 deletions
diff --git a/include/cru/platform/Color.h b/include/cru/platform/Color.h index 2e8c0ebe..2b38138a 100644 --- a/include/cru/platform/Color.h +++ b/include/cru/platform/Color.h @@ -1,13 +1,12 @@ #pragma once -#include "cru/common/Base.h" -#include "cru/platform/Base.h" +#include "Base.h" +#include "cru/common/Base.h" #include "cru/common/Format.h" #include "cru/common/String.h" #include <cstdint> #include <optional> -#include <string_view> #include <unordered_map> namespace cru::platform { diff --git a/include/cru/platform/graphics/web_canvas/WebCanvasBrush.h b/include/cru/platform/graphics/web_canvas/WebCanvasBrush.h new file mode 100644 index 00000000..f70c5ecc --- /dev/null +++ b/include/cru/platform/graphics/web_canvas/WebCanvasBrush.h @@ -0,0 +1,9 @@ +#pragma once +#include "../Brush.h" +#include "WebCanvasResource.h" + +namespace cru::platform::graphics::web_canvas { +class WebCanvasBrush : public WebCanvasResource, public virtual IBrush { + +}; +} diff --git a/src/platform/graphics/web_canvas/Brush.cpp b/src/platform/graphics/web_canvas/Brush.cpp new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/src/platform/graphics/web_canvas/Brush.cpp diff --git a/src/platform/graphics/web_canvas/CMakeLists.txt b/src/platform/graphics/web_canvas/CMakeLists.txt index 0227adb7..1776c1fe 100644 --- a/src/platform/graphics/web_canvas/CMakeLists.txt +++ b/src/platform/graphics/web_canvas/CMakeLists.txt @@ -1,4 +1,5 @@ add_library(CruPlatformGraphicsWebCanvas + Brush.cpp Factory.cpp Resource.cpp ) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 10ab323e..e4c7b79b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -9,7 +9,7 @@ endif() function(cru_catch_discover_tests target) if (EMSCRIPTEN) - message("Emscripten, not do catch_discover_tests for " target) + message("Emscripten, not do catch_discover_tests for " ${target}) else() catch_discover_tests(target) endif() |