OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 PDFium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
6 | |
7 #ifndef XFA_FWL_THEME_CFWL_ARROWDATA_H_ | |
8 #define XFA_FWL_THEME_CFWL_ARROWDATA_H_ | |
9 | |
10 #include <memory> | |
11 | |
12 #include "core/fxcrt/include/fx_system.h" | |
13 #include "core/fxge/include/fx_dib.h" | |
14 | |
15 class CFWL_ArrowData { | |
16 public: | |
17 struct CColorData { | |
18 FX_ARGB clrBorder[4]; | |
19 FX_ARGB clrStart[4]; | |
20 FX_ARGB clrEnd[4]; | |
21 FX_ARGB clrSign[4]; | |
22 }; | |
23 | |
24 static CFWL_ArrowData* GetInstance(); | |
25 static FX_BOOL IsInstance(); | |
Lei Zhang
2016/07/20 00:34:46
HasInstance
Wei Li
2016/07/20 17:33:15
Done.
| |
26 static void DestroyInstance(); | |
27 void SetColorData(uint32_t dwID); | |
28 | |
29 std::unique_ptr<CColorData> m_pColorData; | |
30 | |
31 private: | |
32 CFWL_ArrowData(); | |
33 ~CFWL_ArrowData(); | |
34 }; | |
35 | |
36 #endif // XFA_FWL_THEME_CFWL_ARROWDATA_H_ | |
OLD | NEW |