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_FWL_THEME_CFWL_FORMTP_H_ | 7 #ifndef XFA_FWL_THEME_CFWL_FORMTP_H_ |
8 #define XFA_FWL_THEME_CFWL_FORMTP_H_ | 8 #define XFA_FWL_THEME_CFWL_FORMTP_H_ |
9 | 9 |
10 #include "xfa/fwl/theme/cfwl_utils.h" | 10 #include "xfa/fwl/theme/cfwl_utils.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 CFX_Matrix* pMatrix, | 60 CFX_Matrix* pMatrix, |
61 int32_t iActive = 0); | 61 int32_t iActive = 0); |
62 void DrawMinimizeBox(CFX_Graphics* pGraphics, | 62 void DrawMinimizeBox(CFX_Graphics* pGraphics, |
63 const CFX_RectF* pRect, | 63 const CFX_RectF* pRect, |
64 FWLTHEME_STATE eState, | 64 FWLTHEME_STATE eState, |
65 CFX_Matrix* pMatrix, | 65 CFX_Matrix* pMatrix, |
66 int32_t iActive = 0); | 66 int32_t iActive = 0); |
67 void DrawMaximizeBox(CFX_Graphics* pGraphics, | 67 void DrawMaximizeBox(CFX_Graphics* pGraphics, |
68 const CFX_RectF* pRect, | 68 const CFX_RectF* pRect, |
69 FWLTHEME_STATE eState, | 69 FWLTHEME_STATE eState, |
70 FX_BOOL bMax, | 70 bool bMax, |
71 CFX_Matrix* pMatrix, | 71 CFX_Matrix* pMatrix, |
72 int32_t iActive = 0); | 72 int32_t iActive = 0); |
73 void DrawIconImage(CFX_Graphics* pGraphics, | 73 void DrawIconImage(CFX_Graphics* pGraphics, |
74 CFX_DIBitmap* pDIBitmap, | 74 CFX_DIBitmap* pDIBitmap, |
75 const CFX_RectF* pRect, | 75 const CFX_RectF* pRect, |
76 FWLTHEME_STATE eState, | 76 FWLTHEME_STATE eState, |
77 CFX_Matrix* pMatrix, | 77 CFX_Matrix* pMatrix, |
78 int32_t iActive = 0); | 78 int32_t iActive = 0); |
79 void SetThemeData(uint32_t dwID); | 79 void SetThemeData(uint32_t dwID); |
80 void TransModeColor(FX_ARGB clrFore, FX_ARGB& clrBack); | 80 void TransModeColor(FX_ARGB clrFore, FX_ARGB& clrBack); |
(...skipping 22 matching lines...) Expand all Loading... |
103 FX_ARGB clrBtnEdgeOut[2]; | 103 FX_ARGB clrBtnEdgeOut[2]; |
104 FX_ARGB clrBtnCornerLight[2][3]; | 104 FX_ARGB clrBtnCornerLight[2][3]; |
105 FX_ARGB clrHeadText[2]; | 105 FX_ARGB clrHeadText[2]; |
106 FX_ARGB clrFormBorder[2][5]; | 106 FX_ARGB clrFormBorder[2][5]; |
107 FX_ARGB clrFormBorderLight[2]; | 107 FX_ARGB clrFormBorderLight[2]; |
108 FX_ARGB clrTransWhite; | 108 FX_ARGB clrTransWhite; |
109 } * m_pThemeData; | 109 } * m_pThemeData; |
110 }; | 110 }; |
111 | 111 |
112 #endif // XFA_FWL_THEME_CFWL_FORMTP_H_ | 112 #endif // XFA_FWL_THEME_CFWL_FORMTP_H_ |
OLD | NEW |