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 <memory> | 10 #include <memory> |
11 | 11 |
12 #include "xfa/fwl/core/ifwl_themeprovider.h" | 12 #include "xfa/fwl/core/ifwl_themeprovider.h" |
13 #include "xfa/fwl/theme/cfwl_barcodetp.h" | 13 #include "xfa/fwl/theme/cfwl_barcodetp.h" |
14 #include "xfa/fwl/theme/cfwl_carettp.h" | 14 #include "xfa/fwl/theme/cfwl_carettp.h" |
15 #include "xfa/fwl/theme/cfwl_checkboxtp.h" | 15 #include "xfa/fwl/theme/cfwl_checkboxtp.h" |
16 #include "xfa/fwl/theme/cfwl_comboboxtp.h" | 16 #include "xfa/fwl/theme/cfwl_comboboxtp.h" |
17 #include "xfa/fwl/theme/cfwl_datetimepickertp.h" | 17 #include "xfa/fwl/theme/cfwl_datetimepickertp.h" |
18 #include "xfa/fwl/theme/cfwl_edittp.h" | 18 #include "xfa/fwl/theme/cfwl_edittp.h" |
19 #include "xfa/fwl/theme/cfwl_listboxtp.h" | 19 #include "xfa/fwl/theme/cfwl_listboxtp.h" |
20 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" | 20 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" |
21 #include "xfa/fwl/theme/cfwl_pictureboxtp.h" | 21 #include "xfa/fwl/theme/cfwl_pictureboxtp.h" |
22 #include "xfa/fwl/theme/cfwl_pushbuttontp.h" | 22 #include "xfa/fwl/theme/cfwl_pushbuttontp.h" |
23 #include "xfa/fwl/theme/cfwl_scrollbartp.h" | 23 #include "xfa/fwl/theme/cfwl_scrollbartp.h" |
24 #include "xfa/fwl/theme/cfwl_widgettp.h" | 24 #include "xfa/fwl/theme/cfwl_widgettp.h" |
25 #include "xfa/fxfa/include/xfa_ffapp.h" | 25 #include "xfa/fxfa/xfa_ffapp.h" |
26 | 26 |
27 class CXFA_FWLTheme final : public IFWL_ThemeProvider { | 27 class CXFA_FWLTheme final : public IFWL_ThemeProvider { |
28 public: | 28 public: |
29 CXFA_FWLTheme(CXFA_FFApp* pApp); | 29 CXFA_FWLTheme(CXFA_FFApp* pApp); |
30 ~CXFA_FWLTheme() override; | 30 ~CXFA_FWLTheme() override; |
31 | 31 |
32 // IFWL_ThemeProvider: | 32 // IFWL_ThemeProvider: |
33 bool IsValidWidget(IFWL_Widget* pWidget) override; | 33 bool IsValidWidget(IFWL_Widget* pWidget) override; |
34 uint32_t GetThemeID(IFWL_Widget* pWidget) override; | 34 uint32_t GetThemeID(IFWL_Widget* pWidget) override; |
35 uint32_t SetThemeID(IFWL_Widget* pWidget, | 35 uint32_t SetThemeID(IFWL_Widget* pWidget, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 class CXFA_FWLEditTP : public CFWL_EditTP { | 98 class CXFA_FWLEditTP : public CFWL_EditTP { |
99 public: | 99 public: |
100 CXFA_FWLEditTP(); | 100 CXFA_FWLEditTP(); |
101 ~CXFA_FWLEditTP() override; | 101 ~CXFA_FWLEditTP() override; |
102 | 102 |
103 // CFWL_EditTP | 103 // CFWL_EditTP |
104 FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams) override; | 104 FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams) override; |
105 }; | 105 }; |
106 | 106 |
107 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ | 107 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ |
OLD | NEW |