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_CORE_CFWL_THEMETEXT_H_ |
8 #define XFA_FWL_CORE_CFWL_THEMETEXT_H_ | 8 #define XFA_FWL_CORE_CFWL_THEMETEXT_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
12 #include "xfa/fwl/core/cfwl_themepart.h" | 12 #include "xfa/fwl/core/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(NULL) {} | 16 CFWL_ThemeText() : m_pGraphics(NULL) {} |
17 CFX_WideString m_wsText; | 17 CFX_WideString m_wsText; |
18 FX_DWORD m_dwTTOStyles; | 18 uint32_t m_dwTTOStyles; |
19 int32_t m_iTTOAlign; | 19 int32_t m_iTTOAlign; |
20 CFX_Graphics* m_pGraphics; | 20 CFX_Graphics* m_pGraphics; |
21 }; | 21 }; |
22 | 22 |
23 #endif // XFA_FWL_CORE_CFWL_THEMETEXT_H_ | 23 #endif // XFA_FWL_CORE_CFWL_THEMETEXT_H_ |
OLD | NEW |