| 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 _FWL_CHECKBOX_H | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_CHECKBOX_H_ | 
| 8 #define _FWL_CHECKBOX_H | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_CHECKBOX_H_ | 
|  | 9 | 
| 9 class CFWL_WidgetImpProperties; | 10 class CFWL_WidgetImpProperties; | 
| 10 class IFWL_Widget; | 11 class IFWL_Widget; | 
| 11 class IFWL_CheckBoxDP; | 12 class IFWL_CheckBoxDP; | 
| 12 class IFWL_CheckBox; | 13 class IFWL_CheckBox; | 
| 13 #define FWL_CLASS_CheckBox L"FWL_CHECKBOX" | 14 #define FWL_CLASS_CheckBox L"FWL_CHECKBOX" | 
| 14 #define FWL_CLASSHASH_CheckBox 4107183823 | 15 #define FWL_CLASSHASH_CheckBox 4107183823 | 
| 15 #define FWL_STYLEEXT_CKB_Left (0L << 0) | 16 #define FWL_STYLEEXT_CKB_Left (0L << 0) | 
| 16 #define FWL_STYLEEXT_CKB_Center (1L << 0) | 17 #define FWL_STYLEEXT_CKB_Center (1L << 0) | 
| 17 #define FWL_STYLEEXT_CKB_Right (2L << 0) | 18 #define FWL_STYLEEXT_CKB_Right (2L << 0) | 
| 18 #define FWL_STYLEEXT_CKB_Top (0L << 2) | 19 #define FWL_STYLEEXT_CKB_Top (0L << 2) | 
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 71  public: | 72  public: | 
| 72   static IFWL_CheckBox* Create(const CFWL_WidgetImpProperties& properties, | 73   static IFWL_CheckBox* Create(const CFWL_WidgetImpProperties& properties, | 
| 73                                IFWL_Widget* pOuter); | 74                                IFWL_Widget* pOuter); | 
| 74   int32_t GetCheckState(); | 75   int32_t GetCheckState(); | 
| 75   FWL_ERR SetCheckState(int32_t iCheck); | 76   FWL_ERR SetCheckState(int32_t iCheck); | 
| 76 | 77 | 
| 77  protected: | 78  protected: | 
| 78   IFWL_CheckBox(); | 79   IFWL_CheckBox(); | 
| 79 }; | 80 }; | 
| 80 | 81 | 
| 81 #endif | 82 #endif  // XFA_INCLUDE_FWL_BASEWIDGET_FWL_CHECKBOX_H_ | 
| OLD | NEW | 
|---|