OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FWL_CORE_CFWL_THEMETEXT_H_ | 7 #ifndef XFA_FWL_CFWL_THEMETEXT_H_ |
8 #define XFA_FWL_CORE_CFWL_THEMETEXT_H_ | 8 #define XFA_FWL_CFWL_THEMETEXT_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_string.h" | 10 #include "core/fxcrt/fx_string.h" |
11 #include "core/fxcrt/fx_system.h" | 11 #include "core/fxcrt/fx_system.h" |
12 #include "xfa/fwl/core/cfwl_themepart.h" | 12 #include "xfa/fwl/cfwl_themepart.h" |
13 | 13 |
14 class CFWL_ThemeText : public CFWL_ThemePart { | 14 class CFWL_ThemeText : public CFWL_ThemePart { |
15 public: | 15 public: |
16 CFWL_ThemeText() : m_pGraphics(nullptr) {} | 16 CFWL_ThemeText() : m_pGraphics(nullptr) {} |
17 | 17 |
18 CFX_WideString m_wsText; | 18 CFX_WideString m_wsText; |
19 uint32_t m_dwTTOStyles; | 19 uint32_t m_dwTTOStyles; |
20 int32_t m_iTTOAlign; | 20 int32_t m_iTTOAlign; |
21 CFX_Graphics* m_pGraphics; | 21 CFX_Graphics* m_pGraphics; |
22 }; | 22 }; |
23 | 23 |
24 #endif // XFA_FWL_CORE_CFWL_THEMETEXT_H_ | 24 #endif // XFA_FWL_CFWL_THEMETEXT_H_ |
OLD | NEW |