| 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_LIGHTWIDGET_THEME_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ |
| 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/include/fxge/fx_dib.h" |
| 13 #include "xfa/include/fwl/core/fwl_theme.h" | 14 #include "xfa/include/fwl/core/fwl_theme.h" |
| 14 | 15 |
| 15 class CFWL_WidgetTP; | 16 class CFWL_WidgetTP; |
| 16 class IFWL_Widget; | 17 class IFWL_Widget; |
| 17 | 18 |
| 18 class CFWL_Theme : public IFWL_ThemeProvider { | 19 class CFWL_Theme : public IFWL_ThemeProvider { |
| 19 public: | 20 public: |
| 20 CFWL_Theme(); | 21 CFWL_Theme(); |
| 21 ~CFWL_Theme() override; | 22 ~CFWL_Theme() override; |
| 22 | 23 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 45 const FX_WCHAR* strFont, | 46 const FX_WCHAR* strFont, |
| 46 FX_FLOAT fFontSize, | 47 FX_FLOAT fFontSize, |
| 47 FX_ARGB rgbFont); | 48 FX_ARGB rgbFont); |
| 48 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget); | 49 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget); |
| 49 | 50 |
| 50 protected: | 51 protected: |
| 51 std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray; | 52 std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray; |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ | 55 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ |
| OLD | NEW |