| 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 _FWL_CHECKBOX_H |
| 8 #define _FWL_CHECKBOX_H | 8 #define _FWL_CHECKBOX_H |
| 9 class CFWL_WidgetImpProperties; | 9 class CFWL_WidgetImpProperties; |
| 10 class IFWL_Widget; | 10 class IFWL_Widget; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 public: | 72 public: |
| 73 static IFWL_CheckBox* Create(); | 73 static IFWL_CheckBox* Create(); |
| 74 FWL_ERR Initialize(IFWL_Widget* pOuter = NULL); | 74 FWL_ERR Initialize(IFWL_Widget* pOuter = NULL); |
| 75 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, | 75 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
| 76 IFWL_Widget* pOuter = NULL); | 76 IFWL_Widget* pOuter = NULL); |
| 77 int32_t GetCheckState(); | 77 int32_t GetCheckState(); |
| 78 FWL_ERR SetCheckState(int32_t iCheck); | 78 FWL_ERR SetCheckState(int32_t iCheck); |
| 79 | 79 |
| 80 protected: | 80 protected: |
| 81 IFWL_CheckBox(); | 81 IFWL_CheckBox(); |
| 82 virtual ~IFWL_CheckBox(); | |
| 83 }; | 82 }; |
| 84 class IFWL_RadioButton : public IFWL_Widget { | 83 class IFWL_RadioButton : public IFWL_Widget { |
| 85 public: | 84 public: |
| 86 static IFWL_RadioButton* Create(); | 85 static IFWL_RadioButton* Create(); |
| 87 FWL_ERR Initialize(IFWL_Widget* pOuter = NULL); | 86 FWL_ERR Initialize(IFWL_Widget* pOuter = NULL); |
| 88 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, | 87 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
| 89 IFWL_Widget* pOuter = NULL); | 88 IFWL_Widget* pOuter = NULL); |
| 90 int32_t GetCheckState(); | 89 int32_t GetCheckState(); |
| 91 FWL_ERR SetCheckState(int32_t iCheck); | 90 FWL_ERR SetCheckState(int32_t iCheck); |
| 92 | 91 |
| 93 protected: | 92 protected: |
| 94 IFWL_RadioButton(); | 93 IFWL_RadioButton(); |
| 95 virtual ~IFWL_RadioButton(); | |
| 96 }; | 94 }; |
| 97 #endif | 95 #endif |
| OLD | NEW |