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/cfwl_widgetmgr.h" | 7 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
8 | 8 |
9 #include "xfa/fwl/core/cfwl_message.h" | 9 #include "xfa/fwl/core/cfwl_message.h" |
10 #include "xfa/fwl/core/fwl_appimp.h" | 10 #include "xfa/fwl/core/fwl_appimp.h" |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 temp.Deflate(50, 50); | 852 temp.Deflate(50, 50); |
853 if (!temp.Contains(r)) | 853 if (!temp.Contains(r)) |
854 return FALSE; | 854 return FALSE; |
855 | 855 |
856 pItem->bOutsideChanged = FALSE; | 856 pItem->bOutsideChanged = FALSE; |
857 } | 857 } |
858 #endif | 858 #endif |
859 | 859 |
860 return pItem->iRedrawCounter == 0; | 860 return pItem->iRedrawCounter == 0; |
861 } | 861 } |
| 862 |
| 863 CFWL_WidgetMgrItem::CFWL_WidgetMgrItem() : CFWL_WidgetMgrItem(nullptr) {} |
| 864 |
| 865 CFWL_WidgetMgrItem::CFWL_WidgetMgrItem(IFWL_Widget* widget) |
| 866 : pParent(nullptr), |
| 867 pOwner(nullptr), |
| 868 pChild(nullptr), |
| 869 pPrevious(nullptr), |
| 870 pNext(nullptr), |
| 871 pWidget(widget), |
| 872 iRedrawCounter(0) |
| 873 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) |
| 874 , |
| 875 bOutsideChanged(FALSE) |
| 876 #endif |
| 877 { |
| 878 } |
| 879 |
| 880 CFWL_WidgetMgrItem::~CFWL_WidgetMgrItem() {} |
OLD | NEW |