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

Side by Side Diff: xfa/fwl/theme/cfwl_arrowdata.h

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fwl/core/cfwl_themebackground.h ('k') | xfa/fwl/theme/cfwl_checkboxtp.cpp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_FWL_THEME_CFWL_ARROWDATA_H_ 7 #ifndef XFA_FWL_THEME_CFWL_ARROWDATA_H_
8 #define XFA_FWL_THEME_CFWL_ARROWDATA_H_ 8 #define XFA_FWL_THEME_CFWL_ARROWDATA_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "core/fxcrt/fx_system.h" 12 #include "core/fxcrt/fx_system.h"
13 #include "core/fxge/include/fx_dib.h" 13 #include "core/fxge/fx_dib.h"
14 14
15 class CFWL_ArrowData { 15 class CFWL_ArrowData {
16 public: 16 public:
17 struct CColorData { 17 struct CColorData {
18 FX_ARGB clrBorder[4]; 18 FX_ARGB clrBorder[4];
19 FX_ARGB clrStart[4]; 19 FX_ARGB clrStart[4];
20 FX_ARGB clrEnd[4]; 20 FX_ARGB clrEnd[4];
21 FX_ARGB clrSign[4]; 21 FX_ARGB clrSign[4];
22 }; 22 };
23 23
24 static CFWL_ArrowData* GetInstance(); 24 static CFWL_ArrowData* GetInstance();
25 static FX_BOOL HasInstance(); 25 static FX_BOOL HasInstance();
26 static void DestroyInstance(); 26 static void DestroyInstance();
27 void SetColorData(uint32_t dwID); 27 void SetColorData(uint32_t dwID);
28 28
29 std::unique_ptr<CColorData> m_pColorData; 29 std::unique_ptr<CColorData> m_pColorData;
30 30
31 private: 31 private:
32 CFWL_ArrowData(); 32 CFWL_ArrowData();
33 ~CFWL_ArrowData(); 33 ~CFWL_ArrowData();
34 }; 34 };
35 35
36 #endif // XFA_FWL_THEME_CFWL_ARROWDATA_H_ 36 #endif // XFA_FWL_THEME_CFWL_ARROWDATA_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_themebackground.h ('k') | xfa/fwl/theme/cfwl_checkboxtp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698