aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-09-15 19:23:45 +0800
committercrupest <crupest@outlook.com>2021-09-15 19:23:45 +0800
commite6dd695fc757b59571f67a278e4d88ad54cd36ae (patch)
tree0b95ec353d34ecbf82adb717f786bdbd07d9abda /src/ui
parentcb981f5a337f3a8fc9d450b891c358c2b8dc29d3 (diff)
downloadcru-e6dd695fc757b59571f67a278e4d88ad54cd36ae.tar.gz
cru-e6dd695fc757b59571f67a278e4d88ad54cd36ae.tar.bz2
cru-e6dd695fc757b59571f67a278e4d88ad54cd36ae.zip
...
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/Helper.cpp4
-rw-r--r--src/ui/Helper.hpp2
-rw-r--r--src/ui/UiManager.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/Helper.cpp b/src/ui/Helper.cpp
index 88ead993..90b384c4 100644
--- a/src/ui/Helper.cpp
+++ b/src/ui/Helper.cpp
@@ -4,10 +4,10 @@
#include "cru/platform/gui/UiApplication.hpp"
namespace cru::ui {
-using cru::platform::graphics::IGraphFactory;
+using cru::platform::graphics::IGraphicsFactory;
using cru::platform::gui::IUiApplication;
-IGraphFactory* GetGraphFactory() {
+IGraphicsFactory* GetGraphFactory() {
return IUiApplication::GetInstance()->GetGraphFactory();
}
diff --git a/src/ui/Helper.hpp b/src/ui/Helper.hpp
index 327f91ff..cf1140dc 100644
--- a/src/ui/Helper.hpp
+++ b/src/ui/Helper.hpp
@@ -12,6 +12,6 @@ struct IUiApplication;
} // namespace cru::platform
namespace cru::ui {
-cru::platform::graphics::IGraphFactory* GetGraphFactory();
+cru::platform::graphics::IGraphicsFactory* GetGraphFactory();
cru::platform::gui::IUiApplication* GetUiApplication();
} // namespace cru::ui
diff --git a/src/ui/UiManager.cpp b/src/ui/UiManager.cpp
index b0cc769a..85ca552c 100644
--- a/src/ui/UiManager.cpp
+++ b/src/ui/UiManager.cpp
@@ -20,7 +20,7 @@ using namespace cru::ui::style;
using namespace cru::ui::helper;
namespace {
-std::unique_ptr<ISolidColorBrush> CreateSolidColorBrush(IGraphFactory* factory,
+std::unique_ptr<ISolidColorBrush> CreateSolidColorBrush(IGraphicsFactory* factory,
const Color& color) {
auto brush = factory->CreateSolidColorBrush();
brush->SetColor(color);