| 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_FFCHECKBUTTON_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFCHECKBUTTON_H_ |
| 8 #define XFA_FXFA_APP_XFA_FFCHECKBUTTON_H_ | 8 #define XFA_FXFA_APP_XFA_FFCHECKBUTTON_H_ |
| 9 | 9 |
| 10 #include "xfa/fxfa/app/xfa_fffield.h" | 10 #include "xfa/fxfa/app/xfa_fffield.h" |
| 11 #include "xfa/fxfa/include/xfa_ffpageview.h" | 11 #include "xfa/fxfa/xfa_ffpageview.h" |
| 12 | 12 |
| 13 class CXFA_FFCheckButton : public CXFA_FFField { | 13 class CXFA_FFCheckButton : public CXFA_FFField { |
| 14 public: | 14 public: |
| 15 CXFA_FFCheckButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 15 CXFA_FFCheckButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
| 16 ~CXFA_FFCheckButton() override; | 16 ~CXFA_FFCheckButton() override; |
| 17 | 17 |
| 18 // CXFA_FFField | 18 // CXFA_FFField |
| 19 void RenderWidget(CFX_Graphics* pGS, | 19 void RenderWidget(CFX_Graphics* pGS, |
| 20 CFX_Matrix* pMatrix, | 20 CFX_Matrix* pMatrix, |
| 21 uint32_t dwStatus) override; | 21 uint32_t dwStatus) override; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 37 FX_BOOL IsDataChanged() override; | 37 FX_BOOL IsDataChanged() override; |
| 38 | 38 |
| 39 void CapLeftRightPlacement(CXFA_Margin mgCap); | 39 void CapLeftRightPlacement(CXFA_Margin mgCap); |
| 40 void AddUIMargin(int32_t iCapPlacement); | 40 void AddUIMargin(int32_t iCapPlacement); |
| 41 XFA_CHECKSTATE FWLState2XFAState(); | 41 XFA_CHECKSTATE FWLState2XFAState(); |
| 42 IFWL_WidgetDelegate* m_pOldDelegate; | 42 IFWL_WidgetDelegate* m_pOldDelegate; |
| 43 CFX_RectF m_rtCheckBox; | 43 CFX_RectF m_rtCheckBox; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 #endif // XFA_FXFA_APP_XFA_FFCHECKBUTTON_H_ | 46 #endif // XFA_FXFA_APP_XFA_FFCHECKBUTTON_H_ |
| OLD | NEW |