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 #include "xfa/fwl/core/fwl_widgetimp.h" | 7 #include "xfa/fwl/core/fwl_widgetimp.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "xfa/fde/tto/fde_textout.h" | 11 #include "xfa/fde/tto/fde_textout.h" |
12 #include "xfa/fwl/basewidget/ifwl_combobox.h" | 12 #include "xfa/fwl/basewidget/ifwl_combobox.h" |
13 #include "xfa/fwl/core/cfwl_message.h" | 13 #include "xfa/fwl/core/cfwl_message.h" |
14 #include "xfa/fwl/core/cfwl_themebackground.h" | 14 #include "xfa/fwl/core/cfwl_themebackground.h" |
15 #include "xfa/fwl/core/cfwl_themepart.h" | 15 #include "xfa/fwl/core/cfwl_themepart.h" |
16 #include "xfa/fwl/core/cfwl_themetext.h" | 16 #include "xfa/fwl/core/cfwl_themetext.h" |
17 #include "xfa/fwl/core/cfwl_widgetmgr.h" | 17 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
18 #include "xfa/fwl/core/fwl_appimp.h" | 18 #include "xfa/fwl/core/fwl_appimp.h" |
19 #include "xfa/fwl/core/fwl_noteimp.h" | 19 #include "xfa/fwl/core/fwl_noteimp.h" |
20 #include "xfa/fwl/core/ifwl_app.h" | 20 #include "xfa/fwl/core/ifwl_app.h" |
21 #include "xfa/fwl/core/ifwl_form.h" | 21 #include "xfa/fwl/core/ifwl_form.h" |
22 #include "xfa/fwl/core/ifwl_themeprovider.h" | 22 #include "xfa/fwl/core/ifwl_themeprovider.h" |
23 #include "xfa/fwl/core/ifwl_widget.h" | 23 #include "xfa/fwl/core/ifwl_widget.h" |
24 #include "xfa/fxfa/include/xfa_ffapp.h" | 24 #include "xfa/fxfa/xfa_ffapp.h" |
25 | 25 |
26 #define FWL_STYLEEXT_MNU_Vert (1L << 0) | 26 #define FWL_STYLEEXT_MNU_Vert (1L << 0) |
27 | 27 |
28 IFWL_Widget::IFWL_Widget() {} | 28 IFWL_Widget::IFWL_Widget() {} |
29 | 29 |
30 IFWL_Widget::~IFWL_Widget() {} | 30 IFWL_Widget::~IFWL_Widget() {} |
31 | 31 |
32 FWL_Error IFWL_Widget::GetClassName(CFX_WideString& wsClass) const { | 32 FWL_Error IFWL_Widget::GetClassName(CFX_WideString& wsClass) const { |
33 return m_pImpl->GetClassName(wsClass); | 33 return m_pImpl->GetClassName(wsClass); |
34 } | 34 } |
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 } | 1040 } |
1041 } | 1041 } |
1042 | 1042 |
1043 void CFWL_WidgetImpDelegate::OnProcessEvent(CFWL_Event* pEvent) {} | 1043 void CFWL_WidgetImpDelegate::OnProcessEvent(CFWL_Event* pEvent) {} |
1044 | 1044 |
1045 void CFWL_WidgetImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, | 1045 void CFWL_WidgetImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, |
1046 const CFX_Matrix* pMatrix) { | 1046 const CFX_Matrix* pMatrix) { |
1047 CFWL_EvtDraw evt; | 1047 CFWL_EvtDraw evt; |
1048 evt.m_pGraphics = pGraphics; | 1048 evt.m_pGraphics = pGraphics; |
1049 } | 1049 } |
OLD | NEW |