OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_THEME_IMP_H | 7 #ifndef XFA_SRC_FXFA_SRC_APP_XFA_FWLTHEME_H_ |
8 #define _XFA_FWL_THEME_IMP_H | 8 #define XFA_SRC_FXFA_SRC_APP_XFA_FWLTHEME_H_ |
| 9 |
9 class CXFA_FWLTheme : public IFWL_ThemeProvider { | 10 class CXFA_FWLTheme : public IFWL_ThemeProvider { |
10 public: | 11 public: |
11 CXFA_FWLTheme(CXFA_FFApp* pApp); | 12 CXFA_FWLTheme(CXFA_FFApp* pApp); |
12 virtual ~CXFA_FWLTheme(); | 13 virtual ~CXFA_FWLTheme(); |
13 virtual FWL_ERR Release() { | 14 virtual FWL_ERR Release() { |
14 delete this; | 15 delete this; |
15 return FWL_ERR_Succeeded; | 16 return FWL_ERR_Succeeded; |
16 } | 17 } |
17 virtual IFWL_Target* Retain() { return NULL; } | 18 virtual IFWL_Target* Retain() { return NULL; } |
18 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const { | 19 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 CFX_Matrix* pMatrix); | 83 CFX_Matrix* pMatrix); |
83 }; | 84 }; |
84 class CXFA_FWLEditTP : public CFWL_EditTP { | 85 class CXFA_FWLEditTP : public CFWL_EditTP { |
85 public: | 86 public: |
86 CXFA_FWLEditTP(); | 87 CXFA_FWLEditTP(); |
87 virtual ~CXFA_FWLEditTP(); | 88 virtual ~CXFA_FWLEditTP(); |
88 | 89 |
89 public: | 90 public: |
90 virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams); | 91 virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams); |
91 }; | 92 }; |
92 #endif | 93 |
| 94 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FWLTHEME_H_ |
OLD | NEW |