| 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_FXFA_APP_XFA_FWLTHEME_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FWLTHEME_H_ |
| 8 #define XFA_FXFA_APP_XFA_FWLTHEME_H_ | 8 #define XFA_FXFA_APP_XFA_FWLTHEME_H_ |
| 9 | 9 |
| 10 #include "xfa/fwl/core/ifwl_target.h" | 10 #include "xfa/fwl/core/ifwl_target.h" |
| 11 #include "xfa/fwl/core/ifwl_themeprovider.h" | 11 #include "xfa/fwl/core/ifwl_themeprovider.h" |
| 12 #include "xfa/fwl/theme/cfwl_barcodetp.h" | 12 #include "xfa/fwl/theme/cfwl_barcodetp.h" |
| 13 #include "xfa/fwl/theme/cfwl_carettp.h" | 13 #include "xfa/fwl/theme/cfwl_carettp.h" |
| 14 #include "xfa/fwl/theme/cfwl_checkboxtp.h" | 14 #include "xfa/fwl/theme/cfwl_checkboxtp.h" |
| 15 #include "xfa/fwl/theme/cfwl_comboboxtp.h" | 15 #include "xfa/fwl/theme/cfwl_comboboxtp.h" |
| 16 #include "xfa/fwl/theme/cfwl_datetimepickertp.h" | 16 #include "xfa/fwl/theme/cfwl_datetimepickertp.h" |
| 17 #include "xfa/fwl/theme/cfwl_edittp.h" | 17 #include "xfa/fwl/theme/cfwl_edittp.h" |
| 18 #include "xfa/fwl/theme/cfwl_listboxtp.h" | 18 #include "xfa/fwl/theme/cfwl_listboxtp.h" |
| 19 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" | 19 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" |
| 20 #include "xfa/fwl/theme/cfwl_pictureboxtp.h" | 20 #include "xfa/fwl/theme/cfwl_pictureboxtp.h" |
| 21 #include "xfa/fwl/theme/cfwl_pushbuttontp.h" | 21 #include "xfa/fwl/theme/cfwl_pushbuttontp.h" |
| 22 #include "xfa/fwl/theme/cfwl_scrollbartp.h" | 22 #include "xfa/fwl/theme/cfwl_scrollbartp.h" |
| 23 #include "xfa/fwl/theme/cfwl_widgettp.h" | 23 #include "xfa/fwl/theme/cfwl_widgettp.h" |
| 24 #include "xfa/fxfa/app/xfa_ffapp.h" | 24 #include "xfa/include/fxfa/xfa_ffapp.h" |
| 25 | 25 |
| 26 class CXFA_FWLTheme : public IFWL_ThemeProvider { | 26 class CXFA_FWLTheme : public IFWL_ThemeProvider { |
| 27 public: | 27 public: |
| 28 CXFA_FWLTheme(CXFA_FFApp* pApp); | 28 CXFA_FWLTheme(CXFA_FFApp* pApp); |
| 29 virtual ~CXFA_FWLTheme(); | 29 virtual ~CXFA_FWLTheme(); |
| 30 virtual FWL_ERR Release() { | 30 virtual FWL_ERR Release() { |
| 31 delete this; | 31 delete this; |
| 32 return FWL_ERR_Succeeded; | 32 return FWL_ERR_Succeeded; |
| 33 } | 33 } |
| 34 virtual IFWL_Target* Retain() { return NULL; } | 34 virtual IFWL_Target* Retain() { return NULL; } |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 class CXFA_FWLEditTP : public CFWL_EditTP { | 101 class CXFA_FWLEditTP : public CFWL_EditTP { |
| 102 public: | 102 public: |
| 103 CXFA_FWLEditTP(); | 103 CXFA_FWLEditTP(); |
| 104 virtual ~CXFA_FWLEditTP(); | 104 virtual ~CXFA_FWLEditTP(); |
| 105 | 105 |
| 106 public: | 106 public: |
| 107 virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams); | 107 virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams); |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ | 110 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ |
| OLD | NEW |