| 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_THEME_WIDGETTP_H_ | 7 #ifndef XFA_INCLUDE_FWL_THEME_WIDGETTP_H_ |
| 8 #define XFA_INCLUDE_FWL_THEME_WIDGETTP_H_ | 8 #define XFA_INCLUDE_FWL_THEME_WIDGETTP_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/fxcrt/include/fx_coordinates.h" | 13 #include "core/fxcrt/include/fx_coordinates.h" |
| 14 #include "core/fxcrt/include/fx_system.h" | 14 #include "core/fxcrt/include/fx_system.h" |
| 15 #include "xfa/include/fwl/core/fwl_error.h" | 15 #include "xfa/fwl/core/fwl_error.h" |
| 16 #include "xfa/include/fwl/core/fwl_theme.h" | 16 #include "xfa/fxgraphics/include/cfx_graphics.h" |
| 17 #include "xfa/include/fwl/core/fwl_widget.h" | |
| 18 #include "xfa/include/fwl/theme/utils.h" | 17 #include "xfa/include/fwl/theme/utils.h" |
| 19 | 18 |
| 20 class IFWL_Widget; | 19 class IFWL_Widget; |
| 21 class IFDE_TextOut; | 20 class IFDE_TextOut; |
| 22 class IFX_Font; | 21 class IFX_Font; |
| 23 class IFX_FontMgr; | 22 class IFX_FontMgr; |
| 24 class CFWL_ArrowData; | 23 class CFWL_ArrowData; |
| 24 class CFWL_ThemeBackground; |
| 25 class CFWL_ThemePart; |
| 26 class CFWL_ThemeText; |
| 25 | 27 |
| 26 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ | 28 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ |
| 27 class IFX_FontSourceEnum; | 29 class IFX_FontSourceEnum; |
| 28 #endif | 30 #endif |
| 29 | 31 |
| 30 class CFWL_WidgetTP { | 32 class CFWL_WidgetTP { |
| 31 public: | 33 public: |
| 32 virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget); | 34 virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget); |
| 33 virtual FX_DWORD GetThemeID(IFWL_Widget* pWidget); | 35 virtual FX_DWORD GetThemeID(IFWL_Widget* pWidget); |
| 34 virtual FX_DWORD SetThemeID(IFWL_Widget* pWidget, | 36 virtual FX_DWORD SetThemeID(IFWL_Widget* pWidget, |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 | 211 |
| 210 protected: | 212 protected: |
| 211 CFWL_FontManager(); | 213 CFWL_FontManager(); |
| 212 virtual ~CFWL_FontManager(); | 214 virtual ~CFWL_FontManager(); |
| 213 | 215 |
| 214 static CFWL_FontManager* s_FontManager; | 216 static CFWL_FontManager* s_FontManager; |
| 215 std::vector<std::unique_ptr<CFWL_FontData>> m_FontsArray; | 217 std::vector<std::unique_ptr<CFWL_FontData>> m_FontsArray; |
| 216 }; | 218 }; |
| 217 | 219 |
| 218 #endif // XFA_INCLUDE_FWL_THEME_WIDGETTP_H_ | 220 #endif // XFA_INCLUDE_FWL_THEME_WIDGETTP_H_ |
| OLD | NEW |