| 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/ifwl_widget.h" | 7 #include "xfa/fwl/core/ifwl_widget.h" |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "xfa/fde/tto/fde_textout.h" | 12 #include "xfa/fde/tto/fde_textout.h" |
| 13 #include "xfa/fwl/core/cfwl_evtkey.h" | 13 #include "xfa/fwl/core/cfwl_evtkey.h" |
| 14 #include "xfa/fwl/core/cfwl_evtkillfocus.h" | 14 #include "xfa/fwl/core/cfwl_evtkillfocus.h" |
| 15 #include "xfa/fwl/core/cfwl_evtmouse.h" | 15 #include "xfa/fwl/core/cfwl_evtmouse.h" |
| 16 #include "xfa/fwl/core/cfwl_evtmousewheel.h" | 16 #include "xfa/fwl/core/cfwl_evtmousewheel.h" |
| 17 #include "xfa/fwl/core/cfwl_evtsetfocus.h" | 17 #include "xfa/fwl/core/cfwl_evtsetfocus.h" |
| 18 #include "xfa/fwl/core/cfwl_evtsizechanged.h" | 18 #include "xfa/fwl/core/cfwl_evtsizechanged.h" |
| 19 #include "xfa/fwl/core/cfwl_msgkey.h" | 19 #include "xfa/fwl/core/cfwl_msgkey.h" |
| 20 #include "xfa/fwl/core/cfwl_msgkillfocus.h" | 20 #include "xfa/fwl/core/cfwl_msgkillfocus.h" |
| 21 #include "xfa/fwl/core/cfwl_msgmouse.h" | 21 #include "xfa/fwl/core/cfwl_msgmouse.h" |
| 22 #include "xfa/fwl/core/cfwl_msgmousewheel.h" | 22 #include "xfa/fwl/core/cfwl_msgmousewheel.h" |
| 23 #include "xfa/fwl/core/cfwl_msgsetfocus.h" | 23 #include "xfa/fwl/core/cfwl_msgsetfocus.h" |
| 24 #include "xfa/fwl/core/cfwl_notedriver.h" |
| 24 #include "xfa/fwl/core/cfwl_themebackground.h" | 25 #include "xfa/fwl/core/cfwl_themebackground.h" |
| 25 #include "xfa/fwl/core/cfwl_themepart.h" | 26 #include "xfa/fwl/core/cfwl_themepart.h" |
| 26 #include "xfa/fwl/core/cfwl_themetext.h" | 27 #include "xfa/fwl/core/cfwl_themetext.h" |
| 27 #include "xfa/fwl/core/cfwl_widgetmgr.h" | 28 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
| 28 #include "xfa/fwl/core/fwl_noteimp.h" | |
| 29 #include "xfa/fwl/core/ifwl_app.h" | 29 #include "xfa/fwl/core/ifwl_app.h" |
| 30 #include "xfa/fwl/core/ifwl_combobox.h" | 30 #include "xfa/fwl/core/ifwl_combobox.h" |
| 31 #include "xfa/fwl/core/ifwl_form.h" | 31 #include "xfa/fwl/core/ifwl_form.h" |
| 32 #include "xfa/fwl/core/ifwl_themeprovider.h" | 32 #include "xfa/fwl/core/ifwl_themeprovider.h" |
| 33 #include "xfa/fxfa/xfa_ffapp.h" | 33 #include "xfa/fxfa/xfa_ffapp.h" |
| 34 | 34 |
| 35 #define FWL_STYLEEXT_MNU_Vert (1L << 0) | 35 #define FWL_STYLEEXT_MNU_Vert (1L << 0) |
| 36 #define FWL_WGT_CalcHeight 2048 | 36 #define FWL_WGT_CalcHeight 2048 |
| 37 #define FWL_WGT_CalcWidth 2048 | 37 #define FWL_WGT_CalcWidth 2048 |
| 38 #define FWL_WGT_CalcMultiLineDefWidth 120.0f | 38 #define FWL_WGT_CalcMultiLineDefWidth 120.0f |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 } | 804 } |
| 805 default: | 805 default: |
| 806 break; | 806 break; |
| 807 } | 807 } |
| 808 } | 808 } |
| 809 | 809 |
| 810 void IFWL_Widget::OnProcessEvent(CFWL_Event* pEvent) {} | 810 void IFWL_Widget::OnProcessEvent(CFWL_Event* pEvent) {} |
| 811 | 811 |
| 812 void IFWL_Widget::OnDrawWidget(CFX_Graphics* pGraphics, | 812 void IFWL_Widget::OnDrawWidget(CFX_Graphics* pGraphics, |
| 813 const CFX_Matrix* pMatrix) {} | 813 const CFX_Matrix* pMatrix) {} |
| OLD | NEW |