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/foxitlib.h" | 7 #include "xfa/src/foxitlib.h" |
8 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" | 8 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" |
9 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" | 9 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" |
10 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" | 10 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 if (!bUpEnable && !bDownEnable) { | 416 if (!bUpEnable && !bDownEnable) { |
417 return; | 417 return; |
418 } | 418 } |
419 CFWL_EvtSpbClick wmPosChanged; | 419 CFWL_EvtSpbClick wmPosChanged; |
420 wmPosChanged.m_pSrcTarget = m_pOwner->m_pInterface; | 420 wmPosChanged.m_pSrcTarget = m_pOwner->m_pInterface; |
421 wmPosChanged.m_bUp = bUpEnable; | 421 wmPosChanged.m_bUp = bUpEnable; |
422 m_pOwner->DispatchEvent(&wmPosChanged); | 422 m_pOwner->DispatchEvent(&wmPosChanged); |
423 m_pOwner->Repaint(bUpEnable ? &m_pOwner->m_rtUpButton | 423 m_pOwner->Repaint(bUpEnable ? &m_pOwner->m_rtUpButton |
424 : &m_pOwner->m_rtDnButton); | 424 : &m_pOwner->m_rtDnButton); |
425 } | 425 } |
OLD | NEW |