| 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 #ifndef XFA_INCLUDE_FWL_CORE_FWL_THEME_H_ | 7 #ifndef XFA_INCLUDE_FWL_CORE_FWL_THEME_H_ |
| 8 #define XFA_INCLUDE_FWL_CORE_FWL_THEME_H_ | 8 #define XFA_INCLUDE_FWL_CORE_FWL_THEME_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| 11 #include "core/include/fxcrt/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "xfa/include/fwl/core/fwl_error.h" | 12 #include "xfa/include/fwl/core/fwl_error.h" |
| 13 | 13 |
| 14 class IFWL_Widget; | 14 class IFWL_Widget; |
| 15 class CFX_Graphics; | 15 class CFX_Graphics; |
| 16 class CFX_DIBitmap; | 16 class CFX_DIBitmap; |
| 17 class CFX_Path; | 17 class CFX_Path; |
| 18 | 18 |
| 19 #define FWL_WGTCAPACITY_CXBorder 1 | 19 #define FWL_WGTCAPACITY_CXBorder 1 |
| 20 #define FWL_WGTCAPACITY_CYBorder 2 | 20 #define FWL_WGTCAPACITY_CYBorder 2 |
| 21 #define FWL_WGTCAPACITY_ScrollBarWidth 3 | 21 #define FWL_WGTCAPACITY_ScrollBarWidth 3 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual FX_BOOL IsCustomizedLayout(IFWL_Widget* pWidget) = 0; | 79 virtual FX_BOOL IsCustomizedLayout(IFWL_Widget* pWidget) = 0; |
| 80 virtual FWL_ERR GetPartRect(CFWL_ThemePart* pThemePart, | 80 virtual FWL_ERR GetPartRect(CFWL_ThemePart* pThemePart, |
| 81 CFX_RectF& rtPart) = 0; | 81 CFX_RectF& rtPart) = 0; |
| 82 virtual FX_BOOL IsInPart(CFWL_ThemePart* pThemePart, | 82 virtual FX_BOOL IsInPart(CFWL_ThemePart* pThemePart, |
| 83 FX_FLOAT fx, | 83 FX_FLOAT fx, |
| 84 FX_FLOAT fy) = 0; | 84 FX_FLOAT fy) = 0; |
| 85 virtual FX_BOOL CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0; | 85 virtual FX_BOOL CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 #endif // XFA_INCLUDE_FWL_CORE_FWL_THEME_H_ | 88 #endif // XFA_INCLUDE_FWL_CORE_FWL_THEME_H_ |
| OLD | NEW |