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_THEMEBACKGROUND_H_ | 7 #ifndef XFA_FWL_CFWL_THEMEBACKGROUND_H_ |
8 #define XFA_FWL_CORE_CFWL_THEMEBACKGROUND_H_ | 8 #define XFA_FWL_CFWL_THEMEBACKGROUND_H_ |
9 | 9 |
10 #include "core/fxge/fx_dib.h" | 10 #include "core/fxge/fx_dib.h" |
11 #include "xfa/fwl/core/cfwl_themepart.h" | 11 #include "xfa/fwl/cfwl_themepart.h" |
12 | 12 |
13 class CFX_DIBitmpa; | 13 class CFX_DIBitmpa; |
14 class CFX_Graphics; | 14 class CFX_Graphics; |
15 class CFX_Path; | 15 class CFX_Path; |
16 | 16 |
17 class CFWL_ThemeBackground : public CFWL_ThemePart { | 17 class CFWL_ThemeBackground : public CFWL_ThemePart { |
18 public: | 18 public: |
19 CFWL_ThemeBackground() | 19 CFWL_ThemeBackground() |
20 : m_pGraphics(nullptr), m_pImage(nullptr), m_pPath(nullptr) {} | 20 : m_pGraphics(nullptr), m_pImage(nullptr), m_pPath(nullptr) {} |
21 | 21 |
22 CFX_Graphics* m_pGraphics; | 22 CFX_Graphics* m_pGraphics; |
23 CFX_DIBitmap* m_pImage; | 23 CFX_DIBitmap* m_pImage; |
24 CFX_Path* m_pPath; | 24 CFX_Path* m_pPath; |
25 }; | 25 }; |
26 | 26 |
27 #endif // XFA_FWL_CORE_CFWL_THEMEBACKGROUND_H_ | 27 #endif // XFA_FWL_CFWL_THEMEBACKGROUND_H_ |
OLD | NEW |