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/src/fxfa/src/app/xfa_fftextedit.h" | 7 #include "xfa/src/fxfa/src/app/xfa_fftextedit.h" |
8 | 8 |
9 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h" | 9 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h" |
10 #include "xfa/include/fwl/basewidget/fwl_edit.h" | 10 #include "xfa/include/fwl/basewidget/fwl_edit.h" |
11 #include "xfa/include/fwl/lightwidget/datetimepicker.h" | 11 #include "xfa/include/fwl/lightwidget/datetimepicker.h" |
12 #include "xfa/include/fwl/lightwidget/edit.h" | 12 #include "xfa/include/fwl/lightwidget/edit.h" |
13 #include "xfa/src/foxitlib.h" | |
14 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" | 13 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" |
15 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" | 14 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" |
16 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h" | 15 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h" |
17 #include "xfa/src/fxfa/src/app/xfa_fffield.h" | 16 #include "xfa/src/fxfa/src/app/xfa_fffield.h" |
18 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h" | 17 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h" |
19 #include "xfa/src/fxfa/src/app/xfa_ffwidget.h" | 18 #include "xfa/src/fxfa/src/app/xfa_ffwidget.h" |
20 #include "xfa/src/fxfa/src/app/xfa_fwladapter.h" | 19 #include "xfa/src/fxfa/src/app/xfa_fwladapter.h" |
21 #include "xfa/src/fxfa/src/app/xfa_textlayout.h" | 20 #include "xfa/src/fxfa/src/app/xfa_textlayout.h" |
22 #include "xfa/src/fxfa/src/common/fxfa_localevalue.h" | 21 #include "xfa/src/fxfa/src/common/fxfa_localevalue.h" |
23 | 22 |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 FX_DWORD dwEventID = pEvent->GetClassID(); | 795 FX_DWORD dwEventID = pEvent->GetClassID(); |
797 if (dwEventID == FWL_EVTHASH_DTP_SelectChanged) { | 796 if (dwEventID == FWL_EVTHASH_DTP_SelectChanged) { |
798 CFWL_Event_DtpSelectChanged* event = (CFWL_Event_DtpSelectChanged*)pEvent; | 797 CFWL_Event_DtpSelectChanged* event = (CFWL_Event_DtpSelectChanged*)pEvent; |
799 OnSelectChanged(m_pNormalWidget->GetWidget(), event->iYear, event->iMonth, | 798 OnSelectChanged(m_pNormalWidget->GetWidget(), event->iYear, event->iMonth, |
800 event->iDay); | 799 event->iDay); |
801 return TRUE; | 800 return TRUE; |
802 } else { | 801 } else { |
803 return CXFA_FFTextEdit::OnProcessEvent(pEvent); | 802 return CXFA_FFTextEdit::OnProcessEvent(pEvent); |
804 } | 803 } |
805 } | 804 } |
OLD | NEW |