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_LIGHTWIDGET_WIDGET_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_WIDGET_H_ |
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_WIDGET_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_WIDGET_H_ |
9 | 9 |
10 #include "xfa/include/fwl/core/fwl_widget.h" | 10 #include "xfa/fwl/core/cfwl_event.h" |
| 11 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" |
| 12 #include "xfa/fwl/core/ifwl_widget.h" |
11 | 13 |
12 class CFWL_Event; | 14 class CFWL_Event; |
13 class CFWL_Message; | 15 class CFWL_Message; |
14 class CFWL_Widget; | 16 class CFWL_Widget; |
15 class CFWL_WidgetDelegate; | 17 class CFWL_WidgetDelegate; |
16 class CFWL_WidgetMgr; | 18 class CFWL_WidgetMgr; |
17 | 19 |
18 class CFWL_WidgetProperties { | 20 class CFWL_WidgetProperties { |
19 public: | 21 public: |
20 CFWL_WidgetProperties() { | 22 CFWL_WidgetProperties() { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 public: | 101 public: |
100 CFWL_WidgetDelegate(); | 102 CFWL_WidgetDelegate(); |
101 virtual ~CFWL_WidgetDelegate(); | 103 virtual ~CFWL_WidgetDelegate(); |
102 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); | 104 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); |
103 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); | 105 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); |
104 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 106 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, |
105 const CFX_Matrix* pMatrix = NULL); | 107 const CFX_Matrix* pMatrix = NULL); |
106 }; | 108 }; |
107 | 109 |
108 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_WIDGET_H_ | 110 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_WIDGET_H_ |
OLD | NEW |