Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: xfa/include/fwl/basewidget/fwl_checkbox.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_barcode.h ('k') | xfa/include/fwl/basewidget/fwl_combobox.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_barcode.h ('k') | xfa/include/fwl/basewidget/fwl_combobox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698