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_FWL_LIGHTWIDGET_CFWL_THEME_H_ |
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ | 8 #define XFA_FWL_LIGHTWIDGET_CFWL_THEME_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 "core/include/fxge/fx_dib.h" | 15 #include "core/include/fxge/fx_dib.h" |
16 #include "xfa/fwl/core/ifwl_themeprovider.h" | 16 #include "xfa/fwl/core/ifwl_themeprovider.h" |
17 | 17 |
18 class CFWL_WidgetTP; | 18 class CFWL_WidgetTP; |
(...skipping 30 matching lines...) Expand all Loading... |
49 FWL_ERR SetFont(IFWL_Widget* pWidget, | 49 FWL_ERR SetFont(IFWL_Widget* pWidget, |
50 const FX_WCHAR* strFont, | 50 const FX_WCHAR* strFont, |
51 FX_FLOAT fFontSize, | 51 FX_FLOAT fFontSize, |
52 FX_ARGB rgbFont); | 52 FX_ARGB rgbFont); |
53 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget); | 53 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget); |
54 | 54 |
55 protected: | 55 protected: |
56 std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray; | 56 std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray; |
57 }; | 57 }; |
58 | 58 |
59 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ | 59 #endif // XFA_FWL_LIGHTWIDGET_CFWL_THEME_H_ |
OLD | NEW |