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_THEME_FORMTP_H_ | 7 #ifndef XFA_INCLUDE_FWL_THEME_FORMTP_H_ |
8 #define XFA_INCLUDE_FWL_THEME_FORMTP_H_ | 8 #define XFA_INCLUDE_FWL_THEME_FORMTP_H_ |
9 | 9 |
10 class CFWL_WidgetTP; | 10 #include "xfa/include/fwl/theme/utils.h" |
11 class CFWL_FormTP; | 11 #include "xfa/include/fwl/theme/widgettp.h" |
| 12 |
12 class CFWL_FormTP : public CFWL_WidgetTP { | 13 class CFWL_FormTP : public CFWL_WidgetTP { |
13 public: | 14 public: |
14 CFWL_FormTP(); | 15 CFWL_FormTP(); |
15 virtual ~CFWL_FormTP(); | 16 virtual ~CFWL_FormTP(); |
16 | 17 |
17 virtual FWL_ERR Initialize(); | 18 virtual FWL_ERR Initialize(); |
18 virtual FWL_ERR Finalize(); | 19 virtual FWL_ERR Finalize(); |
19 virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget); | 20 virtual FX_BOOL IsValidWidget(IFWL_Widget* pWidget); |
20 virtual FX_DWORD SetThemeID(IFWL_Widget* pWidget, | 21 virtual FX_DWORD SetThemeID(IFWL_Widget* pWidget, |
21 FX_DWORD dwThemeID, | 22 FX_DWORD dwThemeID, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 FX_ARGB clrBtnEdgeOut[2]; | 102 FX_ARGB clrBtnEdgeOut[2]; |
102 FX_ARGB clrBtnCornerLight[2][3]; | 103 FX_ARGB clrBtnCornerLight[2][3]; |
103 FX_ARGB clrHeadText[2]; | 104 FX_ARGB clrHeadText[2]; |
104 FX_ARGB clrFormBorder[2][5]; | 105 FX_ARGB clrFormBorder[2][5]; |
105 FX_ARGB clrFormBorderLight[2]; | 106 FX_ARGB clrFormBorderLight[2]; |
106 FX_ARGB clrTransWhite; | 107 FX_ARGB clrTransWhite; |
107 } * m_pThemeData; | 108 } * m_pThemeData; |
108 }; | 109 }; |
109 | 110 |
110 #endif // XFA_INCLUDE_FWL_THEME_FORMTP_H_ | 111 #endif // XFA_INCLUDE_FWL_THEME_FORMTP_H_ |
OLD | NEW |