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> |
| 11 |
10 #include "xfa/fwl/core/ifwl_themeprovider.h" | 12 #include "xfa/fwl/core/ifwl_themeprovider.h" |
11 #include "xfa/fwl/theme/cfwl_barcodetp.h" | 13 #include "xfa/fwl/theme/cfwl_barcodetp.h" |
12 #include "xfa/fwl/theme/cfwl_carettp.h" | 14 #include "xfa/fwl/theme/cfwl_carettp.h" |
13 #include "xfa/fwl/theme/cfwl_checkboxtp.h" | 15 #include "xfa/fwl/theme/cfwl_checkboxtp.h" |
14 #include "xfa/fwl/theme/cfwl_comboboxtp.h" | 16 #include "xfa/fwl/theme/cfwl_comboboxtp.h" |
15 #include "xfa/fwl/theme/cfwl_datetimepickertp.h" | 17 #include "xfa/fwl/theme/cfwl_datetimepickertp.h" |
16 #include "xfa/fwl/theme/cfwl_edittp.h" | 18 #include "xfa/fwl/theme/cfwl_edittp.h" |
17 #include "xfa/fwl/theme/cfwl_listboxtp.h" | 19 #include "xfa/fwl/theme/cfwl_listboxtp.h" |
18 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" | 20 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" |
19 #include "xfa/fwl/theme/cfwl_pictureboxtp.h" | 21 #include "xfa/fwl/theme/cfwl_pictureboxtp.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 CFWL_ListBoxTP* m_pListBoxTP; | 72 CFWL_ListBoxTP* m_pListBoxTP; |
71 CFWL_PictureBoxTP* m_pPictureBoxTP; | 73 CFWL_PictureBoxTP* m_pPictureBoxTP; |
72 CFWL_ScrollBarTP* m_pSrollBarTP; | 74 CFWL_ScrollBarTP* m_pSrollBarTP; |
73 CFWL_EditTP* m_pEditTP; | 75 CFWL_EditTP* m_pEditTP; |
74 CFWL_ComboBoxTP* m_pComboBoxTP; | 76 CFWL_ComboBoxTP* m_pComboBoxTP; |
75 CFWL_MonthCalendarTP* m_pMonthCalendarTP; | 77 CFWL_MonthCalendarTP* m_pMonthCalendarTP; |
76 CFWL_DateTimePickerTP* m_pDateTimePickerTP; | 78 CFWL_DateTimePickerTP* m_pDateTimePickerTP; |
77 CFWL_PushButtonTP* m_pPushButtonTP; | 79 CFWL_PushButtonTP* m_pPushButtonTP; |
78 CFWL_CaretTP* m_pCaretTP; | 80 CFWL_CaretTP* m_pCaretTP; |
79 CFWL_BarcodeTP* m_pBarcodeTP; | 81 CFWL_BarcodeTP* m_pBarcodeTP; |
80 CFDE_TextOut* m_pTextOut; | 82 std::unique_ptr<CFDE_TextOut> m_pTextOut; |
81 FX_FLOAT m_fCapacity; | 83 FX_FLOAT m_fCapacity; |
82 uint32_t m_dwCapacity; | 84 uint32_t m_dwCapacity; |
83 IFX_Font* m_pCalendarFont; | 85 IFX_Font* m_pCalendarFont; |
84 CFX_WideString m_wsResource; | 86 CFX_WideString m_wsResource; |
85 CXFA_FFApp* m_pApp; | 87 CXFA_FFApp* m_pApp; |
86 CFX_RectF m_Rect; | 88 CFX_RectF m_Rect; |
87 CFX_SizeF m_SizeAboveBelow; | 89 CFX_SizeF m_SizeAboveBelow; |
88 }; | 90 }; |
89 class CXFA_FWLCheckBoxTP : public CFWL_CheckBoxTP { | 91 class CXFA_FWLCheckBoxTP : public CFWL_CheckBoxTP { |
90 public: | 92 public: |
(...skipping 10 matching lines...) Expand all Loading... |
101 class CXFA_FWLEditTP : public CFWL_EditTP { | 103 class CXFA_FWLEditTP : public CFWL_EditTP { |
102 public: | 104 public: |
103 CXFA_FWLEditTP(); | 105 CXFA_FWLEditTP(); |
104 virtual ~CXFA_FWLEditTP(); | 106 virtual ~CXFA_FWLEditTP(); |
105 | 107 |
106 public: | 108 public: |
107 virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams); | 109 virtual FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams); |
108 }; | 110 }; |
109 | 111 |
110 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ | 112 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ |
OLD | NEW |