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 _FWL_FORM_H |
8 #define _FWL_FORM_H | 8 #define _FWL_FORM_H |
9 class IFWL_Widget; | 9 class IFWL_Widget; |
10 class IFWL_Panel; | 10 class IFWL_Panel; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 FWL_COMMANDID_Ok, | 58 FWL_COMMANDID_Ok, |
59 FWL_COMMANDID_Cancel, | 59 FWL_COMMANDID_Cancel, |
60 FWL_COMMANDID_Abort, | 60 FWL_COMMANDID_Abort, |
61 FWL_COMMANDID_Retry, | 61 FWL_COMMANDID_Retry, |
62 FWL_COMMANDID_Ignore, | 62 FWL_COMMANDID_Ignore, |
63 FWL_COMMANDID_Yes, | 63 FWL_COMMANDID_Yes, |
64 FWL_COMMANDID_No, | 64 FWL_COMMANDID_No, |
65 }; | 65 }; |
66 class IFWL_Form : public IFWL_Panel { | 66 class IFWL_Form : public IFWL_Panel { |
67 public: | 67 public: |
68 static IFWL_Form* Create(); | 68 IFWL_Form(); |
69 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, | 69 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, |
70 CFX_WideString* classname, | 70 CFX_WideString* classname, |
71 IFWL_Widget* pOuter); | 71 IFWL_Widget* pOuter); |
72 FWL_FORMSIZE GetFormSize(); | 72 FWL_FORMSIZE GetFormSize(); |
73 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); | 73 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); |
74 IFWL_Widget* DoModal(); | 74 IFWL_Widget* DoModal(); |
75 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); | 75 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); |
76 FWL_ERR EndDoModal(); | 76 FWL_ERR EndDoModal(); |
77 FWL_ERR SetBorderRegion(CFX_Path* pPath); | 77 FWL_ERR SetBorderRegion(CFX_Path* pPath); |
78 | |
79 protected: | |
80 IFWL_Form(); | |
81 }; | 78 }; |
82 #endif | 79 #endif |
OLD | NEW |