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 XFA_FWL_CORE_IFWL_FORM_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_FORM_H_ |
8 #define XFA_FWL_CORE_IFWL_FORM_H_ | 8 #define XFA_FWL_CORE_IFWL_FORM_H_ |
9 | 9 |
10 #include "xfa/fwl/core/ifwl_panel.h" | 10 #include "xfa/fwl/core/ifwl_panel.h" |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 class IFWL_Form : public IFWL_Panel { | 80 class IFWL_Form : public IFWL_Panel { |
81 public: | 81 public: |
82 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties, | 82 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties, |
83 CFX_WideString* classname, | 83 CFX_WideString* classname, |
84 IFWL_Widget* pOuter); | 84 IFWL_Widget* pOuter); |
85 | 85 |
86 FWL_FORMSIZE GetFormSize(); | 86 FWL_FORMSIZE GetFormSize(); |
87 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); | 87 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); |
88 IFWL_Widget* DoModal(); | 88 IFWL_Widget* DoModal(); |
89 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); | 89 IFWL_Widget* DoModal(uint32_t& dwCommandID); |
90 FWL_ERR EndDoModal(); | 90 FWL_ERR EndDoModal(); |
91 FWL_ERR SetBorderRegion(CFX_Path* pPath); | 91 FWL_ERR SetBorderRegion(CFX_Path* pPath); |
92 | 92 |
93 protected: | 93 protected: |
94 IFWL_Form(); | 94 IFWL_Form(); |
95 }; | 95 }; |
96 | 96 |
97 #endif // XFA_FWL_CORE_IFWL_FORM_H_ | 97 #endif // XFA_FWL_CORE_IFWL_FORM_H_ |
OLD | NEW |