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_INCLUDE_FWL_CORE_FWL_FORM_H_ | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ |
8 #define XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ | 8 #define XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ |
9 | 9 |
| 10 #include "xfa/include/fwl/core/fwl_panel.h" |
| 11 |
10 class IFWL_Widget; | 12 class IFWL_Widget; |
11 class IFWL_Panel; | |
12 class IFWL_Form; | 13 class IFWL_Form; |
| 14 |
13 #define FWL_CLASS_Form L"FWL_FORM" | 15 #define FWL_CLASS_Form L"FWL_FORM" |
14 #define FWL_CLASSHASH_Form 881567292 | 16 #define FWL_CLASSHASH_Form 881567292 |
15 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY" | 17 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY" |
16 #define FWL_CLASSHASH_FormProxy 881567291 | 18 #define FWL_CLASSHASH_FormProxy 881567291 |
17 #define FWL_STYLEEXT_FRM_Resize (1L << 0) | 19 #define FWL_STYLEEXT_FRM_Resize (1L << 0) |
18 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1) | 20 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1) |
19 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1) | 21 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1) |
20 #define FWL_STYLEEXT_FRM_RoundCorner4 (3L << 1) | 22 #define FWL_STYLEEXT_FRM_RoundCorner4 (3L << 1) |
21 #define FWL_STYLEEXT_FRM_NoDrawClient (1L << 3) | 23 #define FWL_STYLEEXT_FRM_NoDrawClient (1L << 3) |
22 #define FWL_STYLEEXT_FRM_BorderCornerMask (3L << 1) | 24 #define FWL_STYLEEXT_FRM_BorderCornerMask (3L << 1) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 IFWL_Widget* DoModal(); | 78 IFWL_Widget* DoModal(); |
77 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); | 79 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); |
78 FWL_ERR EndDoModal(); | 80 FWL_ERR EndDoModal(); |
79 FWL_ERR SetBorderRegion(CFX_Path* pPath); | 81 FWL_ERR SetBorderRegion(CFX_Path* pPath); |
80 | 82 |
81 protected: | 83 protected: |
82 IFWL_Form(); | 84 IFWL_Form(); |
83 }; | 85 }; |
84 | 86 |
85 #endif // XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ | 87 #endif // XFA_INCLUDE_FWL_CORE_FWL_FORM_H_ |
OLD | NEW |