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_FORM_H | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ |
8 #define _FWL_FORM_H | 8 #define XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ |
| 9 |
9 class IFWL_Widget; | 10 class IFWL_Widget; |
10 class IFWL_Panel; | 11 class IFWL_Panel; |
11 class IFWL_Form; | 12 class IFWL_Form; |
12 #define FWL_CLASS_Form L"FWL_FORM" | 13 #define FWL_CLASS_Form L"FWL_FORM" |
13 #define FWL_CLASSHASH_Form 881567292 | 14 #define FWL_CLASSHASH_Form 881567292 |
14 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY" | 15 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY" |
15 #define FWL_CLASSHASH_FormProxy 881567291 | 16 #define FWL_CLASSHASH_FormProxy 881567291 |
16 #define FWL_STYLEEXT_FRM_Resize (1L << 0) | 17 #define FWL_STYLEEXT_FRM_Resize (1L << 0) |
17 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1) | 18 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1) |
18 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1) | 19 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1) |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 FWL_FORMSIZE GetFormSize(); | 74 FWL_FORMSIZE GetFormSize(); |
74 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); | 75 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); |
75 IFWL_Widget* DoModal(); | 76 IFWL_Widget* DoModal(); |
76 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); | 77 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); |
77 FWL_ERR EndDoModal(); | 78 FWL_ERR EndDoModal(); |
78 FWL_ERR SetBorderRegion(CFX_Path* pPath); | 79 FWL_ERR SetBorderRegion(CFX_Path* pPath); |
79 | 80 |
80 protected: | 81 protected: |
81 IFWL_Form(); | 82 IFWL_Form(); |
82 }; | 83 }; |
83 #endif | 84 |
| 85 #endif // XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ |
OLD | NEW |