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 _FWL_THEME_H | 7 #ifndef _FWL_THEME_H |
8 #define _FWL_THEME_H | 8 #define _FWL_THEME_H |
9 class IFWL_Widget; | 9 class IFWL_Widget; |
10 class CFWL_ThemePart; | 10 class CFWL_ThemePart; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 FX_DWORD dwCapacity) = 0; | 73 FX_DWORD dwCapacity) = 0; |
74 virtual FX_BOOL IsCustomizedLayout(IFWL_Widget* pWidget) = 0; | 74 virtual FX_BOOL IsCustomizedLayout(IFWL_Widget* pWidget) = 0; |
75 virtual FWL_ERR GetPartRect(CFWL_ThemePart* pThemePart, | 75 virtual FWL_ERR GetPartRect(CFWL_ThemePart* pThemePart, |
76 CFX_RectF& rtPart) = 0; | 76 CFX_RectF& rtPart) = 0; |
77 virtual FX_BOOL IsInPart(CFWL_ThemePart* pThemePart, | 77 virtual FX_BOOL IsInPart(CFWL_ThemePart* pThemePart, |
78 FX_FLOAT fx, | 78 FX_FLOAT fx, |
79 FX_FLOAT fy) = 0; | 79 FX_FLOAT fy) = 0; |
80 virtual FX_BOOL CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0; | 80 virtual FX_BOOL CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0; |
81 }; | 81 }; |
82 #endif | 82 #endif |
OLD | NEW |