aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graph/font.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-06-27 00:18:48 +0800
committercrupest <crupest@outlook.com>2019-06-27 00:18:48 +0800
commitbaa7cf141b8121473edceae16c1a20a6d47bd202 (patch)
tree9349633a9d0bc286fe29f480bd70e4c2ad1f3075 /include/cru/platform/graph/font.hpp
parentf404a3b2eb7bb9865d0c6f938538899996a53d8c (diff)
downloadcru-baa7cf141b8121473edceae16c1a20a6d47bd202.tar.gz
cru-baa7cf141b8121473edceae16c1a20a6d47bd202.tar.bz2
cru-baa7cf141b8121473edceae16c1a20a6d47bd202.zip
......
Diffstat (limited to 'include/cru/platform/graph/font.hpp')
-rw-r--r--include/cru/platform/graph/font.hpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/include/cru/platform/graph/font.hpp b/include/cru/platform/graph/font.hpp
index f74dc7db..bd470256 100644
--- a/include/cru/platform/graph/font.hpp
+++ b/include/cru/platform/graph/font.hpp
@@ -1,8 +1,18 @@
#pragma once
-#include "cru/common/base.hpp"
+#include "../native_resource.hpp"
namespace cru::platform::graph {
-struct IFontDescriptor : virtual Interface {
+class Font : public NativeResource {
+ protected:
+ Font() = default;
+ public:
+ Font(const Font& other) = delete;
+ Font& operator=(const Font& other) = delete;
+
+ Font(Font&& other) = delete;
+ Font& operator=(Font&& other) = delete;
+
+ ~Font() override = default;
};
-}
+} // namespace cru::platform::graph