| 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> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 std::unique_ptr<CFDE_TextOut> m_pTextOut; | 56 std::unique_ptr<CFDE_TextOut> m_pTextOut; |
| 57 FX_FLOAT m_fCapacity; | 57 FX_FLOAT m_fCapacity; |
| 58 uint32_t m_dwCapacity; | 58 uint32_t m_dwCapacity; |
| 59 CFGAS_GEFont* m_pCalendarFont; | 59 CFGAS_GEFont* m_pCalendarFont; |
| 60 CFX_WideString m_wsResource; | 60 CFX_WideString m_wsResource; |
| 61 CXFA_FFApp* const m_pApp; | 61 CXFA_FFApp* const m_pApp; |
| 62 CFX_RectF m_Rect; | 62 CFX_RectF m_Rect; |
| 63 CFX_SizeF m_SizeAboveBelow; | 63 CFX_SizeF m_SizeAboveBelow; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 class CXFA_FWLCheckBoxTP : public CFWL_CheckBoxTP { | 66 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget); |
| 67 public: | |
| 68 CXFA_FWLCheckBoxTP(); | |
| 69 | |
| 70 // CFWL_CheckBoxTP | |
| 71 FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams) override; | |
| 72 | |
| 73 protected: | |
| 74 void DrawCheckSign(IFWL_Widget* pWidget, | |
| 75 CFX_Graphics* pGraphics, | |
| 76 const CFX_RectF* pRtBox, | |
| 77 int32_t iState, | |
| 78 CFX_Matrix* pMatrix); | |
| 79 }; | |
| 80 | |
| 81 class CXFA_FWLEditTP : public CFWL_EditTP { | |
| 82 public: | |
| 83 CXFA_FWLEditTP(); | |
| 84 ~CXFA_FWLEditTP() override; | |
| 85 | |
| 86 // CFWL_EditTP | |
| 87 FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams) override; | |
| 88 }; | |
| 89 | 67 |
| 90 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ | 68 #endif // XFA_FXFA_APP_XFA_FWLTHEME_H_ |
| OLD | NEW |