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_ffcheckbutton.h" |
| 8 |
| 9 #include "xfa/include/fwl/core/fwl_widgetmgr.h" |
| 10 #include "xfa/include/fwl/lightwidget/checkbox.h" |
7 #include "xfa/src/foxitlib.h" | 11 #include "xfa/src/foxitlib.h" |
8 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" | 12 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" |
9 #include "xfa/src/fxfa/src/app/xfa_ffcheckbutton.h" | |
10 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" | 13 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" |
11 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h" | 14 #include "xfa/src/fxfa/src/app/xfa_ffdocview.h" |
12 #include "xfa/src/fxfa/src/app/xfa_ffexclgroup.h" | 15 #include "xfa/src/fxfa/src/app/xfa_ffexclgroup.h" |
13 #include "xfa/src/fxfa/src/app/xfa_fffield.h" | 16 #include "xfa/src/fxfa/src/app/xfa_fffield.h" |
14 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h" | 17 #include "xfa/src/fxfa/src/app/xfa_ffpageview.h" |
15 #include "xfa/src/fxfa/src/app/xfa_ffwidget.h" | 18 #include "xfa/src/fxfa/src/app/xfa_ffwidget.h" |
16 | 19 |
17 CXFA_FFCheckButton::CXFA_FFCheckButton(CXFA_FFPageView* pPageView, | 20 CXFA_FFCheckButton::CXFA_FFCheckButton(CXFA_FFPageView* pPageView, |
18 CXFA_WidgetAcc* pDataAcc) | 21 CXFA_WidgetAcc* pDataAcc) |
19 : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) { | 22 : CXFA_FFField(pPageView, pDataAcc), m_pOldDelegate(NULL) { |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 break; | 327 break; |
325 } | 328 } |
326 default: {} | 329 default: {} |
327 } | 330 } |
328 return m_pOldDelegate->OnProcessEvent(pEvent); | 331 return m_pOldDelegate->OnProcessEvent(pEvent); |
329 } | 332 } |
330 FWL_ERR CXFA_FFCheckButton::OnDrawWidget(CFX_Graphics* pGraphics, | 333 FWL_ERR CXFA_FFCheckButton::OnDrawWidget(CFX_Graphics* pGraphics, |
331 const CFX_Matrix* pMatrix) { | 334 const CFX_Matrix* pMatrix) { |
332 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); | 335 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); |
333 } | 336 } |
OLD | NEW |