| 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 _FXFA_FORMFILLER_CHECKBUTTON_IMP_H | 7 #ifndef XFA_SRC_FXFA_SRC_APP_XFA_FFCHECKBUTTON_H_ | 
| 8 #define _FXFA_FORMFILLER_CHECKBUTTON_IMP_H | 8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFCHECKBUTTON_H_ | 
|  | 9 | 
| 9 class CXFA_FFExclGroup; | 10 class CXFA_FFExclGroup; | 
| 10 class CXFA_FFCheckButton : public CXFA_FFField { | 11 class CXFA_FFCheckButton : public CXFA_FFField { | 
| 11  public: | 12  public: | 
| 12   CXFA_FFCheckButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 13   CXFA_FFCheckButton(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 
| 13   virtual ~CXFA_FFCheckButton(); | 14   virtual ~CXFA_FFCheckButton(); | 
| 14   virtual void RenderWidget(CFX_Graphics* pGS, | 15   virtual void RenderWidget(CFX_Graphics* pGS, | 
| 15                             CFX_Matrix* pMatrix = NULL, | 16                             CFX_Matrix* pMatrix = NULL, | 
| 16                             FX_DWORD dwStatus = 0, | 17                             FX_DWORD dwStatus = 0, | 
| 17                             int32_t iRotate = 0); | 18                             int32_t iRotate = 0); | 
| 18 | 19 | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
| 29 | 30 | 
| 30  protected: | 31  protected: | 
| 31   virtual FX_BOOL CommitData(); | 32   virtual FX_BOOL CommitData(); | 
| 32   virtual FX_BOOL IsDataChanged(); | 33   virtual FX_BOOL IsDataChanged(); | 
| 33   void CapLeftRightPlacement(CXFA_Margin mgCap); | 34   void CapLeftRightPlacement(CXFA_Margin mgCap); | 
| 34   void AddUIMargin(int32_t iCapPlacement); | 35   void AddUIMargin(int32_t iCapPlacement); | 
| 35   XFA_CHECKSTATE FWLState2XFAState(); | 36   XFA_CHECKSTATE FWLState2XFAState(); | 
| 36   IFWL_WidgetDelegate* m_pOldDelegate; | 37   IFWL_WidgetDelegate* m_pOldDelegate; | 
| 37   CFX_RectF m_rtCheckBox; | 38   CFX_RectF m_rtCheckBox; | 
| 38 }; | 39 }; | 
| 39 #endif | 40 | 
|  | 41 #endif  // XFA_SRC_FXFA_SRC_APP_XFA_FFCHECKBUTTON_H_ | 
| OLD | NEW | 
|---|