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

Side by Side Diff: xfa/include/fwl/lightwidget/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/lightwidget/barcode.h ('k') | xfa/include/fwl/lightwidget/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_LIGHT_H 7 #ifndef _FWL_CHECKBOX_LIGHT_H
8 #define _FWL_CHECKBOX_LIGHT_H 8 #define _FWL_CHECKBOX_LIGHT_H
9 class CFWL_Widget; 9 class CFWL_Widget;
10 class CFWL_WidgetProperties; 10 class CFWL_WidgetProperties;
11 class IFWL_CheckBoxDP; 11 class IFWL_CheckBoxDP;
12 class CFWL_CheckBox; 12 class CFWL_CheckBox;
13 class CFWL_CheckBoxDP; 13 class CFWL_CheckBoxDP;
14 class CFWL_CheckBox : public CFWL_Widget 14 class CFWL_CheckBox : public CFWL_Widget
15 { 15 {
16 public: 16 public:
17 static CFWL_CheckBox* Create(); 17 static CFWL_CheckBox* Create();
18 18
19 FWL_ERR Initialize(const CFWL_WidgetProperties *pProperties = NU LL); 19 FWL_ERR Initialize(const CFWL_WidgetProperties *pProperties = NU LL);
20 FWL_ERR GetCaption(CFX_WideString &wsCaption); 20 FWL_ERR GetCaption(CFX_WideString &wsCaption);
21 FWL_ERR SetCaption(FX_WSTR wsCaption); 21 FWL_ERR SetCaption(FX_WSTR wsCaption);
22 FWL_ERR SetBoxSize(FX_FLOAT fHeight); 22 FWL_ERR SetBoxSize(FX_FLOAT fHeight);
23 FX_INT32» GetCheckState(); 23 int32_t» GetCheckState();
24 FWL_ERR» » SetCheckState(FX_INT32 iCheck); 24 FWL_ERR» » SetCheckState(int32_t iCheck);
25 CFWL_CheckBox(); 25 CFWL_CheckBox();
26 virtual ~CFWL_CheckBox(); 26 virtual ~CFWL_CheckBox();
27 protected: 27 protected:
28 class CFWL_CheckBoxDP : public IFWL_CheckBoxDP 28 class CFWL_CheckBoxDP : public IFWL_CheckBoxDP
29 { 29 {
30 public: 30 public:
31 CFWL_CheckBoxDP(); 31 CFWL_CheckBoxDP();
32 virtual FWL_ERR GetCaption(IFWL_Widget *pWidget, CFX_WideString &wsCapti on); 32 virtual FWL_ERR GetCaption(IFWL_Widget *pWidget, CFX_WideString &wsCapti on);
33 virtual FX_FLOAT GetBoxSize(IFWL_Widget *pWidget); 33 virtual FX_FLOAT GetBoxSize(IFWL_Widget *pWidget);
34 FX_FLOAT m_fBoxHeight; 34 FX_FLOAT m_fBoxHeight;
35 CFX_WideString m_wsCaption; 35 CFX_WideString m_wsCaption;
36 }; 36 };
37 CFWL_CheckBoxDP m_checkboxData; 37 CFWL_CheckBoxDP m_checkboxData;
38 }; 38 };
39 #endif 39 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/lightwidget/barcode.h ('k') | xfa/include/fwl/lightwidget/combobox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698