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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 { | 67 { |
68 public: | 68 public: |
69 virtual FX_FLOAT GetBoxSize(IFWL_Widget *pWidget) = 0; | 69 virtual FX_FLOAT GetBoxSize(IFWL_Widget *pWidget) = 0; |
70 }; | 70 }; |
71 class IFWL_CheckBox : public IFWL_Widget | 71 class IFWL_CheckBox : public IFWL_Widget |
72 { | 72 { |
73 public: | 73 public: |
74 static IFWL_CheckBox* Create(); | 74 static IFWL_CheckBox* Create(); |
75 FWL_ERR Initialize(IFWL_Widget *pOuter = NULL); | 75 FWL_ERR Initialize(IFWL_Widget *pOuter = NULL); |
76 FWL_ERR Initialize(const CFWL_WidgetImpProperties &properties, I
FWL_Widget *pOuter = NULL); | 76 FWL_ERR Initialize(const CFWL_WidgetImpProperties &properties, I
FWL_Widget *pOuter = NULL); |
77 FX_INT32» GetCheckState(); | 77 int32_t» GetCheckState(); |
78 FWL_ERR» » SetCheckState(FX_INT32 iCheck); | 78 FWL_ERR» » SetCheckState(int32_t iCheck); |
79 protected: | 79 protected: |
80 IFWL_CheckBox(); | 80 IFWL_CheckBox(); |
81 virtual ~IFWL_CheckBox(); | 81 virtual ~IFWL_CheckBox(); |
82 }; | 82 }; |
83 class IFWL_RadioButton : public IFWL_Widget | 83 class IFWL_RadioButton : public IFWL_Widget |
84 { | 84 { |
85 public: | 85 public: |
86 static IFWL_RadioButton* Create(); | 86 static IFWL_RadioButton* Create(); |
87 FWL_ERR Initialize(IFWL_Widget *pOuter = NULL); | 87 FWL_ERR Initialize(IFWL_Widget *pOuter = NULL); |
88 FWL_ERR Initialize(const CFWL_WidgetImpProperties &properties, I
FWL_Widget *pOuter = NULL); | 88 FWL_ERR Initialize(const CFWL_WidgetImpProperties &properties, I
FWL_Widget *pOuter = NULL); |
89 FX_INT32» GetCheckState(); | 89 int32_t» GetCheckState(); |
90 FWL_ERR» » SetCheckState(FX_INT32 iCheck); | 90 FWL_ERR» » SetCheckState(int32_t iCheck); |
91 protected: | 91 protected: |
92 IFWL_RadioButton(); | 92 IFWL_RadioButton(); |
93 virtual ~IFWL_RadioButton(); | 93 virtual ~IFWL_RadioButton(); |
94 }; | 94 }; |
95 #endif | 95 #endif |
OLD | NEW |