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_dataprovider.h" | 10 #include "xfa/fwl/core/ifwl_dataprovider.h" |
11 #include "xfa/fwl/core/ifwl_widget.h" | 11 #include "xfa/fwl/core/ifwl_widget.h" |
12 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/include/fx_system.h" |
13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" | 13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" |
14 | 14 |
15 #define FWL_CLASS_Form L"FWL_FORM" | 15 #define FWL_CLASS_Form L"FWL_FORM" |
16 #define FWL_CLASSHASH_Form 881567292 | |
17 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY" | 16 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY" |
18 #define FWL_CLASSHASH_FormProxy 881567291 | |
19 #define FWL_STYLEEXT_FRM_Resize (1L << 0) | 17 #define FWL_STYLEEXT_FRM_Resize (1L << 0) |
20 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1) | 18 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1) |
21 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1) | 19 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1) |
22 #define FWL_STYLEEXT_FRM_RoundCorner4 (3L << 1) | 20 #define FWL_STYLEEXT_FRM_RoundCorner4 (3L << 1) |
23 #define FWL_STYLEEXT_FRM_NoDrawClient (1L << 3) | 21 #define FWL_STYLEEXT_FRM_NoDrawClient (1L << 3) |
24 #define FWL_STYLEEXT_FRM_BorderCornerMask (3L << 1) | 22 #define FWL_STYLEEXT_FRM_BorderCornerMask (3L << 1) |
25 #define FWL_STYLEEXT_FRM_Max (3) | 23 #define FWL_STYLEEXT_FRM_Max (3) |
26 | 24 |
27 #if (_FX_OS_ == _FX_MACOSX_) | 25 #if (_FX_OS_ == _FX_MACOSX_) |
28 #define FWL_UseMacSystemBorder | 26 #define FWL_UseMacSystemBorder |
(...skipping 28 matching lines...) Expand all Loading... |
57 IFWL_Widget* DoModal(); | 55 IFWL_Widget* DoModal(); |
58 IFWL_Widget* DoModal(uint32_t& dwCommandID); | 56 IFWL_Widget* DoModal(uint32_t& dwCommandID); |
59 FWL_Error EndDoModal(); | 57 FWL_Error EndDoModal(); |
60 FWL_Error SetBorderRegion(CFX_Path* pPath); | 58 FWL_Error SetBorderRegion(CFX_Path* pPath); |
61 | 59 |
62 protected: | 60 protected: |
63 IFWL_Form(); | 61 IFWL_Form(); |
64 }; | 62 }; |
65 | 63 |
66 #endif // XFA_FWL_CORE_IFWL_FORM_H_ | 64 #endif // XFA_FWL_CORE_IFWL_FORM_H_ |
OLD | NEW |