Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Side by Side Diff: xfa/include/fwl/lightwidget/theme.h

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/include/fwl/lightwidget/pushbutton.h ('k') | xfa/include/fwl/lightwidget/tooltipctrl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/fxcrt/include/fx_coordinates.h"
14 #include "core/fxcrt/include/fx_system.h"
13 #include "core/include/fxge/fx_dib.h" 15 #include "core/include/fxge/fx_dib.h"
14 #include "xfa/include/fwl/core/fwl_theme.h" 16 #include "xfa/fwl/core/ifwl_themeprovider.h"
15 17
16 class CFWL_WidgetTP; 18 class CFWL_WidgetTP;
17 class IFWL_Widget; 19 class IFWL_Widget;
20 class CFWL_ThemePart;
21 class CFWL_ThemeText;
18 22
19 class CFWL_Theme : public IFWL_ThemeProvider { 23 class CFWL_Theme : public IFWL_ThemeProvider {
20 public: 24 public:
21 CFWL_Theme(); 25 CFWL_Theme();
22 ~CFWL_Theme() override; 26 ~CFWL_Theme() override;
23 27
24 // IFWL_ThemeProvider: 28 // IFWL_ThemeProvider:
25 FX_BOOL IsValidWidget(IFWL_Widget* pWidget) override; 29 FX_BOOL IsValidWidget(IFWL_Widget* pWidget) override;
26 FX_DWORD GetThemeID(IFWL_Widget* pWidget) override; 30 FX_DWORD GetThemeID(IFWL_Widget* pWidget) override;
27 FX_DWORD SetThemeID(IFWL_Widget* pWidget, 31 FX_DWORD SetThemeID(IFWL_Widget* pWidget,
(...skipping 18 matching lines...) Expand all
46 const FX_WCHAR* strFont, 50 const FX_WCHAR* strFont,
47 FX_FLOAT fFontSize, 51 FX_FLOAT fFontSize,
48 FX_ARGB rgbFont); 52 FX_ARGB rgbFont);
49 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget); 53 CFWL_WidgetTP* GetTheme(IFWL_Widget* pWidget);
50 54
51 protected: 55 protected:
52 std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray; 56 std::vector<std::unique_ptr<CFWL_WidgetTP>> m_ThemesArray;
53 }; 57 };
54 58
55 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_ 59 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_THEME_H_
OLDNEW
« no previous file with comments | « xfa/include/fwl/lightwidget/pushbutton.h ('k') | xfa/include/fwl/lightwidget/tooltipctrl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698