aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/text_block.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-25 13:37:33 +0800
committercrupest <crupest@outlook.com>2018-09-25 13:37:33 +0800
commitccbc293c0158d4450c0db344474193f17925403f (patch)
tree1ecde3132b3299ab2f272f541a76bced67f983b1 /src/ui/controls/text_block.cpp
parent184c3b2b39d3fa34f9349a7d7fbebe49bc62f7fc (diff)
parentea4b0966d8eb5a8e76dfbe4d833a07a4797a3284 (diff)
downloadcru-ccbc293c0158d4450c0db344474193f17925403f.tar.gz
cru-ccbc293c0158d4450c0db344474193f17925403f.tar.bz2
cru-ccbc293c0158d4450c0db344474193f17925403f.zip
Merge branch 'master' into issue4-dev
Diffstat (limited to 'src/ui/controls/text_block.cpp')
-rw-r--r--src/ui/controls/text_block.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ui/controls/text_block.cpp b/src/ui/controls/text_block.cpp
new file mode 100644
index 00000000..30ffbef9
--- /dev/null
+++ b/src/ui/controls/text_block.cpp
@@ -0,0 +1,20 @@
+#include "text_block.h"
+
+#include "ui/window.h"
+#include "graph/graph.h"
+#include "exception.h"
+
+namespace cru
+{
+ namespace ui
+ {
+ namespace controls
+ {
+ TextBlock::TextBlock(const Microsoft::WRL::ComPtr<IDWriteTextFormat>& init_text_format,
+ const Microsoft::WRL::ComPtr<ID2D1Brush>& init_brush) : TextControl(init_text_format, init_brush)
+ {
+
+ }
+ }
+ }
+}